I checked your problem.
It seems that some of the cells in your file are tetrahedrons, if it is not all.
I tested this:
idList = vtk.vtkIdList()
you can see that the number of ids in the cell is 3.
In scalismo, a tetrahedral cell must have exactly four ids. and a triangular cell 3.
You must check the exact format generated by your software.