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.001549/0.001549, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001725/0.001725, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.423/1.423, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2844/0.2844, allocations: 48.85 MB / 320.7 MB, free: 11.03 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.001536/0.001536, allocations: 72.77 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, 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.02972/0.1475, allocations: 27.64 MB / 478.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02049/0.168, allocations: 16.37 MB / 494.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.1685, allocations: 0 / 494.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.1692, allocations: 123.1 kB / 494.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.1696, allocations: 146.9 kB / 494.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02306/0.1927, allocations: 6.76 MB / 0.4899 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008649/0.1936, allocations: 438.5 kB / 0.4904 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.1939, allocations: 136.8 kB / 0.4905 GB, free: 5.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.1984, allocations: 1.839 MB / 0.4923 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01428/0.2127, allocations: 6.256 MB / 0.4984 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2128, allocations: 16 kB / 0.4984 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0181/0.2309, allocations: 8.931 MB / 0.5071 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.2311, allocations: 51.77 kB / 0.5072 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.2313, allocations: 135.4 kB / 0.5073 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.2461, allocations: 5.08 MB / 0.5123 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2461, allocations: 0 / 0.5123 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.801e-05/0.2462, allocations: 0 / 0.5123 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2462, allocations: 0 / 0.5123 GB, free: 14.84 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.004209/0.2504, allocations: 1.135 MB / 0.5134 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.2505, allocations: 15.89 kB / 0.5134 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.2507, allocations: 56.47 kB / 0.5135 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.2512, allocations: 268.6 kB / 0.5137 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2513, allocations: 20.94 kB / 0.5137 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.2513, allocations: 23.94 kB / 0.5138 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.252, allocations: 334.2 kB / 0.5141 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.252, allocations: 0 / 0.5141 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.252, allocations: 12 kB / 0.5141 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.2521, allocations: 8 kB / 0.5141 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.2526, allocations: 213.5 kB / 0.5143 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.2545, allocations: 1.717 MB / 0.516 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.2549, allocations: 118.4 kB / 0.5161 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2551, allocations: 44.84 kB / 0.5161 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3886/0.6437, allocations: 64.23 MB / 0.5789 GB, free: 41.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.6438, allocations: 30.56 kB / 0.5789 GB, free: 41.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.605e-06/0.6438, allocations: 0 / 0.5789 GB, free: 41.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000951/0.6448, allocations: 258.1 kB / 0.5791 GB, free: 40.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.6448, allocations: 55.41 kB / 0.5792 GB, free: 40.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.6451, allocations: 284.1 kB / 0.5795 GB, free: 40.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.6451, allocations: 25.7 kB / 0.5795 GB, free: 40.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.6452, allocations: 186.2 kB / 0.5797 GB, free: 40.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.6452, allocations: 32.39 kB / 0.5797 GB, free: 40.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.6453, allocations: 46.73 kB / 0.5797 GB, free: 40.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.6454, allocations: 337.8 kB / 0.5801 GB, free: 39.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6455, allocations: 48.83 kB / 0.5801 GB, free: 39.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.6457, allocations: 130.6 kB / 0.5802 GB, free: 39.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.646, allocations: 183.2 kB / 0.5804 GB, free: 39.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.646, allocations: 0 / 0.5804 GB, free: 39.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003954/0.6464, allocations: 217.5 kB / 0.5806 GB, free: 39.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6464, allocations: 12.22 kB / 0.5806 GB, free: 39.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6464, allocations: 8 kB / 0.5806 GB, free: 39.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6464, allocations: 4 kB / 0.5806 GB, free: 39.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.6466, allocations: 49.69 kB / 0.5807 GB, free: 39.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6467, allocations: 7.375 kB / 0.5807 GB, free: 39.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.6468, allocations: 31.81 kB / 0.5807 GB, free: 39.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.6469, allocations: 12 kB / 0.5807 GB, free: 39.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000162/0.647, allocations: 140.1 kB / 0.5809 GB, free: 39.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001312/0.6472, allocations: 134.1 kB / 0.581 GB, free: 38.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000246/0.6474, allocations: 192.9 kB / 0.5812 GB, free: 38.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.6474, allocations: 4 kB / 0.5812 GB, free: 38.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000344/0.6478, allocations: 215.3 kB / 0.5814 GB, free: 38.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.6478, allocations: 8 kB / 0.5814 GB, free: 38.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.6478, allocations: 4 kB / 0.5814 GB, free: 38.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.6478, allocations: 4.438 kB / 0.5814 GB, free: 38.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.648, allocations: 54.78 kB / 0.5814 GB, free: 38.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.648, allocations: 11.78 kB / 0.5815 GB, free: 38.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.6481, allocations: 23.86 kB / 0.5815 GB, free: 38.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.6481, allocations: 8 kB / 0.5815 GB, free: 38.32 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 8.156e-05/0.6482, allocations: 187 kB / 0.5817 GB, free: 38.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.6483, allocations: 27.62 kB / 0.5817 GB, free: 38.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.6487, allocations: 289.2 kB / 0.582 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.6488, allocations: 8.906 kB / 0.582 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6488, allocations: 3.984 kB / 0.582 GB, free: 37.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6488, allocations: 0 / 0.582 GB, free: 37.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.6491, allocations: 339.9 kB / 0.5823 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6491, allocations: 0 / 0.5823 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.6492, allocations: 32.91 kB / 0.5823 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6492, allocations: 0 / 0.5823 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6493, allocations: 4 kB / 0.5823 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6493, allocations: 3.938 kB / 0.5823 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6493, allocations: 0 / 0.5823 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.6497, allocations: 277.1 kB / 0.5826 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.6498, allocations: 100.8 kB / 0.5827 GB, free: 37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.6498, allocations: 19.81 kB / 0.5827 GB, free: 36.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.65, allocations: 27.91 kB / 0.5828 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.65, allocations: 4 kB / 0.5828 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.6501, allocations: 0 / 0.5828 GB, free: 36.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002667/0.6503, allocations: 311.1 kB / 0.5831 GB, free: 36.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6503, allocations: 0 / 0.5831 GB, free: 36.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003794/0.6541, allocations: 1.304 MB / 0.5843 GB, free: 35.45 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.005717/0.6599, allocations: 1.405 MB / 0.5857 GB, free: 34.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006055/0.6605, allocations: 199.1 kB / 0.5859 GB, free: 34.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6605, allocations: 1.5 kB / 0.5859 GB, free: 34.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.6606, allocations: 42.78 kB / 0.5859 GB, free: 34.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/0.6614, allocations: 128 kB / 0.5861 GB, free: 33.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.6623, allocations: 0.5592 MB / 0.5866 GB, free: 33.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.6625, allocations: 0.7708 MB / 0.5874 GB, free: 32.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.6627, allocations: 129.7 kB / 0.5875 GB, free: 32.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.6628, allocations: 27.44 kB / 0.5875 GB, free: 32.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.6628, allocations: 7.938 kB / 0.5875 GB, free: 32.38 MB / 414.1 MB Notification: Performance of Templates: time 0.05468/0.7175, allocations: 47.89 MB / 0.6343 GB, free: 0.5195 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)