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.0009578/0.000958, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.344/1.344, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008135/0.0008138, allocations: 86.64 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2447/0.2447, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.883e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 60.25 MB / 492.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.148/6.256, allocations: 3.018 GB / 3.499 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/6.256, allocations: 79.59 kB / 3.499 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.62/10.88, allocations: 1.464 GB / 4.963 GB, free: 33.07 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.142e-06/10.88, allocations: 1.906 kB / 4.963 GB, free: 33.07 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001031/10.88, allocations: 47.92 kB / 4.963 GB, free: 33.07 MB / 0.573 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.01096/10.89, allocations: 4.006 MB / 4.967 GB, free: 31.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/10.89, allocations: 11.95 kB / 4.967 GB, free: 31.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/10.89, allocations: 345.2 kB / 4.967 GB, free: 30.96 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/10.89, allocations: 1.129 MB / 4.968 GB, free: 30.55 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/10.89, allocations: 118.3 kB / 4.968 GB, free: 30.55 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/10.89, allocations: 161.3 kB / 4.968 GB, free: 30.55 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/10.89, allocations: 2.032 MB / 4.97 GB, free: 30.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/10.89, allocations: 6.406 kB / 4.97 GB, free: 30.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/10.89, allocations: 74.84 kB / 4.97 GB, free: 30.04 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/10.89, allocations: 39.69 kB / 4.97 GB, free: 30.04 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/10.9, allocations: 1.417 MB / 4.972 GB, free: 30 MB / 0.573 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.007815/10.9, allocations: 9.428 MB / 4.981 GB, free: 24.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/10.91, allocations: 1.149 MB / 4.982 GB, free: 24.08 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/10.91, allocations: 374 kB / 4.982 GB, free: 24.06 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1081/11.02, allocations: 64.01 MB / 5.045 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/11.02, allocations: 41.66 kB / 5.045 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001124/11.02, allocations: 186.3 kB / 5.045 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 4.839e-06/11.02, allocations: 0 / 5.045 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82): time 0.007487/11.02, allocations: 2.855 MB / 5.048 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/11.02, allocations: 68.03 kB / 5.048 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/11.03, allocations: 1.299 MB / 5.049 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/11.03, allocations: 41.33 kB / 5.049 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/11.03, allocations: 0.7741 MB / 5.05 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/11.03, allocations: 284.4 kB / 5.05 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/11.03, allocations: 29.12 kB / 5.05 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001359/11.03, allocations: 350 kB / 5.051 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/11.03, allocations: 376.7 kB / 5.051 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/11.03, allocations: 0.7705 MB / 5.052 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/11.03, allocations: 436.8 kB / 5.052 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/11.03, allocations: 10.81 kB / 5.052 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002361/11.03, allocations: 1.473 MB / 5.054 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001964/11.03, allocations: 5.997 MB / 5.06 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/11.03, allocations: 14.5 kB / 5.06 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/11.04, allocations: 0.7635 MB / 5.06 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/11.04, allocations: 279.5 kB / 5.061 GB, free: 6.266 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/11.04, allocations: 2.532 MB / 5.063 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/11.04, allocations: 153.8 kB / 5.063 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/11.04, allocations: 71.2 kB / 5.063 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/11.04, allocations: 8.094 kB / 5.063 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002404/11.05, allocations: 1.252 MB / 5.064 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/11.05, allocations: 12 kB / 5.064 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009535/11.05, allocations: 251.7 kB / 5.065 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/11.05, allocations: 322.5 kB / 5.065 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/11.05, allocations: 4.661 MB / 5.07 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/11.05, allocations: 147.4 kB / 5.07 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/11.05, allocations: 67.39 kB / 5.07 GB, free: 13.63 MB / 0.6198 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.0005021/11.06, allocations: 262.2 kB / 5.07 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/11.06, allocations: 177.7 kB / 5.07 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/11.06, allocations: 3.39 MB / 5.074 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/11.06, allocations: 33.22 kB / 5.074 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/11.06, allocations: 3.953 kB / 5.074 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/11.06, allocations: 3.797 kB / 5.074 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007761/11.07, allocations: 5.542 MB / 5.079 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/11.07, allocations: 0 / 5.079 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/11.07, allocations: 141.6 kB / 5.079 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/11.07, allocations: 1.753 MB / 5.081 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/11.07, allocations: 27.64 kB / 5.081 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/11.08, allocations: 3.208 MB / 5.084 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/11.08, allocations: 8.062 kB / 5.084 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3673/11.44, allocations: 3.741 MB / 5.088 GB, free: 79.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000946/11.45, allocations: 344.5 kB / 5.088 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004254/11.45, allocations: 19.81 kB / 5.088 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/11.45, allocations: 134.9 kB / 5.088 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/11.45, allocations: 67.02 kB / 5.088 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/11.45, allocations: 33.81 kB / 5.088 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001706/11.45, allocations: 1.086 MB / 5.089 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/11.45, allocations: 0 / 5.089 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.007944/11.46, allocations: 2.177 MB / 5.091 GB, free: 79.32 MB / 0.6198 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 () * 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.01086/11.47, allocations: 3.241 MB / 5.095 GB, free: 78.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004277/11.47, allocations: 2.15 MB / 5.097 GB, free: 78.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/11.47, allocations: 2.719 kB / 5.097 GB, free: 78.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/11.47, allocations: 0.7233 MB / 5.097 GB, free: 78.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/11.48, allocations: 0.837 MB / 5.098 GB, free: 78.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/11.48, allocations: 2.636 MB / 5.101 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/11.48, allocations: 1.411 MB / 5.102 GB, free: 77.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002292/11.49, allocations: 0.8812 MB / 5.103 GB, free: 77.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/11.49, allocations: 95.31 kB / 5.103 GB, free: 77.1 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/11.49, allocations: 2.812 kB / 5.103 GB, free: 77.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.1052/11.59, allocations: 92 MB / 5.193 GB, free: 73.14 MB / 0.6198 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)