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.001175/0.001175, allocations: 174.7 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.572/1.572, 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.0008463/0.0008465, allocations: 82.66 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.302/0.302, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.323e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.112/8.247, allocations: 2.975 GB / 3.456 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/8.247, allocations: 79.83 kB / 3.456 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.232/12.48, allocations: 1.063 GB / 4.519 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.575e-06/12.48, allocations: 0 / 4.519 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.861e-05/12.48, allocations: 24 kB / 4.519 GB, free: 4.973 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.01757/12.5, allocations: 2.688 MB / 4.522 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 9.521e-05/12.5, allocations: 8.031 kB / 4.522 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004908/12.5, allocations: 143.7 kB / 4.522 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/12.5, allocations: 202.9 kB / 4.522 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/12.5, allocations: 0.6345 MB / 4.523 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/12.5, allocations: 70 kB / 4.523 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/12.5, allocations: 95.98 kB / 4.523 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4896/12.99, allocations: 1.213 MB / 4.524 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/12.99, allocations: 5.484 kB / 4.524 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/12.99, allocations: 41.09 kB / 4.524 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/12.99, allocations: 28.14 kB / 4.524 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/12.99, allocations: 0.7383 MB / 4.525 GB, free: 41.2 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.0055/13, allocations: 5.647 MB / 4.53 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/13, allocations: 446.1 kB / 4.531 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/13, allocations: 128 kB / 4.531 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1208/13.12, allocations: 63.99 MB / 4.593 GB, free: 30.58 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/13.12, allocations: 42.55 kB / 4.593 GB, free: 30.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 2.635e-06/13.12, allocations: 0 / 4.593 GB, free: 30.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.004462/13.13, allocations: 1.493 MB / 4.595 GB, free: 30.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/13.13, allocations: 54.5 kB / 4.595 GB, free: 30.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/13.13, allocations: 0.6713 MB / 4.596 GB, free: 29.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/13.13, allocations: 33.23 kB / 4.596 GB, free: 29.88 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/13.13, allocations: 468.8 kB / 4.596 GB, free: 29.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/13.13, allocations: 126.1 kB / 4.596 GB, free: 29.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/13.13, allocations: 7.719 kB / 4.596 GB, free: 29.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001429/13.13, allocations: 330.9 kB / 4.596 GB, free: 29.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/13.13, allocations: 153.3 kB / 4.597 GB, free: 29.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/13.13, allocations: 338.6 kB / 4.597 GB, free: 29.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/13.13, allocations: 187.6 kB / 4.597 GB, free: 29.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/13.13, allocations: 0 / 4.597 GB, free: 29.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001055/13.13, allocations: 0.6362 MB / 4.598 GB, free: 28.95 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001332/13.13, allocations: 2.882 MB / 4.601 GB, free: 25.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/13.13, allocations: 7.125 kB / 4.601 GB, free: 25.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/13.13, allocations: 95.56 kB / 4.601 GB, free: 25.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/13.13, allocations: 134.8 kB / 4.601 GB, free: 25.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005252/13.13, allocations: 0.6186 MB / 4.601 GB, free: 25.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/13.13, allocations: 60.8 kB / 4.601 GB, free: 25.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/13.13, allocations: 31.83 kB / 4.601 GB, free: 25.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/13.13, allocations: 3.219 kB / 4.601 GB, free: 25.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008739/13.13, allocations: 0.5149 MB / 4.602 GB, free: 25.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/13.13, allocations: 7.5 kB / 4.602 GB, free: 25.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/13.13, allocations: 101.9 kB / 4.602 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/13.13, allocations: 129.3 kB / 4.602 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004394/13.13, allocations: 0.6188 MB / 4.603 GB, free: 24.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/13.14, allocations: 60.17 kB / 4.603 GB, free: 24.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/13.14, allocations: 36.14 kB / 4.603 GB, free: 24.84 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.0002902/13.14, allocations: 193.8 kB / 4.603 GB, free: 24.71 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/13.14, allocations: 86.34 kB / 4.603 GB, free: 24.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/13.14, allocations: 1.348 MB / 4.604 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/13.14, allocations: 14.38 kB / 4.604 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/13.14, allocations: 4 kB / 4.604 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/13.14, allocations: 0 / 4.604 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/13.14, allocations: 0.9948 MB / 4.605 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/13.14, allocations: 1.031 kB / 4.605 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/13.14, allocations: 65.03 kB / 4.605 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/13.14, allocations: 119.1 kB / 4.606 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/13.14, allocations: 10.8 kB / 4.606 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004674/13.14, allocations: 0.6458 MB / 4.606 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/13.14, allocations: 0 / 4.606 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/13.14, allocations: 1.12 MB / 4.607 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/13.14, allocations: 253.6 kB / 4.608 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/13.14, allocations: 10.41 kB / 4.608 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/13.14, allocations: 72.92 kB / 4.608 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/13.14, allocations: 19.64 kB / 4.608 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/13.14, allocations: 11.52 kB / 4.608 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008352/13.14, allocations: 0.7295 MB / 4.608 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/13.14, allocations: 0 / 4.608 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007955/13.15, allocations: 1.701 MB / 4.61 GB, free: 23.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 () * 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.01522/13.17, allocations: 4.064 MB / 4.614 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001694/13.17, allocations: 0.7299 MB / 4.615 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/13.17, allocations: 0 / 4.615 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/13.17, allocations: 268.5 kB / 4.615 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/13.17, allocations: 487 kB / 4.615 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/13.18, allocations: 1.909 MB / 4.617 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/13.18, allocations: 1.06 MB / 4.618 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001201/13.18, allocations: 483 kB / 4.619 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/13.18, allocations: 413.3 kB / 4.619 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of SimCode: time 1.663e-06/13.18, allocations: 2.406 kB / 4.619 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/13.31, allocations: 79.25 MB / 4.697 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/13.31, allocations: 193.7 kB / 4.697 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.045/18.36, allocations: 7.875 kB / 4.697 GB, free: 16.05 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)