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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009009/0.0009009, allocations: 186.2 kB / 8.138 MB, free: 2.18 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.027/1.027, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.0009796/0.0009796, allocations: 100.2 kB / 261.7 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2861/0.2861, allocations: 48.76 MB / 358.5 MB, free: 53.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09489/0.381, allocations: 66.36 MB / 424.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.4802, allocations: 60.26 MB / 485.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.054/4.535, allocations: 3.017 GB / 3.491 GB, free: 34.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/4.535, allocations: 75.97 kB / 3.491 GB, free: 34.48 MB / 0.5105 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 3.872/8.407, allocations: 1.459 GB / 4.95 GB, free: 30.68 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/8.407, allocations: 8.25 kB / 4.95 GB, free: 30.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/8.409, allocations: 350 kB / 4.951 GB, free: 30.54 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/8.411, allocations: 1.13 MB / 4.952 GB, free: 29.86 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/8.411, allocations: 52.59 kB / 4.952 GB, free: 29.86 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/8.411, allocations: 98.19 kB / 4.952 GB, free: 29.85 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/8.413, allocations: 1.186 MB / 4.953 GB, free: 29.36 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/8.415, allocations: 1.552 MB / 4.955 GB, free: 28.47 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/8.415, allocations: 10.5 kB / 4.955 GB, free: 28.46 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/8.415, allocations: 2.938 kB / 4.955 GB, free: 28.46 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/8.415, allocations: 41.19 kB / 4.955 GB, free: 28.46 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4302/8.845, allocations: 137.2 MB / 5.089 GB, free: 35.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/8.847, allocations: 0.6695 MB / 5.089 GB, free: 35.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/8.847, allocations: 367.2 kB / 5.09 GB, free: 35.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1085/8.956, allocations: 64.06 MB / 5.152 GB, free: 41.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/8.956, allocations: 41.62 kB / 5.152 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=71): time 2.615e-06/8.956, allocations: 4 kB / 5.152 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.009393/8.965, allocations: 2.746 MB / 5.155 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/8.965, allocations: 59.84 kB / 5.155 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/8.966, allocations: 0.8916 MB / 5.156 GB, free: 41.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/8.967, allocations: 28.73 kB / 5.156 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/8.967, allocations: 0.6562 MB / 5.156 GB, free: 40.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/8.967, allocations: 247 kB / 5.157 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/8.967, allocations: 0 / 5.157 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001105/8.967, allocations: 356.5 kB / 5.157 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/8.968, allocations: 405.1 kB / 5.157 GB, free: 40.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/8.968, allocations: 0.7791 MB / 5.158 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/8.97, allocations: 0.5184 MB / 5.159 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/8.97, allocations: 6.781 kB / 5.159 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00457/8.975, allocations: 1.872 MB / 5.16 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001489/8.976, allocations: 5.821 MB / 5.166 GB, free: 33.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/8.976, allocations: 15.66 kB / 5.166 GB, free: 33.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/8.979, allocations: 469.7 kB / 5.167 GB, free: 33.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/8.98, allocations: 302.2 kB / 5.167 GB, free: 33.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/8.982, allocations: 2.728 MB / 5.17 GB, free: 31.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/8.984, allocations: 133.5 kB / 5.17 GB, free: 31.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/8.984, allocations: 77.31 kB / 5.17 GB, free: 31.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-06/8.984, allocations: 6.812 kB / 5.17 GB, free: 31.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0026/8.986, allocations: 1.155 MB / 5.171 GB, free: 31.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/8.986, allocations: 14.09 kB / 5.171 GB, free: 31.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/8.987, allocations: 237.5 kB / 5.171 GB, free: 31.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/8.988, allocations: 344.8 kB / 5.171 GB, free: 31.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/8.992, allocations: 4.635 MB / 5.176 GB, free: 42.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/8.993, allocations: 134 kB / 5.176 GB, free: 42.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/8.993, allocations: 73.31 kB / 5.176 GB, free: 42.96 MB / 0.6511 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.000386/8.994, allocations: 221.4 kB / 5.176 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009897/8.995, allocations: 418 kB / 5.177 GB, free: 42.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/8.999, allocations: 3.133 MB / 5.18 GB, free: 42.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/8.999, allocations: 34.41 kB / 5.18 GB, free: 42.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/8.999, allocations: 11.25 kB / 5.18 GB, free: 42.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/8.999, allocations: 6.094 kB / 5.18 GB, free: 42.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008486/9.007, allocations: 5.647 MB / 5.185 GB, free: 41.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/9.007, allocations: 7 kB / 5.185 GB, free: 41.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/9.008, allocations: 151.1 kB / 5.186 GB, free: 41.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/9.011, allocations: 1.293 MB / 5.187 GB, free: 41.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/9.011, allocations: 22.02 kB / 5.187 GB, free: 41.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/9.013, allocations: 3.346 MB / 5.19 GB, free: 39.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/9.013, allocations: 3.969 kB / 5.19 GB, free: 39.27 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005664/9.019, allocations: 3.629 MB / 5.194 GB, free: 38.69 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006946/9.026, allocations: 4.981 MB / 5.199 GB, free: 37.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/9.026, allocations: 246.3 kB / 5.199 GB, free: 37.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/9.026, allocations: 11.5 kB / 5.199 GB, free: 37.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/9.027, allocations: 117.5 kB / 5.199 GB, free: 37.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/9.027, allocations: 63.44 kB / 5.199 GB, free: 37.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/9.027, allocations: 37.11 kB / 5.199 GB, free: 37.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006835/9.028, allocations: 0.6495 MB / 5.2 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008936/9.037, allocations: 2.728 MB / 5.202 GB, free: 37.41 MB / 0.6511 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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 58 * 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.00992/9.047, allocations: 3.791 MB / 5.206 GB, free: 36.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003383/9.05, allocations: 2.506 MB / 5.208 GB, free: 36.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/9.05, allocations: 4.062 kB / 5.208 GB, free: 36.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/9.052, allocations: 1.175 MB / 5.21 GB, free: 36.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/9.054, allocations: 422.2 kB / 5.21 GB, free: 36.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/9.057, allocations: 2.845 MB / 5.213 GB, free: 35.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009829/9.058, allocations: 1.519 MB / 5.214 GB, free: 34.79 MB / 0.6511 GB Notification: Performance of SimCode: time 7.32e-07/9.058, allocations: 3.469 kB / 5.214 GB, free: 34.79 MB / 0.6511 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)