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.001311/0.001311, allocations: 108.8 kB / 17.69 MB, free: 5.453 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.001351/0.001351, allocations: 188.1 kB / 18.62 MB, free: 4.527 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.416/1.416, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2904/0.2905, allocations: 48.83 MB / 320.7 MB, free: 11.04 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.001427/0.001427, allocations: 63.55 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 59.16 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02988/0.1381, allocations: 27.65 MB / 478.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02004/0.1581, allocations: 16.36 MB / 494.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.1587, allocations: 7.938 kB / 494.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.1593, allocations: 119.2 kB / 494.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.1597, allocations: 146.9 kB / 495 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02054/0.1802, allocations: 6.752 MB / 0.49 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.181, allocations: 438.5 kB / 0.4904 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.1813, allocations: 144.8 kB / 0.4905 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.1853, allocations: 1.835 MB / 0.4923 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.198, allocations: 6.252 MB / 0.4984 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1982, allocations: 20 kB / 0.4984 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/0.2152, allocations: 8.935 MB / 0.5072 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.661e-05/0.2154, allocations: 51.78 kB / 0.5072 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.2156, allocations: 143.3 kB / 0.5073 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.2277, allocations: 5.064 MB / 0.5123 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2278, allocations: 7.875 kB / 0.5123 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2278, allocations: 0 / 0.5123 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2278, allocations: 0 / 0.5123 GB, free: 14.84 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.003746/0.2316, allocations: 1.131 MB / 0.5134 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2316, allocations: 15.89 kB / 0.5134 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.2319, allocations: 52.53 kB / 0.5135 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.2323, allocations: 272.6 kB / 0.5137 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.2323, allocations: 20.92 kB / 0.5137 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.2324, allocations: 27.94 kB / 0.5138 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.2331, allocations: 326.2 kB / 0.5141 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2331, allocations: 3.984 kB / 0.5141 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.2331, allocations: 12 kB / 0.5141 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2331, allocations: 7.984 kB / 0.5141 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.2337, allocations: 217.4 kB / 0.5143 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.2355, allocations: 1.714 MB / 0.516 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.2359, allocations: 122.4 kB / 0.5161 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.2361, allocations: 40.83 kB / 0.5161 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3609/0.597, allocations: 64.23 MB / 0.5789 GB, free: 40.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.5971, allocations: 31.81 kB / 0.5789 GB, free: 40.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 4.388e-06/0.5971, allocations: 0 / 0.5789 GB, free: 40.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009925/0.5981, allocations: 260.2 kB / 0.5791 GB, free: 40.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.5981, allocations: 51.41 kB / 0.5792 GB, free: 40.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.5984, allocations: 284.6 kB / 0.5795 GB, free: 40.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.5984, allocations: 25.7 kB / 0.5795 GB, free: 40.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.5985, allocations: 183.3 kB / 0.5797 GB, free: 40.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.5986, allocations: 28.77 kB / 0.5797 GB, free: 40.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.5986, allocations: 37.7 kB / 0.5797 GB, free: 40.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.5987, allocations: 345.8 kB / 0.5801 GB, free: 39.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.5988, allocations: 50.33 kB / 0.5801 GB, free: 39.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.599, allocations: 135.2 kB / 0.5802 GB, free: 39.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.5993, allocations: 184.1 kB / 0.5804 GB, free: 39.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5993, allocations: 4 kB / 0.5804 GB, free: 39.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003968/0.5997, allocations: 215.6 kB / 0.5806 GB, free: 39.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5997, allocations: 4 kB / 0.5806 GB, free: 39.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5997, allocations: 4.375 kB / 0.5806 GB, free: 39.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.5998, allocations: 8.984 kB / 0.5806 GB, free: 39.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.6, allocations: 51.91 kB / 0.5807 GB, free: 39.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.6, allocations: 10.56 kB / 0.5807 GB, free: 39.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.6002, allocations: 31.25 kB / 0.5807 GB, free: 39.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.6002, allocations: 12 kB / 0.5807 GB, free: 39.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001673/0.6004, allocations: 137 kB / 0.5809 GB, free: 38.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001388/0.6005, allocations: 132.9 kB / 0.581 GB, free: 38.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002554/0.6008, allocations: 195.1 kB / 0.5812 GB, free: 38.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.6008, allocations: 0 / 0.5812 GB, free: 38.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003691/0.6012, allocations: 226.9 kB / 0.5814 GB, free: 38.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.6012, allocations: 4 kB / 0.5814 GB, free: 38.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.6012, allocations: 7.844 kB / 0.5814 GB, free: 38.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.6012, allocations: 4 kB / 0.5814 GB, free: 38.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.6014, allocations: 52.12 kB / 0.5815 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6014, allocations: 7.375 kB / 0.5815 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.6015, allocations: 23.86 kB / 0.5815 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.6016, allocations: 12 kB / 0.5815 GB, free: 38.18 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 8.484e-05/0.6017, allocations: 188.5 kB / 0.5817 GB, free: 37.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.6017, allocations: 27.62 kB / 0.5817 GB, free: 37.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.6022, allocations: 281.8 kB / 0.582 GB, free: 37.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.6022, allocations: 0 / 0.582 GB, free: 37.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6022, allocations: 4.547 kB / 0.582 GB, free: 37.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.6023, allocations: 108.8 kB / 0.5821 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.6023, allocations: 11.84 kB / 0.5821 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.6025, allocations: 27.88 kB / 0.5821 GB, free: 37.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.6026, allocations: 7.984 kB / 0.5821 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003462/0.6029, allocations: 207.5 kB / 0.5823 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004372/0.6034, allocations: 358.3 kB / 0.5827 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001078/0.6035, allocations: 47.7 kB / 0.5827 GB, free: 36.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.6037, allocations: 307.2 kB / 0.583 GB, free: 36.61 MB / 414.1 MB Notification: Performance of Backend: time 5.62e-07/0.6037, allocations: 0 / 0.583 GB, free: 36.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00771/0.6115, allocations: 1.726 MB / 0.5847 GB, free: 35.18 MB / 414.1 MB Notification: Performance of SimCode: time 0.001478/0.613, allocations: 1.125 MB / 0.5858 GB, free: 34.04 MB / 414.1 MB Notification: Performance of Templates: time 0.05905/0.672, allocations: 52.08 MB / 0.6367 GB, free: 14 MB / 446.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)