Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.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.001483/0.001483, allocations: 77.28 kB / 20.52 MB, free: 1.367 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.001586/0.001586, allocations: 165.4 kB / 23.78 MB, free: 4.539 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.423/1.423, allocations: 177.2 MB / 204.1 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1383/0.1383, allocations: 19.71 MB / 280.3 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") [Timeout 660] "Notification: ThermoPower 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.002349/0.002349, allocations: 67.91 kB / 416.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2718, allocations: 60.45 MB / 477.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03218/0.304, allocations: 25.4 MB / 0.4909 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02066/0.3247, allocations: 14.4 MB / 0.505 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.325, allocations: 7.938 kB / 0.505 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.3255, allocations: 111.2 kB / 0.5051 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.3259, allocations: 139 kB / 0.5052 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01947/0.3454, allocations: 6.753 MB / 0.5118 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007914/0.3462, allocations: 450.3 kB / 0.5123 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.3465, allocations: 124.9 kB / 0.5124 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005464/0.352, allocations: 1.917 MB / 0.5142 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01716/0.3692, allocations: 6.209 MB / 0.5203 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3693, allocations: 20 kB / 0.5203 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.3864, allocations: 8.564 MB / 0.5287 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3866, allocations: 47.78 kB / 0.5287 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.3868, allocations: 123.5 kB / 0.5289 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.3983, allocations: 5.102 MB / 0.5338 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3983, allocations: 0 / 0.5338 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3983, allocations: 0 / 0.5338 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.3983, allocations: 0 / 0.5338 GB, free: 12.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003443/0.4017, allocations: 1.09 MB / 0.5349 GB, free: 11.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4018, allocations: 8.031 kB / 0.5349 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.402, allocations: 52.73 kB / 0.535 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4025, allocations: 211 kB / 0.5352 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.4025, allocations: 20.86 kB / 0.5352 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.4025, allocations: 23.94 kB / 0.5352 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.4033, allocations: 363.2 kB / 0.5356 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4033, allocations: 0 / 0.5356 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.4034, allocations: 16 kB / 0.5356 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4034, allocations: 4 kB / 0.5356 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.404, allocations: 217.7 kB / 0.5358 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.4059, allocations: 1.413 MB / 0.5372 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.4063, allocations: 114.5 kB / 0.5373 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.4065, allocations: 44.83 kB / 0.5373 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1246/0.5311, allocations: 35.1 MB / 0.5716 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5311, allocations: 38.5 kB / 0.5716 GB, free: 5.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.5311, allocations: 0 / 0.5716 GB, free: 5.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.001017/0.5322, allocations: 237.4 kB / 0.5719 GB, free: 5.531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5322, allocations: 55.41 kB / 0.5719 GB, free: 5.465 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.5325, allocations: 217.7 kB / 0.5721 GB, free: 5.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.5325, allocations: 29.7 kB / 0.5721 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.5327, allocations: 204.4 kB / 0.5723 GB, free: 5.004 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.5327, allocations: 31.73 kB / 0.5724 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.5328, allocations: 41.66 kB / 0.5724 GB, free: 4.926 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5329, allocations: 330.8 kB / 0.5727 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.5331, allocations: 52.77 kB / 0.5728 GB, free: 4.539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.5333, allocations: 135.1 kB / 0.5729 GB, free: 4.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.5337, allocations: 187 kB / 0.5731 GB, free: 4.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5337, allocations: 0 / 0.5731 GB, free: 4.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004862/0.5342, allocations: 217.2 kB / 0.5733 GB, free: 3.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5342, allocations: 4 kB / 0.5733 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5342, allocations: 4 kB / 0.5733 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5342, allocations: 4.375 kB / 0.5733 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.5345, allocations: 55.91 kB / 0.5733 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.5345, allocations: 4 kB / 0.5734 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.5346, allocations: 19.89 kB / 0.5734 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.5347, allocations: 11.98 kB / 0.5734 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002291/0.5349, allocations: 140.1 kB / 0.5735 GB, free: 3.684 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002106/0.5351, allocations: 135.5 kB / 0.5736 GB, free: 3.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003569/0.5355, allocations: 204.5 kB / 0.5738 GB, free: 3.262 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.5355, allocations: 0 / 0.5738 GB, free: 3.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004576/0.5359, allocations: 217.5 kB / 0.574 GB, free: 3.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5359, allocations: 4 kB / 0.5741 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.5359, allocations: 4 kB / 0.5741 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.5359, allocations: 8 kB / 0.5741 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.5361, allocations: 47.97 kB / 0.5741 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5361, allocations: 4 kB / 0.5741 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.5363, allocations: 23.89 kB / 0.5741 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5363, allocations: 11.98 kB / 0.5741 GB, free: 2.941 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (steamTurbineStodola.steamState_in.phase,steamTurbineStodola.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.5364, allocations: 192.1 kB / 0.5743 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.5365, allocations: 19.97 kB / 0.5744 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.5371, allocations: 306.7 kB / 0.5746 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5371, allocations: 0 / 0.5746 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5371, allocations: 0 / 0.5746 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5371, allocations: 0 / 0.5746 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.5375, allocations: 257 kB / 0.5749 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5375, allocations: 0 / 0.5749 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.5376, allocations: 27.98 kB / 0.5749 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5377, allocations: 0 / 0.5749 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5377, allocations: 3.984 kB / 0.5749 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5377, allocations: 0 / 0.5749 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5377, allocations: 4.031 kB / 0.5749 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.5383, allocations: 279.1 kB / 0.5752 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.5383, allocations: 15.89 kB / 0.5752 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.5383, allocations: 15.83 kB / 0.5752 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.5385, allocations: 31.98 kB / 0.5752 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.5386, allocations: 7.984 kB / 0.5753 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.5386, allocations: 0 / 0.5753 GB, free: 1.746 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.5389, allocations: 259 kB / 0.5755 GB, free: 1.492 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5389, allocations: 0 / 0.5755 GB, free: 1.492 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00342/0.5423, allocations: 1.337 MB / 0.5768 GB, free: 156 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00534/0.5476, allocations: 1.422 MB / 0.5782 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.5483, allocations: 196.1 kB / 0.5784 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5483, allocations: 0 / 0.5784 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.5484, allocations: 39.92 kB / 0.5784 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.549, allocations: 78.7 kB / 0.5785 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.5501, allocations: 0.5736 MB / 0.5791 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.5502, allocations: 160.8 kB / 0.5792 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.5505, allocations: 117.4 kB / 0.5793 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.5505, allocations: 28.42 kB / 0.5794 GB, free: 13.49 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5505, allocations: 0 / 0.5794 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Templates: time 0.06784/0.6183, allocations: 46.94 MB / 0.6252 GB, free: 14.54 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.498215109109879] Failed to read output from testmodel.py, exit status != 0: 0.6277468558400869 0.6566528060000001 0.252648408 Calling exit ...