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.001063/0.001063, allocations: 110.3 kB / 17.06 MB, free: 6.137 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.0009831/0.0009831, allocations: 191 kB / 18 MB, free: 5.219 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.397/1.397, allocations: 205.1 MB / 223.9 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.2778/0.2778, allocations: 48.85 MB / 320.1 MB, free: 11.02 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.001418/0.001418, allocations: 68.31 kB / 450.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1105, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02764/0.1382, allocations: 27.63 MB / 0.5247 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2403/0.3785, allocations: 16.36 MB / 0.5407 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.3789, allocations: 3.438 kB / 0.5407 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.3795, allocations: 111.2 kB / 0.5408 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.3798, allocations: 151.8 kB / 0.541 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01944/0.3992, allocations: 6.776 MB / 0.5476 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.3998, allocations: 442.8 kB / 0.548 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.4001, allocations: 146.5 kB / 0.5481 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.4037, allocations: 1.843 MB / 0.5499 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.4166, allocations: 6.253 MB / 0.556 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.4167, allocations: 18.41 kB / 0.5561 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.4369, allocations: 8.929 MB / 0.5648 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.4371, allocations: 47.41 kB / 0.5648 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.4374, allocations: 145 kB / 0.565 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.4527, allocations: 5.067 MB / 0.5699 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4528, allocations: 1.938 kB / 0.5699 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4528, allocations: 4 kB / 0.5699 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.4528, allocations: 3.984 kB / 0.5699 GB, free: 11.61 MB / 430.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.004568/0.4574, allocations: 1.126 MB / 0.571 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4574, allocations: 14.73 kB / 0.571 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.4577, allocations: 54.25 kB / 0.5711 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.4582, allocations: 270.2 kB / 0.5713 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.4582, allocations: 20.97 kB / 0.5714 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.4583, allocations: 28.06 kB / 0.5714 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.459, allocations: 337.1 kB / 0.5717 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4591, allocations: 5.875 kB / 0.5717 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.4591, allocations: 8.531 kB / 0.5717 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.4591, allocations: 5.562 kB / 0.5717 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.4597, allocations: 212.4 kB / 0.5719 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.4616, allocations: 1.704 MB / 0.5736 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.4621, allocations: 118.8 kB / 0.5737 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.4622, allocations: 45.67 kB / 0.5737 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.129/0.5912, allocations: 64.24 MB / 0.6365 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5913, allocations: 42.75 kB / 0.6365 GB, free: 3.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 3.817e-06/0.5913, allocations: 0 / 0.6365 GB, free: 3.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009951/0.5923, allocations: 250.2 kB / 0.6368 GB, free: 2.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.5923, allocations: 55.34 kB / 0.6368 GB, free: 2.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.5927, allocations: 292.4 kB / 0.6371 GB, free: 2.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.5927, allocations: 29.7 kB / 0.6371 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5928, allocations: 179.4 kB / 0.6373 GB, free: 2.297 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.5928, allocations: 42.12 kB / 0.6373 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.5929, allocations: 37.66 kB / 0.6374 GB, free: 2.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5931, allocations: 338.8 kB / 0.6377 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5932, allocations: 48.83 kB / 0.6377 GB, free: 1.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.5934, allocations: 127.1 kB / 0.6379 GB, free: 1.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.5937, allocations: 190.9 kB / 0.638 GB, free: 1.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5938, allocations: 0 / 0.638 GB, free: 1.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004448/0.5942, allocations: 212 kB / 0.6382 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5943, allocations: 4 kB / 0.6383 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5943, allocations: 4 kB / 0.6383 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5943, allocations: 11.88 kB / 0.6383 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.5945, allocations: 47.97 kB / 0.6383 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.5945, allocations: 11.92 kB / 0.6383 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.5947, allocations: 31.59 kB / 0.6384 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.5948, allocations: 8.188 kB / 0.6384 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002159/0.595, allocations: 148.7 kB / 0.6385 GB, free: 0.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001898/0.5952, allocations: 136.8 kB / 0.6386 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003261/0.5955, allocations: 197.8 kB / 0.6388 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.5955, allocations: 0 / 0.6388 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004166/0.596, allocations: 209.5 kB / 0.639 GB, free: 336 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.596, allocations: 15.94 kB / 0.639 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.596, allocations: 7.984 kB / 0.639 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.596, allocations: 4 kB / 0.639 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.5962, allocations: 43.97 kB / 0.6391 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5962, allocations: 11.92 kB / 0.6391 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.5963, allocations: 15.91 kB / 0.6391 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.5964, allocations: 11.75 kB / 0.6391 GB, free: 228 kB / 494.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.000134/0.5965, allocations: 200.1 kB / 0.6393 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.5966, allocations: 31.89 kB / 0.6394 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.5971, allocations: 283 kB / 0.6396 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5971, allocations: 0 / 0.6396 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5971, allocations: 96 / 0.6396 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5972, allocations: 3.938 kB / 0.6396 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.5975, allocations: 345.1 kB / 0.64 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5976, allocations: 4 kB / 0.64 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.5977, allocations: 23.98 kB / 0.64 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5977, allocations: 0 / 0.64 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5977, allocations: 0 / 0.64 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5977, allocations: 0 / 0.64 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5977, allocations: 7.938 kB / 0.64 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.5982, allocations: 283 kB / 0.6403 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.5983, allocations: 96.8 kB / 0.6403 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.5984, allocations: 15.75 kB / 0.6404 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.5985, allocations: 23.97 kB / 0.6404 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.5986, allocations: 7.984 kB / 0.6404 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5986, allocations: 4 kB / 0.6404 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003144/0.5989, allocations: 311.1 kB / 0.6407 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5989, allocations: 4.062 kB / 0.6407 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004527/0.6035, allocations: 1.3 MB / 0.642 GB, free: 13.22 MB / 0.4981 GB 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.006447/0.6099, allocations: 1.414 MB / 0.6433 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005971/0.6106, allocations: 188.9 kB / 0.6435 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6106, allocations: 4.312 kB / 0.6435 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.6107, allocations: 43.97 kB / 0.6436 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.6115, allocations: 129.9 kB / 0.6437 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.6125, allocations: 0.5601 MB / 0.6442 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.6128, allocations: 0.7755 MB / 0.645 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.6131, allocations: 126.8 kB / 0.6451 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.6131, allocations: 23.44 kB / 0.6451 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.6131, allocations: 0 / 0.6451 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.0591/0.6723, allocations: 47.92 MB / 0.6919 GB, free: 10.07 MB / 0.545 GB 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)