Lewis Hamilton struggled in the rain around Interlagos, qualifying only 16th for the Sao Paulo Grand Prix.