Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.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_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001874/0.001874, 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.738/1.738, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008592/0.0008593, allocations: 91.02 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5064/0.5064, allocations: 48.78 MB / 367.9 MB, free: 47.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 11.98 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.457/6.609, allocations: 3.017 GB / 3.504 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/6.61, allocations: 82.17 kB / 3.504 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.231/9.841, allocations: 0.9789 GB / 4.483 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.347e-06/9.841, allocations: 1.781 kB / 4.483 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.941e-05/9.841, allocations: 40.03 kB / 4.483 GB, free: 33.02 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.01198/9.853, allocations: 3.163 MB / 4.486 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/9.853, allocations: 14.48 kB / 4.486 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/9.854, allocations: 262.2 kB / 4.486 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/9.855, allocations: 0.8342 MB / 4.487 GB, free: 30.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/9.856, allocations: 86.78 kB / 4.487 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/9.856, allocations: 107.9 kB / 4.487 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/9.858, allocations: 1.541 MB / 4.489 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/9.858, allocations: 7.188 kB / 4.489 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/9.859, allocations: 50 kB / 4.489 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/9.859, allocations: 28.69 kB / 4.489 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/9.861, allocations: 1.11 MB / 4.49 GB, free: 29.29 MB / 0.5417 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.007006/9.868, allocations: 6.964 MB / 4.497 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/9.871, allocations: 1.137 MB / 4.498 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4487/10.32, allocations: 63.74 MB / 4.56 GB, free: 41.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/10.32, allocations: 43.52 kB / 4.56 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=63): time 2.765e-06/10.32, allocations: 0 / 4.56 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66): time 0.01326/10.33, allocations: 3.722 MB / 4.564 GB, free: 40.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/10.33, allocations: 60.75 kB / 4.564 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/10.33, allocations: 0.8714 MB / 4.565 GB, free: 40.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/10.33, allocations: 39.86 kB / 4.565 GB, free: 40.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/10.33, allocations: 0.5397 MB / 4.565 GB, free: 40.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/10.34, allocations: 230.8 kB / 4.566 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/10.34, allocations: 23.16 kB / 4.566 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/10.34, allocations: 343.9 kB / 4.566 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/10.34, allocations: 343 kB / 4.566 GB, free: 39.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/10.34, allocations: 0.6172 MB / 4.567 GB, free: 39.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006732/10.34, allocations: 387.7 kB / 4.567 GB, free: 39.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/10.34, allocations: 6.031 kB / 4.567 GB, free: 39.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002628/10.34, allocations: 1.318 MB / 4.569 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007813/10.34, allocations: 4.194 MB / 4.573 GB, free: 34.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/10.34, allocations: 14.2 kB / 4.573 GB, free: 34.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007557/10.35, allocations: 1.01 MB / 4.574 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/10.35, allocations: 174.9 kB / 4.574 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/10.35, allocations: 2.719 MB / 4.576 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/10.35, allocations: 106.7 kB / 4.577 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/10.35, allocations: 51.69 kB / 4.577 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/10.35, allocations: 6.469 kB / 4.577 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002242/10.35, allocations: 1.048 MB / 4.578 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/10.35, allocations: 15.23 kB / 4.578 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009228/10.36, allocations: 234 kB / 4.578 GB, free: 32.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/10.36, allocations: 231.7 kB / 4.578 GB, free: 32.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/10.36, allocations: 4.678 MB / 4.583 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/10.36, allocations: 105.9 kB / 4.583 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/10.36, allocations: 53.22 kB / 4.583 GB, free: 28.23 MB / 0.5573 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: 48 * Number of states: 0 () * Number of discrete variables: 10 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.valveLP.fluidState.phase,steamTurbines.valveIP.fluidState.phase,steamTurbines.valveHP.fluidState.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 (87): * Single equations (assignments): 83 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 8,1 5,1 8,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008818/10.36, allocations: 407.6 kB / 4.583 GB, free: 28.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/10.36, allocations: 122.9 kB / 4.583 GB, free: 27.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/10.37, allocations: 3.204 MB / 4.586 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/10.37, allocations: 29.59 kB / 4.586 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/10.37, allocations: 5.203 kB / 4.586 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/10.37, allocations: 3.75 kB / 4.586 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/10.37, allocations: 1.591 MB / 4.588 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/10.37, allocations: 0 / 4.588 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/10.37, allocations: 80.25 kB / 4.588 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007368/10.38, allocations: 1.778 MB / 4.59 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/10.38, allocations: 23.56 kB / 4.59 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/10.38, allocations: 3.393 MB / 4.593 GB, free: 25.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/10.38, allocations: 0 / 4.593 GB, free: 25.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005112/10.39, allocations: 3.358 MB / 4.596 GB, free: 24.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/10.39, allocations: 274.6 kB / 4.597 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/10.39, allocations: 17.22 kB / 4.597 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/10.39, allocations: 89.16 kB / 4.597 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/10.39, allocations: 47.59 kB / 4.597 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/10.39, allocations: 26.55 kB / 4.597 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009923/10.39, allocations: 0.7667 MB / 4.598 GB, free: 24.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/10.39, allocations: 2.625 kB / 4.598 GB, free: 24.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01132/10.4, allocations: 1.861 MB / 4.599 GB, free: 24.58 MB / 0.5573 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: 14 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 11,1 5,1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01377/10.41, allocations: 2.563 MB / 4.602 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004081/10.42, allocations: 1.911 MB / 4.604 GB, free: 23.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/10.42, allocations: 1 kB / 4.604 GB, free: 23.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/10.42, allocations: 0.7204 MB / 4.605 GB, free: 23.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/10.42, allocations: 0.5542 MB / 4.605 GB, free: 23.94 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/10.43, allocations: 3.343 MB / 4.608 GB, free: 22.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/10.43, allocations: 1.243 MB / 4.61 GB, free: 21.76 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00153/10.43, allocations: 0.5961 MB / 4.61 GB, free: 21.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/10.43, allocations: 76.75 kB / 4.61 GB, free: 21.74 MB / 0.5573 GB Notification: Performance of SimCode: time 8.81e-07/10.43, allocations: 0 / 4.61 GB, free: 21.74 MB / 0.5573 GB Notification: Performance of Templates: time 0.09033/10.52, allocations: 65.82 MB / 4.674 GB, free: 18.01 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.makefile (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.sim & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe 2>&1)