Hydrodynamics of nuclear collisions with initial conditions from perturbative QCD