There was a minor error with SWMM, made an exeption on errors raised with duplicate name id.