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.001377/0.001377, allocations: 91.36 kB / 16.65 MB, free: 6.535 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.001423/0.001423, allocations: 177.5 kB / 17.56 MB, free: 6.18 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.432/1.432, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2751/0.2751, allocations: 48.79 MB / 320.8 MB, free: 11.11 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.0005835/0.0005836, allocations: 14.67 kB / 391.8 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1087, allocations: 60.26 MB / 452.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02939/0.1381, allocations: 27.86 MB / 479.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.1596, allocations: 17.55 MB / 497.5 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/0.16, allocations: 7.938 kB / 497.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.1605, allocations: 95.42 kB / 497.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.1609, allocations: 139.1 kB / 497.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0206/0.1815, allocations: 5.349 MB / 0.4913 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008331/0.1823, allocations: 0.5414 MB / 0.4918 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.1827, allocations: 136.6 kB / 0.4919 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.1867, allocations: 1.807 MB / 0.4937 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.1993, allocations: 6.241 MB / 0.4998 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.1994, allocations: 15.94 kB / 0.4998 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.2156, allocations: 8.864 MB / 0.5085 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.2157, allocations: 43.78 kB / 0.5085 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.2159, allocations: 153 kB / 0.5087 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.2272, allocations: 5.087 MB / 0.5136 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2272, allocations: 0 / 0.5136 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2272, allocations: 0 / 0.5136 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2272, allocations: 0 / 0.5136 GB, free: 15.02 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.003343/0.2306, allocations: 1.088 MB / 0.5147 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2307, allocations: 12.03 kB / 0.5147 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.231, allocations: 48.55 kB / 0.5147 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.2313, allocations: 264.7 kB / 0.515 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.2314, allocations: 16.94 kB / 0.515 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.2314, allocations: 31.84 kB / 0.515 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.2322, allocations: 342.1 kB / 0.5154 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.2322, allocations: 0 / 0.5154 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2322, allocations: 12 kB / 0.5154 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2322, allocations: 4 kB / 0.5154 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.2328, allocations: 229.5 kB / 0.5156 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.2351, allocations: 1.718 MB / 0.5173 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.2356, allocations: 122.5 kB / 0.5174 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.2357, allocations: 48.83 kB / 0.5174 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3316/0.5674, allocations: 64.59 MB / 0.5805 GB, free: 40.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5674, allocations: 31.88 kB / 0.5806 GB, free: 40.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.5675, allocations: 4 kB / 0.5806 GB, free: 40.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009897/0.5685, allocations: 267.5 kB / 0.5808 GB, free: 40.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5685, allocations: 55.97 kB / 0.5809 GB, free: 39.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.5688, allocations: 286.8 kB / 0.5811 GB, free: 39.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.5688, allocations: 26.77 kB / 0.5812 GB, free: 39.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.569, allocations: 177.8 kB / 0.5813 GB, free: 39.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.569, allocations: 34.34 kB / 0.5814 GB, free: 39.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.569, allocations: 22.7 kB / 0.5814 GB, free: 39.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.5691, allocations: 344.7 kB / 0.5817 GB, free: 39.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5693, allocations: 47.34 kB / 0.5818 GB, free: 39.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.5694, allocations: 134.3 kB / 0.5819 GB, free: 39.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.5697, allocations: 206.1 kB / 0.5821 GB, free: 38.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5698, allocations: 0 / 0.5821 GB, free: 38.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003966/0.5702, allocations: 225.8 kB / 0.5823 GB, free: 38.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.5702, allocations: 180.6 kB / 0.5825 GB, free: 38.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5703, allocations: 0 / 0.5825 GB, free: 38.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5703, allocations: 4 kB / 0.5825 GB, free: 38.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.5705, allocations: 53.59 kB / 0.5825 GB, free: 38.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5705, allocations: 4 kB / 0.5825 GB, free: 38.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5707, allocations: 46.83 kB / 0.5826 GB, free: 38.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.5707, allocations: 10.75 kB / 0.5826 GB, free: 38.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.5707, allocations: 4 kB / 0.5826 GB, free: 38.33 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003423/0.5711, allocations: 170.8 kB / 0.5828 GB, free: 38.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.5711, allocations: 4 kB / 0.5828 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.5711, allocations: 4 kB / 0.5828 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.5713, allocations: 47.91 kB / 0.5828 GB, free: 38.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.5713, allocations: 4 kB / 0.5828 GB, free: 38.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.5715, allocations: 38.09 kB / 0.5829 GB, free: 38.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.5715, allocations: 11.94 kB / 0.5829 GB, free: 38.09 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.0001079/0.5716, allocations: 221 kB / 0.5831 GB, free: 37.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.5716, allocations: 27.7 kB / 0.5831 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.5721, allocations: 294.7 kB / 0.5834 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5721, allocations: 0 / 0.5834 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5722, allocations: 4 kB / 0.5834 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5722, allocations: 8.484 kB / 0.5834 GB, free: 37.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.5725, allocations: 343.3 kB / 0.5837 GB, free: 37.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5725, allocations: 1.125 kB / 0.5837 GB, free: 37.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.5726, allocations: 23.98 kB / 0.5837 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5726, allocations: 4 kB / 0.5837 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5727, allocations: 0 / 0.5837 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5727, allocations: 3.984 kB / 0.5838 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5727, allocations: 0 / 0.5838 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.5731, allocations: 298.9 kB / 0.584 GB, free: 36.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.5732, allocations: 137.4 kB / 0.5842 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.5732, allocations: 7.625 kB / 0.5842 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.5735, allocations: 31.88 kB / 0.5842 GB, free: 36.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.5735, allocations: 7.922 kB / 0.5842 GB, free: 36.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.5735, allocations: 4 kB / 0.5842 GB, free: 36.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.5738, allocations: 315.1 kB / 0.5845 GB, free: 36.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5738, allocations: 6.078 kB / 0.5845 GB, free: 36.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003269/0.5771, allocations: 1.298 MB / 0.5858 GB, free: 35.1 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.0052/0.5823, allocations: 1.403 MB / 0.5872 GB, free: 33.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006055/0.5829, allocations: 207.1 kB / 0.5874 GB, free: 33.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5829, allocations: 0 / 0.5874 GB, free: 33.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.5831, allocations: 47.91 kB / 0.5874 GB, free: 33.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.584, allocations: 125.9 kB / 0.5875 GB, free: 33.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.5848, allocations: 0.7182 MB / 0.5882 GB, free: 32.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.585, allocations: 0.7717 MB / 0.589 GB, free: 31.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.5853, allocations: 119.5 kB / 0.5891 GB, free: 31.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.5854, allocations: 35.42 kB / 0.5891 GB, free: 31.83 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5854, allocations: 4 kB / 0.5891 GB, free: 31.82 MB / 414.1 MB Notification: Performance of Templates: time 0.05436/0.6397, allocations: 47.76 MB / 0.6358 GB, free: 72 kB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: