Non-Markovian dynamics of multipartite open quantum systems with internal interactions