Check that timemodel types are correct during load

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>