A second half goal from Dani Olmo and an injury time strike from Ferran Torres sealed the points for Barcelona.