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.001105/0.001105, allocations: 108.8 kB / 16.51 MB, free: 6.707 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.001102/0.001102, allocations: 186.5 kB / 17.42 MB, free: 6.074 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.465/1.465, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3185/0.3185, allocations: 48.83 MB / 319.5 MB, free: 11.34 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.001561/0.001561, allocations: 69.47 kB / 389.4 MB, free: 49.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1327, allocations: 59.17 MB / 448.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02977/0.1626, allocations: 28.53 MB / 477.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02238/0.185, allocations: 17.85 MB / 494.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/0.1856, allocations: 7.938 kB / 494.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.1863, allocations: 99.41 kB / 495 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.1866, allocations: 143.1 kB / 495.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01596/0.2026, allocations: 5.345 MB / 0.4888 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007728/0.2034, allocations: 0.5452 MB / 0.4893 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.2037, allocations: 140.7 kB / 0.4894 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.2078, allocations: 1.807 MB / 0.4912 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.2215, allocations: 6.256 MB / 0.4973 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.2217, allocations: 12 kB / 0.4973 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.2364, allocations: 8.864 MB / 0.506 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.2365, allocations: 39.78 kB / 0.506 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.2367, allocations: 135.3 kB / 0.5061 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.2482, allocations: 5.103 MB / 0.5111 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2482, allocations: 4 kB / 0.5111 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2483, allocations: 8 kB / 0.5111 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2483, allocations: 0 / 0.5111 GB, free: 15.1 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.00346/0.2517, allocations: 1.127 MB / 0.5122 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2518, allocations: 8.031 kB / 0.5122 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.2521, allocations: 56.53 kB / 0.5123 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.2524, allocations: 264.7 kB / 0.5126 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2524, allocations: 12.94 kB / 0.5126 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.2525, allocations: 31.94 kB / 0.5126 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.2531, allocations: 330.2 kB / 0.5129 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2531, allocations: 4 kB / 0.5129 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.2532, allocations: 15.94 kB / 0.5129 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2532, allocations: 4 kB / 0.5129 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.2537, allocations: 209.5 kB / 0.5131 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2554, allocations: 1.717 MB / 0.5148 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.2558, allocations: 110.5 kB / 0.5149 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.256, allocations: 52.97 kB / 0.515 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3113/0.5673, allocations: 63.96 MB / 0.5774 GB, free: 41.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5674, allocations: 34.56 kB / 0.5775 GB, free: 41.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.5674, allocations: 0 / 0.5775 GB, free: 41.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001151/0.5685, allocations: 252.4 kB / 0.5777 GB, free: 41.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.5686, allocations: 55.41 kB / 0.5778 GB, free: 41.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.569, allocations: 283.8 kB / 0.578 GB, free: 41.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.569, allocations: 29.7 kB / 0.5781 GB, free: 41.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5691, allocations: 178.8 kB / 0.5782 GB, free: 41.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.5692, allocations: 33.64 kB / 0.5783 GB, free: 41.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.5693, allocations: 45.7 kB / 0.5783 GB, free: 41.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5694, allocations: 337.8 kB / 0.5786 GB, free: 40.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.5695, allocations: 48.83 kB / 0.5787 GB, free: 40.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.5697, allocations: 136.8 kB / 0.5788 GB, free: 40.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.57, allocations: 185.2 kB / 0.579 GB, free: 40.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5701, allocations: 0 / 0.579 GB, free: 40.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004385/0.5705, allocations: 210 kB / 0.5792 GB, free: 40.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5705, allocations: 8.375 kB / 0.5792 GB, free: 40.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5706, allocations: 4 kB / 0.5792 GB, free: 40.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.5706, allocations: 4 kB / 0.5792 GB, free: 40.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.5708, allocations: 58.44 kB / 0.5793 GB, free: 40 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5708, allocations: 5.125 kB / 0.5793 GB, free: 40 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.5711, allocations: 33.31 kB / 0.5793 GB, free: 39.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.5711, allocations: 8 kB / 0.5793 GB, free: 39.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001944/0.5713, allocations: 145 kB / 0.5794 GB, free: 39.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001684/0.5715, allocations: 143.5 kB / 0.5796 GB, free: 39.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003297/0.5718, allocations: 193.6 kB / 0.5798 GB, free: 39.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.5718, allocations: 0 / 0.5798 GB, free: 39.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004211/0.5722, allocations: 218.2 kB / 0.58 GB, free: 39.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.5723, allocations: 8 kB / 0.58 GB, free: 39.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5723, allocations: 4.438 kB / 0.58 GB, free: 39.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-06/0.5723, allocations: 11.98 kB / 0.58 GB, free: 39.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.5725, allocations: 43.45 kB / 0.58 GB, free: 39.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5725, allocations: 15.48 kB / 0.58 GB, free: 39.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.5727, allocations: 16 kB / 0.5801 GB, free: 39.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5727, allocations: 11.17 kB / 0.5801 GB, free: 39.11 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 0.0001153/0.5729, allocations: 196.2 kB / 0.5803 GB, free: 38.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.5729, allocations: 29.88 kB / 0.5803 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.5734, allocations: 290 kB / 0.5806 GB, free: 38.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.5735, allocations: 7.938 kB / 0.5806 GB, free: 38.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5735, allocations: 1.625 kB / 0.5806 GB, free: 38.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5735, allocations: 0 / 0.5806 GB, free: 38.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.5739, allocations: 344.4 kB / 0.5809 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5739, allocations: 0 / 0.5809 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.574, allocations: 21.2 kB / 0.5809 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5741, allocations: 7.984 kB / 0.5809 GB, free: 38.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.5741, allocations: 0 / 0.5809 GB, free: 38.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.5741, allocations: 7.781 kB / 0.5809 GB, free: 38.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5741, allocations: 0 / 0.5809 GB, free: 38.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.5745, allocations: 278.8 kB / 0.5812 GB, free: 37.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.5746, allocations: 104.8 kB / 0.5813 GB, free: 37.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.5747, allocations: 15.75 kB / 0.5813 GB, free: 37.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.5749, allocations: 33.22 kB / 0.5813 GB, free: 37.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.5749, allocations: 4 kB / 0.5813 GB, free: 37.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.5749, allocations: 4 kB / 0.5814 GB, free: 37.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.5752, allocations: 307.1 kB / 0.5816 GB, free: 37.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5752, allocations: 4 kB / 0.5816 GB, free: 37.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003843/0.5791, allocations: 1.304 MB / 0.5829 GB, free: 36.22 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.007607/0.5867, allocations: 1.404 MB / 0.5843 GB, free: 34.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006348/0.5873, allocations: 195.8 kB / 0.5845 GB, free: 34.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5874, allocations: 0 / 0.5845 GB, free: 34.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.5875, allocations: 46.44 kB / 0.5845 GB, free: 34.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.5885, allocations: 132.6 kB / 0.5847 GB, free: 34.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.5895, allocations: 0.6539 MB / 0.5853 GB, free: 33.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.5897, allocations: 0.7778 MB / 0.586 GB, free: 33.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.59, allocations: 120.5 kB / 0.5862 GB, free: 33.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.59, allocations: 23.44 kB / 0.5862 GB, free: 33.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5901, allocations: 3.094 kB / 0.5862 GB, free: 33.02 MB / 414.1 MB Notification: Performance of Templates: time 0.06893/0.659, allocations: 47.79 MB / 0.6329 GB, free: 1.266 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)