First-principles molecular dynamics simulation of liquid