Characterization of non-nilpotent topological interval semigroups