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.001375/0.001375, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001157/0.001157, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.43/1.43, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2902/0.2902, allocations: 48.83 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.001417/0.001417, allocations: 71.89 kB / 450.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 59.16 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03005/0.1526, allocations: 27.64 MB / 0.5247 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2815/0.4342, allocations: 16.35 MB / 0.5407 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.4345, allocations: 4.438 kB / 0.5407 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004547/0.435, allocations: 114.7 kB / 0.5408 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.4354, allocations: 151 kB / 0.541 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02446/0.4598, allocations: 6.772 MB / 0.5476 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.4607, allocations: 440 kB / 0.548 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.461, allocations: 140.8 kB / 0.5481 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004651/0.4657, allocations: 1.847 MB / 0.5499 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01627/0.482, allocations: 6.254 MB / 0.556 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.4821, allocations: 17.62 kB / 0.5561 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01881/0.501, allocations: 8.926 MB / 0.5648 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.5011, allocations: 46.84 kB / 0.5648 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.5014, allocations: 143.6 kB / 0.5649 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.5165, allocations: 5.075 MB / 0.5699 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5166, allocations: 0 / 0.5699 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5166, allocations: 4 kB / 0.5699 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.5166, allocations: 0 / 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.003749/0.5204, allocations: 1.133 MB / 0.571 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5204, allocations: 12.89 kB / 0.571 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.5207, allocations: 46.77 kB / 0.5711 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.5211, allocations: 273.3 kB / 0.5713 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.5211, allocations: 23 kB / 0.5714 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.5212, allocations: 25.16 kB / 0.5714 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.5218, allocations: 335.1 kB / 0.5717 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5219, allocations: 6.688 kB / 0.5717 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.5219, allocations: 6.719 kB / 0.5717 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.5219, allocations: 5.531 kB / 0.5717 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.5225, allocations: 211.5 kB / 0.5719 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.5244, allocations: 1.711 MB / 0.5736 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.5248, allocations: 115.9 kB / 0.5737 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.525, allocations: 41.62 kB / 0.5737 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.164/0.6889, allocations: 64.25 MB / 0.6365 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.689, allocations: 34.56 kB / 0.6365 GB, free: 3.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.689, allocations: 192 / 0.6365 GB, free: 3.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001068/0.6901, allocations: 249.2 kB / 0.6368 GB, free: 2.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.6901, allocations: 63.34 kB / 0.6368 GB, free: 2.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.6905, allocations: 288.4 kB / 0.6371 GB, free: 2.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.6905, allocations: 29.7 kB / 0.6371 GB, free: 2.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.6906, allocations: 182.3 kB / 0.6373 GB, free: 2.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.6907, allocations: 35.55 kB / 0.6373 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.6908, allocations: 42.05 kB / 0.6374 GB, free: 2.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6909, allocations: 334.8 kB / 0.6377 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.6911, allocations: 56.81 kB / 0.6377 GB, free: 1.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.6913, allocations: 119.1 kB / 0.6379 GB, free: 1.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.6916, allocations: 190.9 kB / 0.638 GB, free: 1.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6917, allocations: 1.875 kB / 0.638 GB, free: 1.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004851/0.6922, allocations: 220 kB / 0.6382 GB, free: 1.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.6922, allocations: 11.91 kB / 0.6383 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6922, allocations: 0 / 0.6383 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6922, allocations: 4 kB / 0.6383 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.6925, allocations: 48.28 kB / 0.6383 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6925, allocations: 12.02 kB / 0.6383 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.6927, allocations: 43.52 kB / 0.6384 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.6927, allocations: 11.98 kB / 0.6384 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002223/0.693, allocations: 144.7 kB / 0.6385 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001928/0.6932, allocations: 128.9 kB / 0.6386 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003247/0.6935, allocations: 200.6 kB / 0.6388 GB, free: 0.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.6935, allocations: 0 / 0.6388 GB, free: 0.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004384/0.694, allocations: 219.7 kB / 0.639 GB, free: 288 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.694, allocations: 8 kB / 0.639 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.694, allocations: 7.938 kB / 0.639 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.694, allocations: 4 kB / 0.6391 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.6942, allocations: 39.97 kB / 0.6391 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.6942, allocations: 11.94 kB / 0.6391 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.6944, allocations: 20.2 kB / 0.6391 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.6944, allocations: 12 kB / 0.6391 GB, free: 184 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.0001494/0.6946, allocations: 199 kB / 0.6393 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.6946, allocations: 23.56 kB / 0.6393 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/0.6952, allocations: 282.8 kB / 0.6396 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6952, allocations: 0 / 0.6396 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6952, allocations: 4 kB / 0.6396 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6952, allocations: 3.984 kB / 0.6396 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.6957, allocations: 340.2 kB / 0.6399 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6957, allocations: 0 / 0.6399 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.6958, allocations: 23.97 kB / 0.64 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6959, allocations: 4 kB / 0.64 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6959, allocations: 4 kB / 0.64 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6959, allocations: 3.812 kB / 0.64 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6959, allocations: 0 / 0.64 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.6964, allocations: 279 kB / 0.6402 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.6965, allocations: 112.7 kB / 0.6404 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.6966, allocations: 15.78 kB / 0.6404 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.6968, allocations: 24.48 kB / 0.6404 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.6968, allocations: 12.06 kB / 0.6404 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.6969, allocations: 0 / 0.6404 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003439/0.6972, allocations: 311.1 kB / 0.6407 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6972, allocations: 0 / 0.6407 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004452/0.7017, allocations: 1.3 MB / 0.642 GB, free: 13.19 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.008356/0.71, allocations: 1.408 MB / 0.6433 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005985/0.7106, allocations: 191.9 kB / 0.6435 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7107, allocations: 4 kB / 0.6435 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.7108, allocations: 43.91 kB / 0.6436 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.7117, allocations: 124.2 kB / 0.6437 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.7127, allocations: 0.5676 MB / 0.6442 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.7131, allocations: 0.7678 MB / 0.645 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002565/0.7133, allocations: 130.7 kB / 0.6451 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.7134, allocations: 27.44 kB / 0.6451 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.7134, allocations: 0 / 0.6451 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.06178/0.7752, allocations: 47.92 MB / 0.6919 GB, free: 10.04 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)