Rupp, Lomong advance to 5000m finals