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.001617/0.001617, allocations: 181.4 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008285/0.0008285, allocations: 84.59 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4126/0.4126, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.353e-05/1.352e-05, allocations: 4 kB / 425.3 MB, free: 8.227 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 60.24 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.268/7.391, allocations: 3.016 GB / 3.49 GB, free: 112.7 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/7.391, allocations: 80.52 kB / 3.49 GB, free: 112.7 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.299/10.69, allocations: 0.9678 GB / 4.458 GB, free: 12.98 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.172e-06/10.69, allocations: 0 / 4.458 GB, free: 12.98 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001078/10.69, allocations: 35.83 kB / 4.458 GB, free: 12.95 MB / 0.5265 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.01024/10.7, allocations: 3.023 MB / 4.461 GB, free: 9.879 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/10.7, allocations: 8.031 kB / 4.461 GB, free: 9.871 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/10.7, allocations: 263.8 kB / 4.461 GB, free: 9.613 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/10.7, allocations: 0.8201 MB / 4.462 GB, free: 8.77 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/10.7, allocations: 39.95 kB / 4.462 GB, free: 8.73 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/10.7, allocations: 67.91 kB / 4.462 GB, free: 8.664 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00141/10.7, allocations: 0.8282 MB / 4.463 GB, free: 7.832 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/10.71, allocations: 1.161 MB / 4.464 GB, free: 6.504 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/10.71, allocations: 7.938 kB / 4.464 GB, free: 6.496 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/10.71, allocations: 4 kB / 4.464 GB, free: 6.492 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/10.71, allocations: 28 kB / 4.464 GB, free: 6.465 MB / 0.5265 GB Warning: The model contains alias variables with conflicting start and/or 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.4249/11.13, allocations: 70.6 MB / 4.533 GB, free: 33.57 MB / 0.5577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/11.13, allocations: 0.8347 MB / 4.534 GB, free: 33.55 MB / 0.5577 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/11.13, allocations: 254.2 kB / 4.534 GB, free: 33.54 MB / 0.5577 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1148/11.25, allocations: 63.99 MB / 4.597 GB, free: 25.29 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/11.25, allocations: 41.72 kB / 4.597 GB, free: 25.25 MB / 0.589 GB Notification: Performance of pre-optimization done (n=59): time 3.787e-06/11.25, allocations: 3.75 kB / 4.597 GB, free: 25.25 MB / 0.589 GB Notification: Performance of matching and sorting (n=62): time 0.008776/11.26, allocations: 2.331 MB / 4.599 GB, free: 24.79 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/11.26, allocations: 58.47 kB / 4.599 GB, free: 24.72 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/11.26, allocations: 0.6157 MB / 4.6 GB, free: 24.6 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 9.119e-05/11.26, allocations: 25.7 kB / 4.6 GB, free: 24.57 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/11.26, allocations: 0.5741 MB / 4.6 GB, free: 24.34 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/11.26, allocations: 218.2 kB / 4.6 GB, free: 24.23 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/11.26, allocations: 0 / 4.6 GB, free: 24.23 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.0001427/11.26, allocations: 341.9 kB / 4.601 GB, free: 23.93 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/11.26, allocations: 283.5 kB / 4.601 GB, free: 23.92 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/11.26, allocations: 0.5413 MB / 4.602 GB, free: 23.53 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/11.26, allocations: 368.2 kB / 4.602 GB, free: 23.5 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/11.26, allocations: 6.531 kB / 4.602 GB, free: 23.5 MB / 0.589 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002712/11.26, allocations: 1.124 MB / 4.603 GB, free: 23.37 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 0.001608/11.26, allocations: 4.183 MB / 4.607 GB, free: 18.98 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/11.26, allocations: 9.875 kB / 4.607 GB, free: 18.98 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/11.27, allocations: 0.5046 MB / 4.608 GB, free: 18.94 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/11.27, allocations: 172.3 kB / 4.608 GB, free: 18.94 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/11.27, allocations: 2.718 MB / 4.61 GB, free: 16.85 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/11.27, allocations: 90.27 kB / 4.611 GB, free: 16.84 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/11.27, allocations: 53.67 kB / 4.611 GB, free: 16.84 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/11.27, allocations: 2.625 kB / 4.611 GB, free: 16.84 MB / 0.589 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00204/11.27, allocations: 0.8265 MB / 4.611 GB, free: 16.78 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/11.27, allocations: 15.66 kB / 4.611 GB, free: 16.78 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/11.28, allocations: 220.8 kB / 4.612 GB, free: 16.74 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/11.28, allocations: 224.2 kB / 4.612 GB, free: 16.74 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/11.28, allocations: 4.65 MB / 4.616 GB, free: 12.62 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/11.28, allocations: 84.61 kB / 4.616 GB, free: 12.62 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/11.28, allocations: 45.97 kB / 4.617 GB, free: 12.62 MB / 0.589 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "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" 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 () * 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.0003702/11.28, allocations: 191.1 kB / 4.617 GB, free: 12.5 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/11.28, allocations: 94.84 kB / 4.617 GB, free: 12.45 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/11.29, allocations: 2.88 MB / 4.62 GB, free: 12.16 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/11.29, allocations: 31.09 kB / 4.62 GB, free: 12.16 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/11.29, allocations: 0 / 4.62 GB, free: 12.16 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/11.29, allocations: 2.859 kB / 4.62 GB, free: 12.16 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/11.29, allocations: 1.328 MB / 4.621 GB, free: 11.97 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/11.29, allocations: 0 / 4.621 GB, free: 11.97 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/11.29, allocations: 72.48 kB / 4.621 GB, free: 11.97 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/11.29, allocations: 1.487 MB / 4.622 GB, free: 11.9 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/11.29, allocations: 6.828 kB / 4.622 GB, free: 11.9 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/11.29, allocations: 3.462 MB / 4.626 GB, free: 9.781 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/11.29, allocations: 0 / 4.626 GB, free: 9.781 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/11.3, allocations: 3.103 MB / 4.629 GB, free: 9.375 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/11.3, allocations: 212.9 kB / 4.629 GB, free: 9.211 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/11.3, allocations: 3.312 kB / 4.629 GB, free: 9.211 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/11.3, allocations: 73.28 kB / 4.629 GB, free: 9.203 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/11.3, allocations: 45.59 kB / 4.629 GB, free: 9.203 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/11.3, allocations: 25.27 kB / 4.629 GB, free: 9.203 MB / 0.589 GB Notification: Performance of sorting global known variables: time 0.0005647/11.3, allocations: 466.1 kB / 4.63 GB, free: 9.105 MB / 0.589 GB Notification: Performance of sort global known variables: time 1.363e-06/11.3, allocations: 0 / 4.63 GB, free: 9.105 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.007137/11.31, allocations: 1.748 MB / 4.631 GB, free: 9.105 MB / 0.589 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 32 * 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.00979/11.32, allocations: 2.836 MB / 4.634 GB, free: 8.676 MB / 0.589 GB Notification: Performance of simCode: created initialization part: time 0.00326/11.32, allocations: 1.657 MB / 4.636 GB, free: 24.35 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/11.32, allocations: 3.25 kB / 4.636 GB, free: 24.35 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/11.32, allocations: 0.6259 MB / 4.636 GB, free: 24.34 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/11.32, allocations: 335.1 kB / 4.637 GB, free: 24.32 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/11.33, allocations: 1.946 MB / 4.639 GB, free: 23.77 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/11.33, allocations: 1.212 MB / 4.64 GB, free: 23.04 MB / 0.6046 GB Notification: Performance of simCode: alias equations: time 0.001134/11.33, allocations: 0.6434 MB / 4.64 GB, free: 23 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/11.33, allocations: 57.19 kB / 4.64 GB, free: 23 MB / 0.6046 GB Notification: Performance of SimCode: time 1.432e-06/11.33, allocations: 0 / 4.64 GB, free: 23 MB / 0.6046 GB Notification: Performance of Templates: time 0.06251/11.39, allocations: 51.78 MB / 4.691 GB, free: 18.86 MB / 0.6046 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)