(i) Output sum of mem allocations instead of list of allocs. (ii) In the profile data, output MultiLoop partitions with threadId in the name