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.00143/0.00143, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001931/0.001931, allocations: 204 kB / 20.09 MB, free: 2.977 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 0.9883/0.9883, allocations: 150 MB / 459.5 MB, free: 5.324 MB / 350.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.00206/0.00206, allocations: 76.86 kB / 0.6361 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.178, allocations: 89.13 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04326/0.2213, allocations: 35.7 MB / 0.758 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.239, allocations: 10.09 MB / 0.7679 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.2418, allocations: 190.6 kB / 0.7681 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.2522, allocations: 3.862 MB / 0.7718 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006135/0.2583, allocations: 2.146 MB / 0.7739 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005175/0.2635, allocations: 1.968 MB / 0.7759 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.2739, allocations: 7.971 MB / 0.7837 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.2845, allocations: 7.125 MB / 0.7906 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006692/0.2912, allocations: 3.466 MB / 0.794 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/0.2983, allocations: 3.937 MB / 0.7978 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.2999, allocations: 0.6797 MB / 0.7985 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.3033, allocations: 1.471 MB / 0.7999 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003407/0.3068, allocations: 2.685 MB / 0.8026 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00503/0.3118, allocations: 3.101 MB / 0.8056 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.3254, allocations: 10.42 MB / 0.8158 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3254, allocations: 0 / 0.8158 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3254, allocations: 0 / 0.8158 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002766/0.3257, allocations: 0 / 0.8158 GB, free: 4.875 MB / 0.6231 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.01327/0.3389, allocations: 5.54 MB / 0.8212 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.339, allocations: 12.03 kB / 0.8212 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00147/0.3404, allocations: 0.6984 MB / 0.8219 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.3456, allocations: 0.9889 MB / 0.8228 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0064/0.352, allocations: 3.196 MB / 0.826 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.3524, allocations: 353.9 kB / 0.8263 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.3537, allocations: 472.3 kB / 0.8267 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.3712, allocations: 7.91 MB / 0.8345 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.3714, allocations: 23.77 kB / 0.8345 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.3726, allocations: 208 kB / 0.8347 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006311/0.3732, allocations: 373.1 kB / 0.835 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.3853, allocations: 5.933 MB / 0.8408 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3852/0.7705, allocations: 36 MB / 0.876 GB, free: 111.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/0.7738, allocations: 2.001 MB / 0.8779 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.7755, allocations: 1.328 MB / 0.8792 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.7756, allocations: 16.47 kB / 0.8793 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.7756, allocations: 56.62 kB / 0.8793 GB, free: 111.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=157): time 3.396e-06/0.7756, allocations: 0 / 0.8793 GB, free: 111.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=160): time 0.01466/0.7903, allocations: 7.582 MB / 0.8867 GB, free: 108.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.7903, allocations: 67.09 kB / 0.8868 GB, free: 108.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.7927, allocations: 1.869 MB / 0.8886 GB, free: 107.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.7929, allocations: 53.17 kB / 0.8887 GB, free: 107.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009751/0.7939, allocations: 2.187 MB / 0.8908 GB, free: 106.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.7943, allocations: 0.5871 MB / 0.8914 GB, free: 105.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.7948, allocations: 402.8 kB / 0.8917 GB, free: 105.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.224e-05/0.7948, allocations: 305.1 kB / 0.892 GB, free: 105.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.7962, allocations: 1.062 MB / 0.8931 GB, free: 105 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.7978, allocations: 1.767 MB / 0.8948 GB, free: 103.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.8006, allocations: 3.049 MB / 0.8978 GB, free: 101.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.8006, allocations: 7.875 kB / 0.8978 GB, free: 101.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005535/0.8061, allocations: 3.904 MB / 0.9016 GB, free: 100.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.8062, allocations: 19.47 kB / 0.9016 GB, free: 100.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.8062, allocations: 20.41 kB / 0.9016 GB, free: 100.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.8086, allocations: 0.9269 MB / 0.9025 GB, free: 99.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.8101, allocations: 427.3 kB / 0.9029 GB, free: 99.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.8252, allocations: 22.78 MB / 0.9252 GB, free: 78.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.8275, allocations: 124.1 kB / 0.9253 GB, free: 78.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.8276, allocations: 91.38 kB / 0.9254 GB, free: 78.84 MB / 0.67 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.002219/0.8299, allocations: 1.649 MB / 0.927 GB, free: 77.83 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006256/0.8305, allocations: 266.2 kB / 0.9273 GB, free: 77.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.8351, allocations: 3.236 MB / 0.9304 GB, free: 75.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.8352, allocations: 13.28 kB / 0.9304 GB, free: 75.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.8352, allocations: 12.03 kB / 0.9305 GB, free: 75.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.8352, allocations: 7.969 kB / 0.9305 GB, free: 75.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.846, allocations: 7.519 MB / 0.9378 GB, free: 68.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.846, allocations: 12.12 kB / 0.9378 GB, free: 68.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.8468, allocations: 207.7 kB / 0.938 GB, free: 67.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.8489, allocations: 0.9042 MB / 0.9389 GB, free: 66.96 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.8491, allocations: 32 kB / 0.9389 GB, free: 66.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.8639, allocations: 22.75 MB / 0.9611 GB, free: 42.54 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8639, allocations: 10.34 kB / 0.9611 GB, free: 42.53 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/0.8687, allocations: 3.361 MB / 0.9644 GB, free: 39.05 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.8698, allocations: 0.5417 MB / 0.965 GB, free: 38.49 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005572/0.8704, allocations: 39.8 kB / 0.965 GB, free: 38.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8718, allocations: 91.89 kB / 0.9651 GB, free: 38.37 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/0.8722, allocations: 141 kB / 0.9652 GB, free: 38.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.8723, allocations: 44 kB / 0.9653 GB, free: 38.19 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001654/0.874, allocations: 1.232 MB / 0.9665 GB, free: 36.94 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.874, allocations: 0 / 0.9665 GB, free: 36.94 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003206/0.8772, allocations: 0.9023 MB / 0.9673 GB, free: 36.04 MB / 0.67 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.004993/0.8822, allocations: 3.968 MB / 0.9712 GB, free: 31.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005383/0.8875, allocations: 4.299 MB / 0.9754 GB, free: 27.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.8876, allocations: 0 / 0.9754 GB, free: 27.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/0.8911, allocations: 2.907 MB / 0.9783 GB, free: 24.46 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/0.8952, allocations: 0.8245 MB / 0.9791 GB, free: 23.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/0.9331, allocations: 25.14 MB / 1.004 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005152/0.9383, allocations: 3.205 MB / 1.007 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001851/0.9401, allocations: 0.5293 MB / 1.007 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/0.9425, allocations: 1.651 MB / 1.009 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/0.9425, allocations: 0 / 1.009 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.178/1.121, allocations: 70.76 MB / 1.078 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.32, allocations: 14.45 kB / 1.078 GB, free: 2.031 MB / 0.7481 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.420496847946197] Failed to read output from testmodel.py, exit status != 0: 16.44861965905875 16.472681578 16.142436397 Calling exit ...