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: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 180.6 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.714/1.714, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009535/0.0009533, allocations: 95.33 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4712/0.4712, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 12 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.686/5.822, allocations: 2.975 GB / 3.462 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/5.822, allocations: 83 kB / 3.462 GB, free: 49.51 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.228/9.05, allocations: 1.066 GB / 4.528 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/9.05, allocations: 0 / 4.528 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.468e-05/9.05, allocations: 34.03 kB / 4.528 GB, free: 9.918 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.01035/9.061, allocations: 2.779 MB / 4.531 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/9.061, allocations: 12.03 kB / 4.531 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004642/9.061, allocations: 143.7 kB / 4.531 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/9.062, allocations: 194.9 kB / 4.531 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/9.064, allocations: 0.6402 MB / 4.532 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/9.064, allocations: 70 kB / 4.532 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/9.064, allocations: 91.94 kB / 4.532 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/9.066, allocations: 1.198 MB / 4.533 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/9.066, allocations: 0 / 4.533 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/9.066, allocations: 44 kB / 4.533 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/9.066, allocations: 24 kB / 4.533 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/9.068, allocations: 0.7219 MB / 4.534 GB, free: 3.797 MB / 0.5573 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.3148/9.383, allocations: 5.648 MB / 4.54 GB, free: 37.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/9.384, allocations: 409.6 kB / 4.54 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1138/9.498, allocations: 63.74 MB / 4.602 GB, free: 30.37 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/9.498, allocations: 38.88 kB / 4.602 GB, free: 30.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 3.817e-06/9.498, allocations: 4 kB / 4.602 GB, free: 30.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.004538/9.503, allocations: 1.512 MB / 4.604 GB, free: 29.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/9.503, allocations: 61.45 kB / 4.604 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/9.504, allocations: 0.6857 MB / 4.604 GB, free: 29.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/9.504, allocations: 28.39 kB / 4.605 GB, free: 29.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/9.504, allocations: 468.4 kB / 4.605 GB, free: 29.54 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/9.504, allocations: 122.7 kB / 4.605 GB, free: 29.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/9.504, allocations: 18.12 kB / 4.605 GB, free: 29.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001088/9.504, allocations: 324.6 kB / 4.605 GB, free: 29.17 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/9.505, allocations: 158 kB / 4.606 GB, free: 29.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/9.505, allocations: 340.2 kB / 4.606 GB, free: 28.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/9.505, allocations: 188.4 kB / 4.606 GB, free: 28.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/9.505, allocations: 3.469 kB / 4.606 GB, free: 28.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001104/9.506, allocations: 0.642 MB / 4.607 GB, free: 28.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001014/9.507, allocations: 2.874 MB / 4.609 GB, free: 25.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/9.507, allocations: 7.938 kB / 4.609 GB, free: 25.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/9.508, allocations: 105 kB / 4.61 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/9.508, allocations: 126.6 kB / 4.61 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005053/9.509, allocations: 0.6297 MB / 4.61 GB, free: 25.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007926/9.51, allocations: 56.73 kB / 4.61 GB, free: 25.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/9.51, allocations: 34.66 kB / 4.61 GB, free: 25.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/9.51, allocations: 5.25 kB / 4.61 GB, free: 25.23 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009797/9.511, allocations: 0.5151 MB / 4.611 GB, free: 25.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/9.511, allocations: 7.281 kB / 4.611 GB, free: 25.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/9.511, allocations: 98.95 kB / 4.611 GB, free: 25.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/9.512, allocations: 130.9 kB / 4.611 GB, free: 25.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004221/9.512, allocations: 0.6225 MB / 4.612 GB, free: 24.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/9.513, allocations: 61.77 kB / 4.612 GB, free: 24.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/9.513, allocations: 30.12 kB / 4.612 GB, free: 24.67 MB / 0.5886 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, -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" 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: 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 () * Number of clocked 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.0005889/9.513, allocations: 360.9 kB / 4.612 GB, free: 24.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/9.513, allocations: 90.98 kB / 4.612 GB, free: 24.42 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/9.515, allocations: 1.357 MB / 4.614 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/9.515, allocations: 8.719 kB / 4.614 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/9.515, allocations: 0 / 4.614 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/9.515, allocations: 3.469 kB / 4.614 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/9.517, allocations: 0.9946 MB / 4.615 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/9.517, allocations: 5.031 kB / 4.615 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/9.517, allocations: 63.95 kB / 4.615 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/9.518, allocations: 115.7 kB / 4.615 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/9.518, allocations: 8.453 kB / 4.615 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004619/9.518, allocations: 0.6462 MB / 4.615 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/9.518, allocations: 4.516 kB / 4.615 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/9.52, allocations: 1.132 MB / 4.617 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/9.52, allocations: 251.9 kB / 4.617 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/9.52, allocations: 7.078 kB / 4.617 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/9.521, allocations: 69.11 kB / 4.617 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/9.521, allocations: 23.52 kB / 4.617 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/9.521, allocations: 11.62 kB / 4.617 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001066/9.522, allocations: 0.7393 MB / 4.618 GB, free: 23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/9.522, allocations: 0 / 4.618 GB, free: 23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008253/9.53, allocations: 1.702 MB / 4.619 GB, free: 23 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 () * Number of clocked 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.01413/9.545, allocations: 4.074 MB / 4.623 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001644/9.546, allocations: 0.71 MB / 4.624 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/9.546, allocations: 0 / 4.624 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004346/9.547, allocations: 270.8 kB / 4.624 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/9.549, allocations: 486.7 kB / 4.625 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/9.564, allocations: 10.57 MB / 4.635 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/9.564, allocations: 1.058 MB / 4.636 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009656/9.565, allocations: 461.8 kB / 4.636 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/9.566, allocations: 420.3 kB / 4.637 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/9.566, allocations: 5.312 kB / 4.637 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/9.676, allocations: 72.81 MB / 4.708 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/9.677, allocations: 215.9 kB / 4.708 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/13.99, allocations: 0 / 4.708 GB, free: 9.637 MB / 0.5886 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base.fmu > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe 2>&1)