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.001696/0.001696, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001448/0.001448, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.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.1554/0.1554, allocations: 26.81 MB / 340.7 MB, free: 8.172 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.002117/0.002117, allocations: 71.89 kB / 477.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3849, allocations: 60.48 MB / 0.5252 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.034/0.4189, allocations: 28.16 MB / 0.5527 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02342/0.4423, allocations: 16.47 MB / 0.5688 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.4428, allocations: 11.72 kB / 0.5688 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.4433, allocations: 109.7 kB / 0.5689 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.4437, allocations: 149.1 kB / 0.569 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02236/0.466, allocations: 6.81 MB / 0.5757 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008367/0.4669, allocations: 442.4 kB / 0.5761 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.4672, allocations: 124.9 kB / 0.5762 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.4712, allocations: 1.842 MB / 0.578 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.4848, allocations: 6.193 MB / 0.5841 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.4849, allocations: 20 kB / 0.5841 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/0.5034, allocations: 8.962 MB / 0.5928 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.5035, allocations: 51.78 kB / 0.5929 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.5037, allocations: 139.3 kB / 0.593 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.516, allocations: 5.102 MB / 0.598 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.516, allocations: 0 / 0.598 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.516, allocations: 0 / 0.598 GB, free: 10.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.516, allocations: 0 / 0.598 GB, free: 10.21 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.003207/0.5192, allocations: 1.097 MB / 0.5991 GB, free: 9.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5193, allocations: 15.97 kB / 0.5991 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.5195, allocations: 60.72 kB / 0.5992 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.5199, allocations: 214.9 kB / 0.5994 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.5199, allocations: 12.88 kB / 0.5994 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.52, allocations: 27.94 kB / 0.5994 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.5207, allocations: 333.4 kB / 0.5997 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5207, allocations: 0 / 0.5997 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.5207, allocations: 15.94 kB / 0.5997 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.5208, allocations: 4 kB / 0.5997 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.5213, allocations: 209.5 kB / 0.5999 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.5233, allocations: 1.65 MB / 0.6015 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.5237, allocations: 118.4 kB / 0.6017 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.5238, allocations: 40.84 kB / 0.6017 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1204/0.6442, allocations: 34.97 MB / 0.6358 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.6442, allocations: 30.56 kB / 0.6359 GB, free: 3.148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.6442, allocations: 0 / 0.6359 GB, free: 3.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.001041/0.6453, allocations: 261.5 kB / 0.6361 GB, free: 2.887 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6453, allocations: 55.34 kB / 0.6362 GB, free: 2.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.6457, allocations: 284.5 kB / 0.6365 GB, free: 2.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.6457, allocations: 25.7 kB / 0.6365 GB, free: 2.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.6458, allocations: 179.7 kB / 0.6366 GB, free: 2.324 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.6459, allocations: 35.69 kB / 0.6367 GB, free: 2.289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.6459, allocations: 41.7 kB / 0.6367 GB, free: 2.242 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6461, allocations: 342.8 kB / 0.637 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.6463, allocations: 48.83 kB / 0.6371 GB, free: 1.848 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.6465, allocations: 127.1 kB / 0.6372 GB, free: 1.684 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.6468, allocations: 178.9 kB / 0.6374 GB, free: 1.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6468, allocations: 4 kB / 0.6374 GB, free: 1.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004614/0.6473, allocations: 217.2 kB / 0.6376 GB, free: 1.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6473, allocations: 10.66 kB / 0.6376 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6473, allocations: 4.375 kB / 0.6376 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.6473, allocations: 4.375 kB / 0.6376 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.6476, allocations: 51.91 kB / 0.6377 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.6476, allocations: 7.938 kB / 0.6377 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6478, allocations: 35.7 kB / 0.6377 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.6478, allocations: 12 kB / 0.6377 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002213/0.648, allocations: 148 kB / 0.6379 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002117/0.6482, allocations: 139.8 kB / 0.638 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003435/0.6486, allocations: 196.7 kB / 0.6382 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/0.6486, allocations: 4.078 kB / 0.6382 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004362/0.649, allocations: 217.2 kB / 0.6384 GB, free: 344 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.649, allocations: 8 kB / 0.6384 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.649, allocations: 4 kB / 0.6384 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.649, allocations: 7.938 kB / 0.6384 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.6492, allocations: 48.41 kB / 0.6385 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6492, allocations: 11.94 kB / 0.6385 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.6493, allocations: 19.88 kB / 0.6385 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.6494, allocations: 12 kB / 0.6385 GB, free: 232 kB / 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.0001531/0.6495, allocations: 192.1 kB / 0.6387 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.6496, allocations: 23.86 kB / 0.6387 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006259/0.6502, allocations: 299 kB / 0.639 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6502, allocations: 0 / 0.639 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6502, allocations: 3.984 kB / 0.639 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6502, allocations: 4 kB / 0.639 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.6506, allocations: 312.3 kB / 0.6393 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6506, allocations: 3.984 kB / 0.6393 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.6508, allocations: 27.97 kB / 0.6393 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6508, allocations: 4 kB / 0.6393 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.6508, allocations: 0 / 0.6393 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6508, allocations: 0 / 0.6393 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6508, allocations: 4 kB / 0.6393 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.6513, allocations: 275.3 kB / 0.6396 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.6513, allocations: 31.81 kB / 0.6396 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.6514, allocations: 15.84 kB / 0.6396 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.6516, allocations: 31.98 kB / 0.6397 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.6516, allocations: 4 kB / 0.6397 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.6516, allocations: 3.984 kB / 0.6397 GB, free: 14.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003546/0.652, allocations: 311.1 kB / 0.64 GB, free: 14.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.652, allocations: 0 / 0.64 GB, free: 14.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00383/0.6558, allocations: 1.321 MB / 0.6413 GB, free: 13.31 MB / 494.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.006391/0.6622, allocations: 1.429 MB / 0.6427 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000773/0.663, allocations: 180.2 kB / 0.6428 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.663, allocations: 0 / 0.6428 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.6631, allocations: 43.91 kB / 0.6429 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.664, allocations: 131 kB / 0.643 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6651, allocations: 0.5814 MB / 0.6436 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.6655, allocations: 0.7678 MB / 0.6443 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.6658, allocations: 128.3 kB / 0.6444 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.6659, allocations: 27.42 kB / 0.6445 GB, free: 9.965 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6659, allocations: 0 / 0.6445 GB, free: 9.965 MB / 494.1 MB Notification: Performance of Templates: time 0.06939/0.7353, allocations: 48.13 MB / 0.6915 GB, free: 9.816 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.454114271327853] Failed to read output from testmodel.py, exit status != 0: 0.7446638662368059 0.770868264 0.24958773699999995 Calling exit ...