Spectral singularities, contractive semigroups, functional model