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.001041/0.001041, allocations: 115.6 kB / 17.69 MB, free: 5.285 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.0009893/0.0009893, allocations: 192 kB / 18.63 MB, free: 4.352 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.313/1.313, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2449/0.2449, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001311/0.001311, allocations: 71.2 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.09041, allocations: 59.16 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02707/0.1175, allocations: 27.65 MB / 478.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01769/0.1353, allocations: 16.36 MB / 494.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.1356, allocations: 4 kB / 494.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.136, allocations: 119.2 kB / 494.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1363, allocations: 146.9 kB / 495 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01533/0.1517, allocations: 6.76 MB / 0.49 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.1523, allocations: 438.5 kB / 0.4904 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.1525, allocations: 144.8 kB / 0.4905 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.1565, allocations: 1.839 MB / 0.4923 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.1696, allocations: 6.253 MB / 0.4984 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.1697, allocations: 16 kB / 0.4984 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/0.1833, allocations: 8.931 MB / 0.5072 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.1834, allocations: 55.77 kB / 0.5072 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1836, allocations: 139.3 kB / 0.5073 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.1906, allocations: 5.072 MB / 0.5123 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1906, allocations: 0 / 0.5123 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1906, allocations: 0 / 0.5123 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1906, allocations: 0 / 0.5123 GB, free: 14.85 MB / 414.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.002118/0.1927, allocations: 1.135 MB / 0.5134 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1928, allocations: 11.89 kB / 0.5134 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.193, allocations: 56.53 kB / 0.5135 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.1933, allocations: 268.7 kB / 0.5137 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1934, allocations: 16.94 kB / 0.5137 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.1934, allocations: 27.92 kB / 0.5138 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.194, allocations: 330.2 kB / 0.5141 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.194, allocations: 3.938 kB / 0.5141 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.1941, allocations: 19.98 kB / 0.5141 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1941, allocations: 4 kB / 0.5141 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.1946, allocations: 209.5 kB / 0.5143 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.1962, allocations: 1.721 MB / 0.516 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.1965, allocations: 110.7 kB / 0.5161 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1967, allocations: 52.77 kB / 0.5161 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2737/0.4704, allocations: 64.24 MB / 0.5789 GB, free: 41.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4704, allocations: 30.56 kB / 0.5789 GB, free: 41.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.4704, allocations: 0 / 0.5789 GB, free: 41.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008818/0.4713, allocations: 254.1 kB / 0.5791 GB, free: 40.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.4714, allocations: 51.41 kB / 0.5792 GB, free: 40.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.4716, allocations: 286.8 kB / 0.5795 GB, free: 40.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4716, allocations: 25.7 kB / 0.5795 GB, free: 40.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.4717, allocations: 185.9 kB / 0.5797 GB, free: 40.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4717, allocations: 32.67 kB / 0.5797 GB, free: 40.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.4718, allocations: 41.7 kB / 0.5797 GB, free: 40.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.4718, allocations: 341.8 kB / 0.5801 GB, free: 39.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.472, allocations: 48.83 kB / 0.5801 GB, free: 39.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4721, allocations: 131.5 kB / 0.5802 GB, free: 39.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.4724, allocations: 186.3 kB / 0.5804 GB, free: 39.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4724, allocations: 0 / 0.5804 GB, free: 39.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003625/0.4728, allocations: 214.2 kB / 0.5806 GB, free: 39.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4728, allocations: 4.375 kB / 0.5806 GB, free: 39.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4728, allocations: 8 kB / 0.5806 GB, free: 39.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4728, allocations: 4 kB / 0.5806 GB, free: 39.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.473, allocations: 51.47 kB / 0.5807 GB, free: 39.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.473, allocations: 7.984 kB / 0.5807 GB, free: 39.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.4732, allocations: 31.97 kB / 0.5807 GB, free: 39.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4732, allocations: 12 kB / 0.5807 GB, free: 39.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001539/0.4734, allocations: 136.1 kB / 0.5809 GB, free: 39.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001228/0.4735, allocations: 139.3 kB / 0.581 GB, free: 38.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002309/0.4738, allocations: 189.6 kB / 0.5812 GB, free: 38.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.4738, allocations: 0 / 0.5812 GB, free: 38.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003409/0.4741, allocations: 223.7 kB / 0.5814 GB, free: 38.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.4741, allocations: 4 kB / 0.5814 GB, free: 38.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.4742, allocations: 4 kB / 0.5814 GB, free: 38.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.4742, allocations: 4.438 kB / 0.5814 GB, free: 38.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4743, allocations: 55.62 kB / 0.5815 GB, free: 38.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4743, allocations: 12.58 kB / 0.5815 GB, free: 38.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.4745, allocations: 11.94 kB / 0.5815 GB, free: 38.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4745, allocations: 22.89 kB / 0.5815 GB, free: 38.36 MB / 414.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 6.43e-05/0.4746, allocations: 188.1 kB / 0.5817 GB, free: 38.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.4746, allocations: 31.28 kB / 0.5817 GB, free: 38.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.4751, allocations: 288 kB / 0.582 GB, free: 37.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4751, allocations: 7.938 kB / 0.582 GB, free: 37.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4751, allocations: 0 / 0.582 GB, free: 37.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4751, allocations: 0 / 0.582 GB, free: 37.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.4754, allocations: 339 kB / 0.5823 GB, free: 37.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4754, allocations: 0 / 0.5823 GB, free: 37.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.4756, allocations: 26.55 kB / 0.5823 GB, free: 37.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4756, allocations: 0 / 0.5823 GB, free: 37.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4756, allocations: 12 kB / 0.5823 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4756, allocations: 3.938 kB / 0.5824 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4756, allocations: 5.109 kB / 0.5824 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.476, allocations: 266.8 kB / 0.5826 GB, free: 37.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.476, allocations: 100.9 kB / 0.5827 GB, free: 37.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.4761, allocations: 15.81 kB / 0.5827 GB, free: 37.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.4763, allocations: 33.44 kB / 0.5828 GB, free: 36.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.4763, allocations: 3.984 kB / 0.5828 GB, free: 36.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4764, allocations: 7.891 kB / 0.5828 GB, free: 36.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.4766, allocations: 311.1 kB / 0.5831 GB, free: 36.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4766, allocations: 0 / 0.5831 GB, free: 36.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002895/0.4795, allocations: 1.3 MB / 0.5843 GB, free: 35.48 MB / 414.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.004249/0.4838, allocations: 1.401 MB / 0.5857 GB, free: 34.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.4842, allocations: 202.7 kB / 0.5859 GB, free: 34.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4842, allocations: 3.938 kB / 0.5859 GB, free: 34.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.4844, allocations: 46.75 kB / 0.5859 GB, free: 34.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.4851, allocations: 124.3 kB / 0.5861 GB, free: 33.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.4858, allocations: 0.5589 MB / 0.5866 GB, free: 33.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.486, allocations: 0.7717 MB / 0.5874 GB, free: 32.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.4862, allocations: 127.6 kB / 0.5875 GB, free: 32.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.4862, allocations: 23.44 kB / 0.5875 GB, free: 32.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4862, allocations: 4 kB / 0.5875 GB, free: 32.42 MB / 414.1 MB Notification: Performance of Templates: time 0.04949/0.5357, allocations: 47.9 MB / 0.6343 GB, free: 0.5547 MB / 430.1 MB 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)