Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00202/0.00202, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 91.97 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4829/0.4829, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.973/7.124, allocations: 2.975 GB / 3.462 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/7.125, allocations: 84.55 kB / 3.462 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.487/10.61, allocations: 1.066 GB / 4.528 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/10.61, allocations: 3.844 kB / 4.528 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.611e-05/10.61, allocations: 30.11 kB / 4.528 GB, free: 42.55 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.01103/10.62, allocations: 2.768 MB / 4.531 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/10.62, allocations: 15.64 kB / 4.531 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009422/10.62, allocations: 197.9 kB / 4.531 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/10.62, allocations: 0.6525 MB / 4.532 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/10.62, allocations: 67.56 kB / 4.532 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/10.63, allocations: 84.84 kB / 4.532 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/10.63, allocations: 1.198 MB / 4.533 GB, free: 40.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/10.63, allocations: 11.3 kB / 4.533 GB, free: 40.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/10.63, allocations: 40.47 kB / 4.533 GB, free: 40.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/10.63, allocations: 23.69 kB / 4.533 GB, free: 40.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/10.63, allocations: 0.7183 MB / 4.534 GB, free: 40.58 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/10.63, allocations: 5.656 MB / 4.539 GB, free: 36.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/10.64, allocations: 406.5 kB / 4.54 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.115/10.75, allocations: 63.73 MB / 4.602 GB, free: 29.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/10.75, allocations: 39.91 kB / 4.602 GB, free: 29.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 2.524e-06/10.75, allocations: 0 / 4.602 GB, free: 29.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.005092/10.76, allocations: 1.52 MB / 4.604 GB, free: 28.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/10.76, allocations: 54.34 kB / 4.604 GB, free: 28.67 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/10.76, allocations: 0.6885 MB / 4.604 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/10.76, allocations: 31.95 kB / 4.604 GB, free: 28.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/10.76, allocations: 466.3 kB / 4.605 GB, free: 28.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/10.76, allocations: 118.6 kB / 4.605 GB, free: 28.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/10.76, allocations: 11.38 kB / 4.605 GB, free: 28.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001172/10.76, allocations: 326.3 kB / 4.605 GB, free: 27.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/10.76, allocations: 155.9 kB / 4.605 GB, free: 27.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/10.76, allocations: 349.7 kB / 4.606 GB, free: 27.64 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/10.76, allocations: 188.9 kB / 4.606 GB, free: 27.63 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/10.76, allocations: 3.344 kB / 4.606 GB, free: 27.63 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001138/10.76, allocations: 0.6455 MB / 4.606 GB, free: 27.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001087/10.76, allocations: 2.871 MB / 4.609 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/10.76, allocations: 7.125 kB / 4.609 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/10.76, allocations: 108.3 kB / 4.609 GB, free: 24.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/10.76, allocations: 126.4 kB / 4.609 GB, free: 24.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005084/10.76, allocations: 0.6236 MB / 4.61 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/10.76, allocations: 60.22 kB / 4.61 GB, free: 23.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/10.76, allocations: 32.12 kB / 4.61 GB, free: 23.97 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/10.76, allocations: 7.031 kB / 4.61 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008763/10.76, allocations: 0.5194 MB / 4.611 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/10.76, allocations: 5 kB / 4.611 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/10.76, allocations: 109.1 kB / 4.611 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/10.76, allocations: 128.2 kB / 4.611 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000434/10.76, allocations: 0.6154 MB / 4.612 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/10.77, allocations: 59.5 kB / 4.612 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/10.77, allocations: 32.16 kB / 4.612 GB, free: 23.4 MB / 0.5886 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real steamTurbines.mixLP.h:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))))))))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))))))))) start = steamTurbines.mixLP.hstart unit = "J/kg" fixed = true nominal = 500000.0 stateSelect=StateSelect.prefer ) "Fluid specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.mixLP.fluidState.phase,steamTurbines.ST_LP.steamState_iso.phase,steamTurbines.ST_IP.steamState_iso.phase,steamTurbines.ST_HP.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006249/10.77, allocations: 366.4 kB / 4.612 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/10.77, allocations: 87.19 kB / 4.612 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/10.77, allocations: 1.354 MB / 4.613 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/10.77, allocations: 18.31 kB / 4.613 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/10.77, allocations: 0 / 4.613 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/10.77, allocations: 3.953 kB / 4.613 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/10.77, allocations: 0.9949 MB / 4.614 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/10.77, allocations: 0 / 4.614 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/10.77, allocations: 63.92 kB / 4.614 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/10.77, allocations: 114 kB / 4.615 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/10.77, allocations: 11.31 kB / 4.615 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004729/10.77, allocations: 0.6468 MB / 4.615 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/10.77, allocations: 0.9375 kB / 4.615 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/10.77, allocations: 1.133 MB / 4.616 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/10.77, allocations: 251.5 kB / 4.617 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/10.77, allocations: 9.594 kB / 4.617 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005618/10.77, allocations: 70.42 kB / 4.617 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/10.77, allocations: 21.92 kB / 4.617 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/10.77, allocations: 9.375 kB / 4.617 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001016/10.77, allocations: 0.7375 MB / 4.617 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.81e-07/10.77, allocations: 4 kB / 4.617 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008647/10.78, allocations: 1.7 MB / 4.619 GB, free: 21.45 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 4 ($cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01301/10.8, allocations: 2.599 MB / 4.622 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001488/10.8, allocations: 0.712 MB / 4.622 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/10.8, allocations: 0 / 4.622 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004082/10.8, allocations: 271.4 kB / 4.623 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/10.8, allocations: 493.3 kB / 4.623 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/10.8, allocations: 2.202 MB / 4.625 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/10.8, allocations: 1.059 MB / 4.626 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009949/10.81, allocations: 460.3 kB / 4.627 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/10.81, allocations: 68.02 kB / 4.627 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/10.81, allocations: 0 / 4.627 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.07664/10.88, allocations: 58.53 MB / 4.684 GB, free: 7.328 MB / 0.5886 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.makefile (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.sim & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe 2>&1)