  We combine a semi-analytic model of galaxy formation, tracking atomic and
molecular phases of cold gas, with a three-dimensional radiative-transfer and
line tracing code to study the sub-mm emission from atomic and molecular
species (CO, HCN, [CI], [CII], [OI]) in galaxies. We compare the physics that
drives the formation of stars at the epoch of peak star formation (SF) in the
Universe (z = 2.0) with that in local galaxies. We find that normal
star-forming galaxies at high redshift have much higher CO-excitation peaks
than their local counterparts and that CO cooling takes place at higher
excitation levels. CO line ratios increase with redshift as a function of
galaxy star-formation rate, but are well correlated with H2 surface density
independent of redshift. We find an increase in the [OI]/[CII] line ratio in
typical star-forming galaxies at z = 1.2 and z = 2.0 with respect to
counterparts at z = 0. Our model results suggest that typical star-forming
galaxies at high redshift consist of much denser and warmer star-forming clouds
than their local counterparts. Galaxies belonging to the tail of the SF
activity peak at z = 1.2 are already less dense and cooler than counterparts
during the actual peak of SF activity (z = 2.0). We use our results to discuss
how future ALMA surveys can best confront our predictions and constrain models
of galaxy formation.
