What exactly is throwing the segmentation fault? I suppose it's not the Python script.
Any hints in the trace directory?
From what I have seen so far, a segmentation fault usually is caused by a kernel bug. A switch to a higher HANA revision might help.
Otherwise open a support call, in order to point HANA kernel developers to it.
regards