Origami simulation with Kangaroo

I am trying to simulate an origami folding. I got this warning - ‘1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index’. Kindly help.

ori1.3dm (4.0 MB)
ori1.gh (42.7 KB)

That mesh needed some cleanup, but I don’t think that pattern is actually possible to fold.

ori2.gh (42.9 KB)