Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.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_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009921/0.0009923, allocations: 175.5 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.3/1.3, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0007357/0.0007357, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.236/0.236, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.873e-05, allocations: 0 / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09103, allocations: 60.24 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.693/5.785, allocations: 2.975 GB / 3.456 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/5.785, allocations: 79.95 kB / 3.456 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.299/9.084, allocations: 1.063 GB / 4.519 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.233e-06/9.084, allocations: 3.938 kB / 4.519 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.324e-05/9.084, allocations: 31.98 kB / 4.519 GB, free: 5.031 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.009041/9.093, allocations: 2.669 MB / 4.522 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/9.093, allocations: 8.031 kB / 4.522 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007853/9.094, allocations: 202.9 kB / 4.522 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/9.095, allocations: 0.6384 MB / 4.522 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/9.095, allocations: 66 kB / 4.522 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/9.095, allocations: 88 kB / 4.523 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3362/9.431, allocations: 1.22 MB / 4.524 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/9.431, allocations: 6.453 kB / 4.524 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/9.431, allocations: 42.69 kB / 4.524 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/9.431, allocations: 23.03 kB / 4.524 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/9.433, allocations: 0.7413 MB / 4.524 GB, free: 41.56 MB / 0.5573 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.004848/9.438, allocations: 5.658 MB / 4.53 GB, free: 37.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/9.439, allocations: 437.9 kB / 4.53 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/9.439, allocations: 127.3 kB / 4.531 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1138/9.553, allocations: 63.99 MB / 4.593 GB, free: 30.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/9.553, allocations: 41.83 kB / 4.593 GB, free: 30.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/9.553, allocations: 0 / 4.593 GB, free: 30.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.004459/9.558, allocations: 1.488 MB / 4.595 GB, free: 30.47 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/9.558, allocations: 58.25 kB / 4.595 GB, free: 30.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009754/9.559, allocations: 0.6758 MB / 4.595 GB, free: 30.28 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/9.559, allocations: 37.02 kB / 4.595 GB, free: 30.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/9.559, allocations: 462.4 kB / 4.596 GB, free: 30.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/9.559, allocations: 126.8 kB / 4.596 GB, free: 30.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/9.559, allocations: 8.438 kB / 4.596 GB, free: 30.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001088/9.559, allocations: 330.5 kB / 4.596 GB, free: 29.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/9.56, allocations: 146.2 kB / 4.596 GB, free: 29.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/9.56, allocations: 346.2 kB / 4.597 GB, free: 29.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/9.56, allocations: 182.4 kB / 4.597 GB, free: 29.42 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/9.56, allocations: 2.375 kB / 4.597 GB, free: 29.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00111/9.561, allocations: 0.6328 MB / 4.597 GB, free: 29.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008817/9.562, allocations: 2.876 MB / 4.6 GB, free: 26.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/9.562, allocations: 12.62 kB / 4.6 GB, free: 26.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/9.563, allocations: 101.7 kB / 4.6 GB, free: 26.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/9.563, allocations: 131.2 kB / 4.6 GB, free: 26.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004546/9.564, allocations: 0.6161 MB / 4.601 GB, free: 25.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/9.564, allocations: 66.75 kB / 4.601 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/9.564, allocations: 26.66 kB / 4.601 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/9.564, allocations: 3.781 kB / 4.601 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000903/9.565, allocations: 0.5172 MB / 4.602 GB, free: 25.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/9.565, allocations: 7 kB / 4.602 GB, free: 25.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/9.566, allocations: 102.8 kB / 4.602 GB, free: 25.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/9.566, allocations: 126.8 kB / 4.602 GB, free: 25.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003901/9.567, allocations: 0.6188 MB / 4.603 GB, free: 25.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000653/9.567, allocations: 61.8 kB / 4.603 GB, free: 25.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/9.567, allocations: 28.12 kB / 4.603 GB, free: 25.2 MB / 0.5886 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: 33 * Number of states: 0 () * Number of discrete variables: 7 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.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 (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002607/9.568, allocations: 200.7 kB / 4.603 GB, free: 25.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/9.568, allocations: 86.59 kB / 4.603 GB, free: 25.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/9.569, allocations: 1.352 MB / 4.604 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/9.569, allocations: 11.94 kB / 4.604 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/9.569, allocations: 0.5 kB / 4.604 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/9.569, allocations: 0 / 4.604 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/9.571, allocations: 0.9919 MB / 4.605 GB, free: 24.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/9.571, allocations: 2.531 kB / 4.605 GB, free: 24.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/9.571, allocations: 63.55 kB / 4.605 GB, free: 24.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/9.571, allocations: 113.7 kB / 4.605 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/9.571, allocations: 8.062 kB / 4.605 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004006/9.572, allocations: 0.6489 MB / 4.606 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/9.572, allocations: 4.062 kB / 4.606 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/9.573, allocations: 1.117 MB / 4.607 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/9.573, allocations: 250.6 kB / 4.607 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/9.574, allocations: 13.88 kB / 4.607 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/9.574, allocations: 72.06 kB / 4.607 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/9.574, allocations: 21.31 kB / 4.607 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/9.574, allocations: 12.81 kB / 4.607 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008487/9.575, allocations: 0.7246 MB / 4.608 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/9.575, allocations: 0 / 4.608 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006945/9.582, allocations: 1.699 MB / 4.61 GB, free: 23.59 MB / 0.5886 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: 4 ($cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0103/9.592, allocations: 2.618 MB / 4.612 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001314/9.594, allocations: 0.7296 MB / 4.613 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/9.594, allocations: 1.031 kB / 4.613 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/9.594, allocations: 278 kB / 4.613 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/9.597, allocations: 490.8 kB / 4.614 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/9.599, allocations: 1.291 MB / 4.615 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/9.599, allocations: 1.062 MB / 4.616 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001163/9.6, allocations: 479 kB / 4.617 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/9.601, allocations: 52.67 kB / 4.617 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/9.601, allocations: 0 / 4.617 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of Templates: time 0.07604/9.677, allocations: 64.87 MB / 4.68 GB, free: 18.06 MB / 0.5886 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.makefile (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.sim & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe 2>&1)