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.001002/0.001002, allocations: 111.3 kB / 17.28 MB, free: 6.199 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.0009935/0.0009936, allocations: 193.3 kB / 18.2 MB, free: 5.277 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.206/1.206, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2494/0.2494, allocations: 48.85 MB / 320.2 MB, free: 11.27 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.001286/0.001286, allocations: 64.55 kB / 390.2 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08723, allocations: 59.16 MB / 449.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02648/0.1137, allocations: 27.8 MB / 477.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.1312, allocations: 16.53 MB / 493.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.1316, allocations: 7.938 kB / 493.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1322, allocations: 99.47 kB / 493.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1325, allocations: 135.1 kB / 493.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.1484, allocations: 5.939 MB / 499.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006086/0.1491, allocations: 438.5 kB / 0.4886 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1493, allocations: 148.8 kB / 0.4887 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.1528, allocations: 1.827 MB / 0.4905 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.1638, allocations: 6.268 MB / 0.4966 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.816e-05/0.1639, allocations: 16 kB / 0.4966 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.1773, allocations: 8.818 MB / 0.5052 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.1774, allocations: 51.77 kB / 0.5053 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1776, allocations: 139.3 kB / 0.5054 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005513/0.1831, allocations: 3.411 MB / 0.5088 GB, free: 2.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.1831, allocations: 4 kB / 0.5088 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1831, allocations: 3.938 kB / 0.5088 GB, free: 2.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1831, allocations: 0 / 0.5088 GB, free: 2.238 MB / 398.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.002929/0.1861, allocations: 1.135 MB / 0.5099 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1861, allocations: 15.88 kB / 0.5099 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.1864, allocations: 52.55 kB / 0.5099 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1867, allocations: 260.7 kB / 0.5102 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1867, allocations: 20.94 kB / 0.5102 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.1868, allocations: 27.94 kB / 0.5102 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.1874, allocations: 334.2 kB / 0.5105 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1874, allocations: 7.938 kB / 0.5106 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.1875, allocations: 4 kB / 0.5106 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1875, allocations: 8 kB / 0.5106 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.188, allocations: 209.5 kB / 0.5108 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.1897, allocations: 1.717 MB / 0.5124 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.1901, allocations: 122.4 kB / 0.5126 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1903, allocations: 44.83 kB / 0.5126 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2729/0.4631, allocations: 63.96 MB / 0.5751 GB, free: 45.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4632, allocations: 37.19 kB / 0.5751 GB, free: 44.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.4632, allocations: 0 / 0.5751 GB, free: 44.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008941/0.4641, allocations: 253.7 kB / 0.5753 GB, free: 44.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.4642, allocations: 51.41 kB / 0.5754 GB, free: 44.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.4644, allocations: 286.5 kB / 0.5757 GB, free: 44.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4644, allocations: 29.7 kB / 0.5757 GB, free: 44.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.4645, allocations: 178 kB / 0.5759 GB, free: 44.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4645, allocations: 36.31 kB / 0.5759 GB, free: 44.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.4646, allocations: 37.7 kB / 0.5759 GB, free: 44.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.4646, allocations: 341 kB / 0.5763 GB, free: 43.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.4648, allocations: 48.83 kB / 0.5763 GB, free: 43.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4649, allocations: 130 kB / 0.5764 GB, free: 43.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.4652, allocations: 192.9 kB / 0.5766 GB, free: 43.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4652, allocations: 0 / 0.5766 GB, free: 43.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003559/0.4655, allocations: 220.5 kB / 0.5768 GB, free: 43.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4656, allocations: 4 kB / 0.5768 GB, free: 43.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4656, allocations: 4 kB / 0.5768 GB, free: 43.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.4656, allocations: 4 kB / 0.5768 GB, free: 43.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4658, allocations: 50.5 kB / 0.5769 GB, free: 43.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4658, allocations: 5.969 kB / 0.5769 GB, free: 43.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.466, allocations: 39.81 kB / 0.5769 GB, free: 43.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.466, allocations: 8.875 kB / 0.5769 GB, free: 43.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001511/0.4662, allocations: 136.1 kB / 0.5771 GB, free: 42.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001448/0.4663, allocations: 139.5 kB / 0.5772 GB, free: 42.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002316/0.4666, allocations: 194.5 kB / 0.5774 GB, free: 42.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.4666, allocations: 0 / 0.5774 GB, free: 42.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003242/0.4669, allocations: 224.8 kB / 0.5776 GB, free: 42.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/0.4669, allocations: 4 kB / 0.5776 GB, free: 42.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.4669, allocations: 4 kB / 0.5776 GB, free: 42.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-06/0.467, allocations: 11.84 kB / 0.5776 GB, free: 42.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.4671, allocations: 46.78 kB / 0.5777 GB, free: 42.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4671, allocations: 12.91 kB / 0.5777 GB, free: 42.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4673, allocations: 24.27 kB / 0.5777 GB, free: 42.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4673, allocations: 12 kB / 0.5777 GB, free: 42.22 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.482e-05/0.4674, allocations: 192 kB / 0.5779 GB, free: 42.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.4674, allocations: 33.31 kB / 0.5779 GB, free: 42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.4678, allocations: 287.9 kB / 0.5782 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4678, allocations: 3.938 kB / 0.5782 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4679, allocations: 0 / 0.5782 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4679, allocations: 0 / 0.5782 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.4681, allocations: 346.5 kB / 0.5785 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4682, allocations: 4 kB / 0.5785 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.4683, allocations: 23.98 kB / 0.5786 GB, free: 41.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4683, allocations: 0 / 0.5786 GB, free: 41.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4683, allocations: 0 / 0.5786 GB, free: 41.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4683, allocations: 3.938 kB / 0.5786 GB, free: 41.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4683, allocations: 4.438 kB / 0.5786 GB, free: 41.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.4687, allocations: 286.3 kB / 0.5788 GB, free: 41.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.4688, allocations: 92.86 kB / 0.5789 GB, free: 40.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.4688, allocations: 19.75 kB / 0.5789 GB, free: 40.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.469, allocations: 27.91 kB / 0.579 GB, free: 40.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.4691, allocations: 7.984 kB / 0.579 GB, free: 40.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4691, allocations: 4 kB / 0.579 GB, free: 40.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.4693, allocations: 311.2 kB / 0.5793 GB, free: 40.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4693, allocations: 3.844 kB / 0.5793 GB, free: 40.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002934/0.4722, allocations: 1.298 MB / 0.5806 GB, free: 39.34 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.004701/0.4769, allocations: 1.424 MB / 0.5819 GB, free: 38.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.4775, allocations: 190.7 kB / 0.5821 GB, free: 37.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4775, allocations: 4.125 kB / 0.5821 GB, free: 37.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4776, allocations: 39.08 kB / 0.5822 GB, free: 37.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.4783, allocations: 119.4 kB / 0.5823 GB, free: 37.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.4791, allocations: 0.6967 MB / 0.583 GB, free: 37.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4792, allocations: 0.7717 MB / 0.5837 GB, free: 36.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.4793, allocations: 27.44 kB / 0.5837 GB, free: 36.26 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4793, allocations: 0 / 0.5837 GB, free: 36.26 MB / 414.1 MB Notification: Performance of Templates: time 0.02848/0.5078, allocations: 25.42 MB / 0.6086 GB, free: 10.86 MB / 414.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)