Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.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_bypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, 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.388/1.388, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0008041/0.000804, allocations: 85.5 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3857/0.3857, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.693e-05, allocations: 4 kB / 425.3 MB, free: 8.219 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.173/7.29, allocations: 3.017 GB / 3.491 GB, free: 112.3 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/7.29, allocations: 76.95 kB / 3.491 GB, free: 112.3 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 5.072/12.36, allocations: 1.452 GB / 4.943 GB, free: 36.62 MB / 0.5733 GB Notification: Performance of FrontEnd: time 1.673e-06/12.36, allocations: 0 / 4.943 GB, free: 36.62 MB / 0.5733 GB Notification: Performance of Transformations before backend: time 0.0001299/12.36, allocations: 48.33 kB / 4.943 GB, free: 36.62 MB / 0.5733 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01371/12.38, allocations: 4.003 MB / 4.947 GB, free: 34.72 MB / 0.5733 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/12.38, allocations: 8.469 kB / 4.947 GB, free: 34.72 MB / 0.5733 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/12.38, allocations: 345.8 kB / 4.948 GB, free: 34.61 MB / 0.5733 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/12.38, allocations: 1.126 MB / 4.949 GB, free: 34.24 MB / 0.5733 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/12.38, allocations: 48.75 kB / 4.949 GB, free: 34.24 MB / 0.5733 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/12.38, allocations: 100.9 kB / 4.949 GB, free: 34.23 MB / 0.5733 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002287/12.38, allocations: 1.199 MB / 4.95 GB, free: 34.23 MB / 0.5733 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/12.38, allocations: 1.555 MB / 4.952 GB, free: 33.76 MB / 0.5733 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/12.38, allocations: 4.344 kB / 4.952 GB, free: 33.76 MB / 0.5733 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/12.38, allocations: 6.062 kB / 4.952 GB, free: 33.76 MB / 0.5733 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/12.38, allocations: 37.34 kB / 4.952 GB, free: 33.76 MB / 0.5733 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.2356/12.62, allocations: 136.8 MB / 5.085 GB, free: 11.79 MB / 0.6358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/12.62, allocations: 0.8669 MB / 5.086 GB, free: 11.54 MB / 0.6358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/12.62, allocations: 340.9 kB / 5.086 GB, free: 11.54 MB / 0.6358 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4984/13.12, allocations: 63.99 MB / 5.149 GB, free: 130.6 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/13.12, allocations: 41.02 kB / 5.149 GB, free: 130.5 MB / 0.6671 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001061/13.12, allocations: 107 kB / 5.149 GB, free: 130.5 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=71): time 3.367e-06/13.12, allocations: 0.6875 kB / 5.149 GB, free: 130.5 MB / 0.6671 GB Notification: Performance of matching and sorting (n=74): time 0.008099/13.13, allocations: 2.573 MB / 5.152 GB, free: 130.1 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/13.13, allocations: 63.03 kB / 5.152 GB, free: 130 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/13.13, allocations: 0.8821 MB / 5.152 GB, free: 129.8 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/13.13, allocations: 26.73 kB / 5.152 GB, free: 129.8 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/13.13, allocations: 0.8194 MB / 5.153 GB, free: 129.5 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/13.13, allocations: 255.5 kB / 5.154 GB, free: 129.4 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/13.13, allocations: 2.875 kB / 5.154 GB, free: 129.4 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0001024/13.13, allocations: 357.5 kB / 5.154 GB, free: 129.1 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/13.13, allocations: 371.6 kB / 5.154 GB, free: 129.1 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/13.13, allocations: 0.7477 MB / 5.155 GB, free: 128.5 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/13.14, allocations: 0.4925 MB / 5.155 GB, free: 128.5 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/13.14, allocations: 3.438 kB / 5.155 GB, free: 128.5 MB / 0.6671 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003535/13.14, allocations: 1.438 MB / 5.157 GB, free: 128.4 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009948/13.14, allocations: 5.83 MB / 5.163 GB, free: 122.3 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/13.14, allocations: 18.98 kB / 5.163 GB, free: 122.3 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/13.14, allocations: 454.8 kB / 5.163 GB, free: 122.3 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000934/13.14, allocations: 288.2 kB / 5.163 GB, free: 122.3 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/13.15, allocations: 2.642 MB / 5.166 GB, free: 120.2 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/13.15, allocations: 128.8 kB / 5.166 GB, free: 120.2 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/13.15, allocations: 72.89 kB / 5.166 GB, free: 120.2 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/13.15, allocations: 4.781 kB / 5.166 GB, free: 120.2 MB / 0.6671 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002466/13.15, allocations: 1.102 MB / 5.167 GB, free: 120.1 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/13.15, allocations: 15.44 kB / 5.167 GB, free: 120.1 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/13.15, allocations: 229.8 kB / 5.167 GB, free: 120.1 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/13.15, allocations: 325 kB / 5.168 GB, free: 120.1 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/13.15, allocations: 4.657 MB / 5.172 GB, free: 116 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/13.16, allocations: 122.7 kB / 5.172 GB, free: 116 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/13.16, allocations: 68.77 kB / 5.172 GB, free: 116 MB / 0.6671 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, 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, 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: 67 * Number of states: 0 () * Number of discrete variables: 13 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.ST_LP.steamState_iso.phase,steamTurbines.ST_IP.steamState_iso.phase,steamTurbines.ST_HP.steamState_iso.phase,steamTurbines.byPassLP.fluidState.phase,steamTurbines.byPassIP.fluidState.phase,steamTurbines.byPassHP.fluidState.phase,steamTurbines.valveLP.fluidState.phase,steamTurbines.valveIP.fluidState.phase,steamTurbines.valveHP.fluidState.phase,steamTurbines.mixLP.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 133 * 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 7,1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004533/13.16, allocations: 229.4 kB / 5.173 GB, free: 115.9 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/13.16, allocations: 127.4 kB / 5.173 GB, free: 115.8 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/13.16, allocations: 3.037 MB / 5.176 GB, free: 115.5 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/13.16, allocations: 31.95 kB / 5.176 GB, free: 115.5 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/13.16, allocations: 7.203 kB / 5.176 GB, free: 115.5 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/13.16, allocations: 5.234 kB / 5.176 GB, free: 115.5 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/13.17, allocations: 5.211 MB / 5.181 GB, free: 114.7 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/13.17, allocations: 3.75 kB / 5.181 GB, free: 114.7 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/13.17, allocations: 116.3 kB / 5.181 GB, free: 114.7 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/13.17, allocations: 1.466 MB / 5.182 GB, free: 114.7 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/13.17, allocations: 17.91 kB / 5.182 GB, free: 114.7 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/13.17, allocations: 3.384 MB / 5.186 GB, free: 112.6 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/13.17, allocations: 5.312 kB / 5.186 GB, free: 112.6 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/13.18, allocations: 3.576 MB / 5.189 GB, free: 112 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/13.18, allocations: 247.8 kB / 5.189 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/13.18, allocations: 10.61 kB / 5.189 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009309/13.18, allocations: 107.1 kB / 5.19 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/13.18, allocations: 65.59 kB / 5.19 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/13.18, allocations: 28.45 kB / 5.19 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.000806/13.18, allocations: 0.6481 MB / 5.19 GB, free: 111.7 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.4e-07/13.18, allocations: 2.844 kB / 5.19 GB, free: 111.7 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.007861/13.19, allocations: 2.006 MB / 5.192 GB, free: 111.7 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 49 * 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 4,1 10,1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01321/13.2, allocations: 3.66 MB / 5.196 GB, free: 111.2 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.003836/13.21, allocations: 2.031 MB / 5.198 GB, free: 110.8 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/13.21, allocations: 3.25 kB / 5.198 GB, free: 110.8 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/13.21, allocations: 0.6741 MB / 5.198 GB, free: 110.8 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/13.21, allocations: 441.1 kB / 5.199 GB, free: 110.8 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/13.21, allocations: 2.46 MB / 5.201 GB, free: 110.1 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/13.22, allocations: 1.384 MB / 5.203 GB, free: 109.4 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.00192/13.22, allocations: 0.9203 MB / 5.204 GB, free: 109.4 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/13.22, allocations: 82.86 kB / 5.204 GB, free: 109.4 MB / 0.6671 GB Notification: Performance of SimCode: time 6.52e-07/13.22, allocations: 5.125 kB / 5.204 GB, free: 109.4 MB / 0.6671 GB Notification: Performance of Templates: time 0.08075/13.3, allocations: 60.35 MB / 5.263 GB, free: 106.1 MB / 0.6671 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.makefile (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.sim & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe 2>&1)