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: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass",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.001073/0.001073, allocations: 176.4 kB / 8.346 MB, free: 0.7266 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.55/1.55, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.000895/0.000895, allocations: 93.14 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.4669/0.4669, allocations: 48.77 MB / 358.8 MB, free: 53.22 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.08e-05, allocations: 4 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.657/8.804, allocations: 3.017 GB / 3.491 GB, free: 52.75 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/8.804, allocations: 71.97 kB / 3.491 GB, free: 52.68 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 5.866/14.67, allocations: 1.452 GB / 4.943 GB, free: 31.83 MB / 0.5733 GB Notification: Performance of FrontEnd: time 2.444e-06/14.67, allocations: 0 / 4.943 GB, free: 31.83 MB / 0.5733 GB Notification: Performance of Transformations before backend: time 0.0001335/14.67, allocations: 50.28 kB / 4.944 GB, free: 31.82 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.01619/14.69, allocations: 4.009 MB / 4.947 GB, free: 29.77 MB / 0.5733 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/14.69, allocations: 8.5 kB / 4.947 GB, free: 29.77 MB / 0.5733 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/14.69, allocations: 349.9 kB / 4.948 GB, free: 29.66 MB / 0.5733 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/14.69, allocations: 1.124 MB / 4.949 GB, free: 29.25 MB / 0.5733 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/14.69, allocations: 54.64 kB / 4.949 GB, free: 29.25 MB / 0.5733 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/14.69, allocations: 91.16 kB / 4.949 GB, free: 29.25 MB / 0.5733 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/14.69, allocations: 1.199 MB / 4.95 GB, free: 29.25 MB / 0.5733 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/14.7, allocations: 1.562 MB / 4.952 GB, free: 28.76 MB / 0.5733 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/14.7, allocations: 7.406 kB / 4.952 GB, free: 28.75 MB / 0.5733 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/14.7, allocations: 3.969 kB / 4.952 GB, free: 28.75 MB / 0.5733 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/14.7, allocations: 41.44 kB / 4.952 GB, free: 28.75 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.7695/15.47, allocations: 136.8 MB / 5.085 GB, free: 35.16 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/15.47, allocations: 0.8642 MB / 5.086 GB, free: 34.94 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/15.47, allocations: 344.3 kB / 5.086 GB, free: 34.93 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.129/15.6, allocations: 63.99 MB / 5.149 GB, free: 26.55 MB / 0.6358 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/15.6, allocations: 48.08 kB / 5.149 GB, free: 26.51 MB / 0.6358 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001355/15.6, allocations: 115.6 kB / 5.149 GB, free: 26.51 MB / 0.6358 GB Notification: Performance of pre-optimization done (n=71): time 1.099e-05/15.6, allocations: 1.547 kB / 5.149 GB, free: 26.51 MB / 0.6358 GB Notification: Performance of matching and sorting (n=74): time 0.009982/15.61, allocations: 2.564 MB / 5.152 GB, free: 25.97 MB / 0.6358 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/15.61, allocations: 61.53 kB / 5.152 GB, free: 25.91 MB / 0.6358 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/15.61, allocations: 0.8819 MB / 5.153 GB, free: 25.75 MB / 0.6358 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/15.61, allocations: 29.7 kB / 5.153 GB, free: 25.72 MB / 0.6358 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/15.61, allocations: 0.8239 MB / 5.153 GB, free: 25.41 MB / 0.6358 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/15.61, allocations: 252.8 kB / 5.154 GB, free: 25.29 MB / 0.6358 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/15.61, allocations: 0 / 5.154 GB, free: 25.29 MB / 0.6358 GB Notification: Performance of setup shared object (initialization): time 0.0002207/15.61, allocations: 351 kB / 5.154 GB, free: 24.98 MB / 0.6358 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/15.62, allocations: 373.8 kB / 5.154 GB, free: 24.97 MB / 0.6358 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/15.62, allocations: 0.7487 MB / 5.155 GB, free: 24.43 MB / 0.6358 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/15.62, allocations: 0.4924 MB / 5.156 GB, free: 24.39 MB / 0.6358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/15.62, allocations: 13.05 kB / 5.156 GB, free: 24.39 MB / 0.6358 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003936/15.62, allocations: 1.431 MB / 5.157 GB, free: 24.23 MB / 0.6358 GB Notification: Performance of prepare postOptimizeDAE: time 0.002366/15.62, allocations: 5.827 MB / 5.163 GB, free: 18.11 MB / 0.6358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/15.62, allocations: 14.72 kB / 5.163 GB, free: 18.11 MB / 0.6358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/15.63, allocations: 461 kB / 5.163 GB, free: 18.07 MB / 0.6358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/15.63, allocations: 281.2 kB / 5.163 GB, free: 18.07 MB / 0.6358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/15.63, allocations: 2.656 MB / 5.166 GB, free: 15.97 MB / 0.6358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/15.63, allocations: 131.1 kB / 5.166 GB, free: 15.95 MB / 0.6358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/15.63, allocations: 69.95 kB / 5.166 GB, free: 15.95 MB / 0.6358 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/15.63, allocations: 3.969 kB / 5.166 GB, free: 15.95 MB / 0.6358 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003156/15.64, allocations: 1.101 MB / 5.167 GB, free: 15.89 MB / 0.6358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/15.64, allocations: 16.22 kB / 5.167 GB, free: 15.89 MB / 0.6358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008534/15.64, allocations: 232.8 kB / 5.167 GB, free: 15.85 MB / 0.6358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/15.64, allocations: 326.1 kB / 5.168 GB, free: 15.85 MB / 0.6358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/15.64, allocations: 4.656 MB / 5.172 GB, free: 11.73 MB / 0.6358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/15.65, allocations: 120.1 kB / 5.172 GB, free: 11.72 MB / 0.6358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/15.65, allocations: 65.22 kB / 5.172 GB, free: 11.72 MB / 0.6358 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.0006842/15.65, allocations: 231.8 kB / 5.173 GB, free: 11.6 MB / 0.6358 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003012/15.65, allocations: 0.9616 MB / 5.174 GB, free: 11.45 MB / 0.6358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/15.65, allocations: 120.2 kB / 5.174 GB, free: 11.38 MB / 0.6358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/15.65, allocations: 3.037 MB / 5.177 GB, free: 11.07 MB / 0.6358 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/15.65, allocations: 33.23 kB / 5.177 GB, free: 11.07 MB / 0.6358 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/15.65, allocations: 3.953 kB / 5.177 GB, free: 11.06 MB / 0.6358 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/15.65, allocations: 7.891 kB / 5.177 GB, free: 11.06 MB / 0.6358 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009314/15.66, allocations: 5.205 MB / 5.182 GB, free: 10.25 MB / 0.6358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/15.66, allocations: 5.812 kB / 5.182 GB, free: 10.25 MB / 0.6358 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/15.66, allocations: 120.5 kB / 5.182 GB, free: 10.25 MB / 0.6358 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/15.67, allocations: 1.463 MB / 5.183 GB, free: 10.16 MB / 0.6358 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/15.67, allocations: 19.73 kB / 5.183 GB, free: 10.16 MB / 0.6358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/15.67, allocations: 3.38 MB / 5.187 GB, free: 8.059 MB / 0.6358 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/15.67, allocations: 4.594 kB / 5.187 GB, free: 8.059 MB / 0.6358 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/15.68, allocations: 3.587 MB / 5.19 GB, free: 7.453 MB / 0.6358 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008861/15.68, allocations: 258.8 kB / 5.19 GB, free: 7.27 MB / 0.6358 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004905/15.68, allocations: 6.062 kB / 5.19 GB, free: 7.27 MB / 0.6358 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/15.68, allocations: 104.2 kB / 5.191 GB, free: 7.254 MB / 0.6358 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/15.68, allocations: 62.91 kB / 5.191 GB, free: 7.246 MB / 0.6358 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.125e-05/15.68, allocations: 35.64 kB / 5.191 GB, free: 7.242 MB / 0.6358 GB Notification: Performance of sorting global known variables: time 0.001352/15.68, allocations: 0.6461 MB / 5.191 GB, free: 7.133 MB / 0.6358 GB Notification: Performance of sort global known variables: time 2.61e-07/15.68, allocations: 0 / 5.191 GB, free: 7.133 MB / 0.6358 GB Notification: Performance of remove unused functions: time 0.01208/15.69, allocations: 2.003 MB / 5.193 GB, free: 7.062 MB / 0.6358 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.02124/15.71, allocations: 7.326 MB / 5.2 GB, free: 20.8 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.005244/15.72, allocations: 2.024 MB / 5.202 GB, free: 20.46 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/15.72, allocations: 2.219 kB / 5.202 GB, free: 20.46 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/15.72, allocations: 0.6818 MB / 5.203 GB, free: 20.43 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/15.72, allocations: 438.5 kB / 5.203 GB, free: 20.41 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/15.74, allocations: 3.172 MB / 5.207 GB, free: 19.5 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/15.74, allocations: 1.378 MB / 5.208 GB, free: 18.76 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.002525/15.74, allocations: 0.9213 MB / 5.209 GB, free: 18.71 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/15.74, allocations: 0.727 MB / 5.21 GB, free: 18.71 MB / 0.6515 GB Notification: Performance of SimCode: time 2.564e-06/15.74, allocations: 0 / 5.21 GB, free: 18.71 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6638/16.41, allocations: 78.98 MB / 5.287 GB, free: 111.4 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/16.41, allocations: 148.8 kB / 5.287 GB, free: 111.2 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.591/22, allocations: 1.75 kB / 5.287 GB, free: 111.2 MB / 0.6515 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass.fmu > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe 2>&1)