Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2934/0.2934, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 75.88 kB / 451.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 59.15 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03688/0.1772, allocations: 27.65 MB / 0.5254 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3422/0.5195, allocations: 16.35 MB / 0.5414 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.5199, allocations: 7.5 kB / 0.5414 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.5205, allocations: 115.9 kB / 0.5415 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.521, allocations: 146.3 kB / 0.5416 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02708/0.5481, allocations: 6.765 MB / 0.5482 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009025/0.549, allocations: 444.8 kB / 0.5486 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.5493, allocations: 146.1 kB / 0.5488 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.5533, allocations: 1.841 MB / 0.5506 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01645/0.5697, allocations: 6.25 MB / 0.5567 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.5699, allocations: 20.72 kB / 0.5567 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02796/0.5979, allocations: 8.929 MB / 0.5654 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.5981, allocations: 42.72 kB / 0.5655 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.5986, allocations: 139.7 kB / 0.5656 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02409/0.6227, allocations: 5.08 MB / 0.5706 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.6228, allocations: 4 kB / 0.5706 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.6228, allocations: 3.938 kB / 0.5706 GB, free: 11.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.6228, allocations: 0 / 0.5706 GB, free: 11.63 MB / 430.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.005984/0.6288, allocations: 1.128 MB / 0.5717 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6289, allocations: 12.73 kB / 0.5717 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.6291, allocations: 50.62 kB / 0.5717 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.6296, allocations: 272.3 kB / 0.572 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.6297, allocations: 16.47 kB / 0.572 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.6297, allocations: 26.06 kB / 0.572 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/0.6304, allocations: 333 kB / 0.5723 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.6305, allocations: 5.781 kB / 0.5723 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.6305, allocations: 12 kB / 0.5724 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.6305, allocations: 11.25 kB / 0.5724 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.6311, allocations: 202.6 kB / 0.5726 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.6331, allocations: 1.722 MB / 0.5742 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.6335, allocations: 110.4 kB / 0.5744 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.6336, allocations: 48.33 kB / 0.5744 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.127/0.7606, allocations: 64.25 MB / 0.6371 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.7607, allocations: 34.69 kB / 0.6372 GB, free: 3.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.7607, allocations: 0 / 0.6372 GB, free: 3.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001142/0.7619, allocations: 257.1 kB / 0.6374 GB, free: 2.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.7619, allocations: 51.41 kB / 0.6375 GB, free: 2.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.7623, allocations: 296.4 kB / 0.6377 GB, free: 2.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.7623, allocations: 25.7 kB / 0.6378 GB, free: 2.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.7624, allocations: 183.4 kB / 0.6379 GB, free: 2.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.7625, allocations: 31.55 kB / 0.638 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.7626, allocations: 41.66 kB / 0.638 GB, free: 2.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7627, allocations: 338.8 kB / 0.6383 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.7628, allocations: 48.83 kB / 0.6384 GB, free: 1.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.763, allocations: 126.1 kB / 0.6385 GB, free: 1.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.7634, allocations: 190.9 kB / 0.6387 GB, free: 1.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7634, allocations: 0 / 0.6387 GB, free: 1.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004159/0.7638, allocations: 217 kB / 0.6389 GB, free: 1.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7638, allocations: 4 kB / 0.6389 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7638, allocations: 4 kB / 0.6389 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.7639, allocations: 4 kB / 0.6389 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.7641, allocations: 43.97 kB / 0.639 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.7641, allocations: 8.391 kB / 0.639 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.7643, allocations: 47.52 kB / 0.639 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.7644, allocations: 11.98 kB / 0.639 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002069/0.7646, allocations: 140.7 kB / 0.6391 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001932/0.7648, allocations: 136.8 kB / 0.6393 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000331/0.7651, allocations: 202.1 kB / 0.6395 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.7651, allocations: 0 / 0.6395 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004033/0.7656, allocations: 217.2 kB / 0.6397 GB, free: 316 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.7656, allocations: 4 kB / 0.6397 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.7656, allocations: 4 kB / 0.6397 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.7656, allocations: 4 kB / 0.6397 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.7658, allocations: 47.91 kB / 0.6397 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7658, allocations: 4 kB / 0.6397 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.7659, allocations: 20.83 kB / 0.6398 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.766, allocations: 12 kB / 0.6398 GB, free: 220 kB / 494.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.0001324/0.7661, allocations: 204.3 kB / 0.64 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.7662, allocations: 23.77 kB / 0.64 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.7667, allocations: 284 kB / 0.6403 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.7667, allocations: 4 kB / 0.6403 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7668, allocations: 96 / 0.6403 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.7668, allocations: 8.547 kB / 0.6403 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.7672, allocations: 336.6 kB / 0.6406 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7672, allocations: 7.984 kB / 0.6406 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.7673, allocations: 21.3 kB / 0.6406 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7673, allocations: 0 / 0.6406 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.7674, allocations: 4 kB / 0.6406 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7674, allocations: 0 / 0.6406 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7674, allocations: 0 / 0.6406 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.7679, allocations: 279 kB / 0.6409 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.83e-05/0.768, allocations: 112.6 kB / 0.641 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.7681, allocations: 19.78 kB / 0.641 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.7682, allocations: 19.97 kB / 0.641 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.7683, allocations: 4 kB / 0.641 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.7683, allocations: 4.062 kB / 0.641 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003125/0.7686, allocations: 315.1 kB / 0.6413 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7686, allocations: 0 / 0.6413 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006115/0.7748, allocations: 1.304 MB / 0.6426 GB, free: 13.21 MB / 0.4981 GB 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.008147/0.7829, allocations: 1.415 MB / 0.644 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007943/0.7838, allocations: 197.1 kB / 0.6442 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.7838, allocations: 0 / 0.6442 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.7839, allocations: 31.98 kB / 0.6442 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.7848, allocations: 134.6 kB / 0.6443 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.786, allocations: 0.589 MB / 0.6449 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.7864, allocations: 0.7717 MB / 0.6457 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.7864, allocations: 31.42 kB / 0.6457 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.7864, allocations: 0 / 0.6457 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.04627/0.8327, allocations: 25.41 MB / 0.6705 GB, free: 0.6758 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)