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.001437/0.001437, allocations: 181 kB / 16.39 MB, free: 5.762 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.69/1.69, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009033/0.0009032, allocations: 90.59 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5683/0.5683, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004086, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 60.25 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.386/6.538, allocations: 3.018 GB / 3.505 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/6.538, allocations: 85.98 kB / 3.505 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.213/11.75, allocations: 1.468 GB / 4.973 GB, free: 37.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.545e-06/11.75, allocations: 1.031 kB / 4.973 GB, free: 37.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001532/11.75, allocations: 46.25 kB / 4.973 GB, free: 37.77 MB / 0.5886 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.0156/11.77, allocations: 4.216 MB / 4.977 GB, free: 35.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/11.77, allocations: 18.42 kB / 4.977 GB, free: 35.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/11.77, allocations: 347.9 kB / 4.978 GB, free: 35.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/11.77, allocations: 1.142 MB / 4.979 GB, free: 35.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/11.77, allocations: 119.5 kB / 4.979 GB, free: 35.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/11.77, allocations: 160.1 kB / 4.979 GB, free: 35.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00402/11.78, allocations: 2.062 MB / 4.981 GB, free: 34.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/11.78, allocations: 5.094 kB / 4.981 GB, free: 34.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/11.78, allocations: 70.31 kB / 4.981 GB, free: 34.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/11.78, allocations: 39.78 kB / 4.981 GB, free: 34.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/11.78, allocations: 1.536 MB / 4.983 GB, free: 34.77 MB / 0.5886 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.01122/11.79, allocations: 9.439 MB / 4.992 GB, free: 29.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/11.79, allocations: 1.237 MB / 4.993 GB, free: 28.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1058/11.9, allocations: 63.76 MB / 5.055 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/11.9, allocations: 38.91 kB / 5.055 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001692/11.9, allocations: 195.5 kB / 5.056 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=79): time 6.052e-06/11.9, allocations: 0 / 5.056 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.01467/11.92, allocations: 4.145 MB / 5.06 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/11.92, allocations: 59.59 kB / 5.06 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/11.92, allocations: 1.32 MB / 5.061 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/11.92, allocations: 40.64 kB / 5.061 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/11.92, allocations: 0.7669 MB / 5.062 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/11.92, allocations: 294.5 kB / 5.062 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/11.92, allocations: 23.19 kB / 5.062 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001713/11.92, allocations: 357.6 kB / 5.062 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009681/11.92, allocations: 469.7 kB / 5.063 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/11.92, allocations: 0.8465 MB / 5.064 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/11.92, allocations: 0.5161 MB / 5.064 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/11.92, allocations: 7.438 kB / 5.064 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00371/11.93, allocations: 1.682 MB / 5.066 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002417/11.93, allocations: 6.003 MB / 5.072 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/11.93, allocations: 17.66 kB / 5.072 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006364/11.94, allocations: 0.8321 MB / 5.073 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/11.94, allocations: 280.9 kB / 5.073 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/11.94, allocations: 2.652 MB / 5.075 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/11.94, allocations: 148 kB / 5.076 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/11.94, allocations: 75.91 kB / 5.076 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/11.94, allocations: 7.312 kB / 5.076 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002884/11.95, allocations: 1.421 MB / 5.077 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/11.95, allocations: 11.66 kB / 5.077 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009382/11.95, allocations: 247.6 kB / 5.077 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/11.95, allocations: 330.7 kB / 5.078 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/11.95, allocations: 4.688 MB / 5.082 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/11.95, allocations: 156.5 kB / 5.082 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/11.95, allocations: 63.12 kB / 5.082 GB, free: 22.04 MB / 0.6355 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, 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" 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: 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 () * Number of clocked 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.001386/11.96, allocations: 0.4924 MB / 5.083 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/11.96, allocations: 171.7 kB / 5.083 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/11.96, allocations: 3.568 MB / 5.086 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/11.96, allocations: 29.33 kB / 5.087 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/11.96, allocations: 4 kB / 5.087 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/11.96, allocations: 6.984 kB / 5.087 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008122/11.97, allocations: 5.683 MB / 5.092 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/11.97, allocations: 288 / 5.092 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/11.97, allocations: 139.1 kB / 5.092 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00602/11.98, allocations: 1.641 MB / 5.094 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/11.98, allocations: 25.67 kB / 5.094 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/11.98, allocations: 3.331 MB / 5.097 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/11.98, allocations: 9.672 kB / 5.097 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006511/11.99, allocations: 3.91 MB / 5.101 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/11.99, allocations: 345.5 kB / 5.101 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/11.99, allocations: 21.19 kB / 5.101 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/11.99, allocations: 130.7 kB / 5.101 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/11.99, allocations: 59.11 kB / 5.101 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/11.99, allocations: 34.17 kB / 5.101 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001623/11.99, allocations: 1.106 MB / 5.103 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.21e-07/11.99, allocations: 2.25 kB / 5.103 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01157/12, allocations: 2.177 MB / 5.105 GB, free: 16.85 MB / 0.6355 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 57 * 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.01389/12.02, allocations: 3.233 MB / 5.108 GB, free: 16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006404/12.02, allocations: 2.359 MB / 5.11 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/12.02, allocations: 2 kB / 5.11 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/12.02, allocations: 0.8098 MB / 5.111 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004875/12.03, allocations: 0.8347 MB / 5.112 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/12.03, allocations: 4.211 MB / 5.116 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/12.04, allocations: 1.402 MB / 5.117 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001917/12.04, allocations: 0.8209 MB / 5.118 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/12.04, allocations: 117 kB / 5.118 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/12.04, allocations: 0 / 5.118 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.5424/12.58, allocations: 82.84 MB / 5.199 GB, free: 77.93 MB / 0.6355 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)