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.001706/0.001706, allocations: 110.2 kB / 17.75 MB, free: 5.332 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.001893/0.001893, allocations: 185.4 kB / 18.67 MB, free: 4.41 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.499/1.499, allocations: 205.1 MB / 224.5 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.3232/0.3232, allocations: 48.85 MB / 320.8 MB, free: 11.01 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.002702/0.002702, allocations: 71.89 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1488, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03527/0.1841, allocations: 27.63 MB / 0.5254 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3462/0.5304, allocations: 16.35 MB / 0.5414 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.5309, allocations: 5.656 kB / 0.5414 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.5316, allocations: 113 kB / 0.5415 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.5321, allocations: 154.4 kB / 0.5416 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02278/0.5549, allocations: 6.768 MB / 0.5482 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.5556, allocations: 441.6 kB / 0.5487 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.5559, allocations: 151.1 kB / 0.5488 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.5603, allocations: 1.837 MB / 0.5506 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01476/0.5751, allocations: 6.252 MB / 0.5567 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.5752, allocations: 17.75 kB / 0.5567 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02072/0.5959, allocations: 8.933 MB / 0.5654 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.5961, allocations: 42.88 kB / 0.5655 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.5965, allocations: 147 kB / 0.5656 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.6146, allocations: 5.082 MB / 0.5706 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.6147, allocations: 0 / 0.5706 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6147, allocations: 0 / 0.5706 GB, free: 11.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.6147, allocations: 4 kB / 0.5706 GB, free: 11.84 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.004578/0.6193, allocations: 1.172 MB / 0.5717 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6193, allocations: 12.98 kB / 0.5717 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.6197, allocations: 57.34 kB / 0.5718 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.6202, allocations: 261.7 kB / 0.572 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.6202, allocations: 22.12 kB / 0.5721 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.6203, allocations: 26.69 kB / 0.5721 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.6211, allocations: 330.5 kB / 0.5724 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.6211, allocations: 5.5 kB / 0.5724 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.6211, allocations: 8.531 kB / 0.5724 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6212, allocations: 6.844 kB / 0.5724 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.6218, allocations: 207 kB / 0.5726 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.6238, allocations: 1.728 MB / 0.5743 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.6242, allocations: 114.3 kB / 0.5744 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.6244, allocations: 44.36 kB / 0.5745 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1287/0.7532, allocations: 64.26 MB / 0.6372 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.7532, allocations: 34.56 kB / 0.6373 GB, free: 3.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.7533, allocations: 4 kB / 0.6373 GB, free: 3.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001136/0.7544, allocations: 245.3 kB / 0.6375 GB, free: 2.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.7545, allocations: 51.41 kB / 0.6375 GB, free: 2.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.7548, allocations: 292.5 kB / 0.6378 GB, free: 2.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.7549, allocations: 29.7 kB / 0.6378 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.755, allocations: 180 kB / 0.638 GB, free: 2.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.7551, allocations: 38.66 kB / 0.6381 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.7552, allocations: 41.7 kB / 0.6381 GB, free: 2.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7553, allocations: 338.8 kB / 0.6384 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.7555, allocations: 60.72 kB / 0.6385 GB, free: 1.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.7556, allocations: 127.1 kB / 0.6386 GB, free: 1.742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.756, allocations: 182.9 kB / 0.6388 GB, free: 1.523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.756, allocations: 4 kB / 0.6388 GB, free: 1.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004758/0.7565, allocations: 209.2 kB / 0.639 GB, free: 1.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.7565, allocations: 11.91 kB / 0.639 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7566, allocations: 4 kB / 0.639 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.7566, allocations: 4 kB / 0.639 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.7568, allocations: 51.91 kB / 0.639 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7568, allocations: 4.375 kB / 0.639 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.7571, allocations: 44.88 kB / 0.6391 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.7571, allocations: 8 kB / 0.6391 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002169/0.7573, allocations: 140.8 kB / 0.6392 GB, free: 1.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001759/0.7575, allocations: 136.9 kB / 0.6394 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003164/0.7578, allocations: 202.3 kB / 0.6396 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.7578, allocations: 7.984 kB / 0.6396 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004343/0.7583, allocations: 213.3 kB / 0.6398 GB, free: 408 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7583, allocations: 8 kB / 0.6398 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.7583, allocations: 4 kB / 0.6398 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.7583, allocations: 4 kB / 0.6398 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.7585, allocations: 47.91 kB / 0.6398 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7585, allocations: 4 kB / 0.6398 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.7587, allocations: 19.94 kB / 0.6398 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.7588, allocations: 8.281 kB / 0.6399 GB, free: 312 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.0001288/0.7589, allocations: 200.1 kB / 0.64 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.759, allocations: 31.81 kB / 0.6401 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.7595, allocations: 283 kB / 0.6403 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.7596, allocations: 0 / 0.6403 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7596, allocations: 0.875 kB / 0.6403 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.7597, allocations: 109.7 kB / 0.6405 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.7597, allocations: 15.88 kB / 0.6405 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.76, allocations: 23.88 kB / 0.6405 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.76, allocations: 7.984 kB / 0.6405 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004222/0.7604, allocations: 204.3 kB / 0.6407 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005325/0.761, allocations: 362.5 kB / 0.641 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001248/0.7611, allocations: 37.25 kB / 0.6411 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003646/0.7615, allocations: 315.1 kB / 0.6414 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Backend: time 5.01e-07/0.7615, allocations: 0 / 0.6414 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01146/0.773, allocations: 1.754 MB / 0.6431 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001782/0.7748, allocations: 1.13 MB / 0.6442 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.07875/0.8536, allocations: 52.14 MB / 0.6951 GB, free: 7.727 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)