Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 213 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.045/1.045, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 66.14 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1751, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3881/0.5632, allocations: 33.65 MB / 0.761 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.5788, allocations: 10.02 MB / 0.7708 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004198/0.583, allocations: 192.8 kB / 0.771 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009842/0.5928, allocations: 3.819 MB / 0.7747 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.5988, allocations: 2.146 MB / 0.7768 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.604, allocations: 1.969 MB / 0.7787 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.6155, allocations: 7.968 MB / 0.7865 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.6266, allocations: 5.225 MB / 0.7916 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006873/0.6335, allocations: 3.495 MB / 0.795 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006919/0.6404, allocations: 3.697 MB / 0.7987 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002265/0.6427, allocations: 0.678 MB / 0.7993 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004949/0.6476, allocations: 1.356 MB / 0.8006 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004788/0.6524, allocations: 2.692 MB / 0.8033 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007315/0.6597, allocations: 2.514 MB / 0.8057 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.6784, allocations: 10.47 MB / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.6784, allocations: 0 / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6784, allocations: 0 / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004038/0.6788, allocations: 0 / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01549/0.6943, allocations: 5.469 MB / 0.8213 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6944, allocations: 8.219 kB / 0.8213 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001636/0.696, allocations: 0.7018 MB / 0.822 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.7009, allocations: 0.9911 MB / 0.8229 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008003/0.7089, allocations: 3.138 MB / 0.826 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.7092, allocations: 353.3 kB / 0.8264 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.7106, allocations: 466.5 kB / 0.8268 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.731, allocations: 8.664 MB / 0.8353 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/0.7311, allocations: 23.81 kB / 0.8353 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007693/0.7319, allocations: 209.8 kB / 0.8355 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007592/0.7326, allocations: 369.1 kB / 0.8358 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.7458, allocations: 5.931 MB / 0.8416 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03905/0.7848, allocations: 23.74 MB / 0.8648 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/0.7884, allocations: 1.989 MB / 0.8668 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.7904, allocations: 1.329 MB / 0.8681 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/0.7905, allocations: 21.31 kB / 0.8681 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.7906, allocations: 59.8 kB / 0.8681 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=157): time 3.667e-06/0.7906, allocations: 0 / 0.8681 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of matching and sorting (n=160): time 0.01475/0.8053, allocations: 6.666 MB / 0.8746 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.8054, allocations: 68.72 kB / 0.8747 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.8082, allocations: 1.907 MB / 0.8766 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.8084, allocations: 57.7 kB / 0.8766 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.81, allocations: 2.183 MB / 0.8788 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/0.8106, allocations: 0.586 MB / 0.8793 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006777/0.8113, allocations: 408 kB / 0.8797 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8114, allocations: 301.1 kB / 0.88 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.8132, allocations: 1.062 MB / 0.881 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.8155, allocations: 1.765 MB / 0.8828 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.8197, allocations: 3.041 MB / 0.8857 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.8197, allocations: 12 kB / 0.8857 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006847/0.8265, allocations: 3.903 MB / 0.8896 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.8265, allocations: 20.03 kB / 0.8896 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.8266, allocations: 31.92 kB / 0.8896 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/0.8291, allocations: 0.9314 MB / 0.8905 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.8308, allocations: 427.3 kB / 0.8909 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/0.8539, allocations: 21.38 MB / 0.9118 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.8562, allocations: 127.9 kB / 0.9119 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.8565, allocations: 96 kB / 0.912 GB, free: 9.133 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00296/0.8595, allocations: 1.653 MB / 0.9136 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005411/0.86, allocations: 270.4 kB / 0.9139 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005779/0.8658, allocations: 3.228 MB / 0.917 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.8658, allocations: 16 kB / 0.917 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.8658, allocations: 8 kB / 0.9171 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.8658, allocations: 7.969 kB / 0.9171 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.8808, allocations: 7.163 MB / 0.9241 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.8808, allocations: 4 kB / 0.9241 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/0.8817, allocations: 215.6 kB / 0.9243 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/0.8842, allocations: 0.8987 MB / 0.9251 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.8843, allocations: 32 kB / 0.9252 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/0.9076, allocations: 21.35 MB / 0.946 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.9076, allocations: 4 kB / 0.946 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/0.9135, allocations: 3.365 MB / 0.9493 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.9149, allocations: 473.7 kB / 0.9498 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.9152, allocations: 43.88 kB / 0.9498 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.9163, allocations: 96.06 kB / 0.9499 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/0.9167, allocations: 148.9 kB / 0.95 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.9168, allocations: 47.98 kB / 0.9501 GB, free: 464 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001836/0.9186, allocations: 1.217 MB / 0.9513 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9186, allocations: 0 / 0.9513 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002901/0.9215, allocations: 0.9102 MB / 0.9522 GB, free: 14.31 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006029/0.9276, allocations: 3.963 MB / 0.956 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007167/0.9347, allocations: 4.296 MB / 0.9602 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.9348, allocations: 0 / 0.9602 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004807/0.9396, allocations: 2.906 MB / 0.9631 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006227/0.9458, allocations: 0.8282 MB / 0.9639 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04441/0.9902, allocations: 25.24 MB / 0.9885 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003788/0.994, allocations: 2.669 MB / 0.9911 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001811/0.9958, allocations: 0.5293 MB / 0.9917 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/0.9979, allocations: 1.651 MB / 0.9933 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of SimCode: time 9.51e-07/0.9979, allocations: 0 / 0.9933 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.235/1.233, allocations: 74.99 MB / 1.067 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.89, allocations: 64 / 1.067 GB, free: 8.77 MB / 0.8419 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.235949934925884] Failed to read output from testmodel.py, exit status != 0: 16.04918874707073 16.38659297 15.705305313 Calling exit ...