I fixed the issue. The issue was that we were trying to change an object of the master before creating an instance which is not possible in the abstractModel. The quick way to fix it was to create a temporary python list and initialize the master object with that list and change the python list in each iteration. In summary, changing from:
Master.intPartList = Set()
for i in range(max_iters):
Master.intPartList.add(i)
instance = Master.create_instance()
to:
listTemp = []
Master.intPartList = Set(initialize=listTemp)
for i in range(max_iters):
listTemp.append(i)
instance = Master.create_instance()