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: translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass") [: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.00151/0.00151, allocations: 190.6 kB / 8.138 MB, free: 2.211 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.124/1.124, 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.001014/0.001014, allocations: 100.6 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3279/0.3279, allocations: 48.76 MB / 358.5 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.087e-06, allocations: 4.219 kB / 424.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 60.25 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.566/4.672, allocations: 3.017 GB / 3.491 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/4.673, allocations: 83.53 kB / 3.491 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.91/8.582, allocations: 1.455 GB / 4.946 GB, free: 32.42 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001052/8.583, allocations: 49.14 kB / 4.946 GB, free: 32.41 MB / 0.573 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.01194/8.594, allocations: 4.062 MB / 4.95 GB, free: 30.17 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/8.595, allocations: 12.59 kB / 4.95 GB, free: 30.17 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/8.596, allocations: 349.3 kB / 4.951 GB, free: 30.03 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/8.598, allocations: 1.137 MB / 4.952 GB, free: 29.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/8.598, allocations: 48.88 kB / 4.952 GB, free: 29.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/8.598, allocations: 90.72 kB / 4.952 GB, free: 29.34 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001942/8.6, allocations: 1.192 MB / 4.953 GB, free: 28.84 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/8.602, allocations: 1.547 MB / 4.954 GB, free: 27.96 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/8.602, allocations: 13.55 kB / 4.954 GB, free: 27.96 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/8.602, allocations: 5.125 kB / 4.954 GB, free: 27.96 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/8.602, allocations: 39.16 kB / 4.954 GB, free: 27.96 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4701/9.072, allocations: 137.2 MB / 5.088 GB, free: 34.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/9.073, allocations: 0.6719 MB / 5.089 GB, free: 34.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/9.074, allocations: 359.9 kB / 5.089 GB, free: 34.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1164/9.19, allocations: 64.06 MB / 5.152 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/9.191, allocations: 43.86 kB / 5.152 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=71): time 3.056e-06/9.191, allocations: 0 / 5.152 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.00914/9.2, allocations: 2.753 MB / 5.155 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/9.2, allocations: 59.81 kB / 5.155 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/9.201, allocations: 0.8946 MB / 5.156 GB, free: 40.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/9.201, allocations: 25.7 kB / 5.156 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/9.201, allocations: 0.6572 MB / 5.156 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/9.201, allocations: 251.6 kB / 5.157 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/9.201, allocations: 3.188 kB / 5.157 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001078/9.202, allocations: 351.8 kB / 5.157 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/9.202, allocations: 404.4 kB / 5.157 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/9.203, allocations: 0.7737 MB / 5.158 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/9.204, allocations: 0.5154 MB / 5.159 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/9.204, allocations: 6.344 kB / 5.159 GB, free: 39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004565/9.209, allocations: 1.871 MB / 5.16 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001835/9.211, allocations: 5.824 MB / 5.166 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/9.211, allocations: 20.61 kB / 5.166 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/9.213, allocations: 466.1 kB / 5.167 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/9.214, allocations: 301.7 kB / 5.167 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/9.217, allocations: 2.728 MB / 5.169 GB, free: 30.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/9.219, allocations: 135 kB / 5.17 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/9.219, allocations: 75.61 kB / 5.17 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/9.219, allocations: 3.688 kB / 5.17 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002668/9.222, allocations: 1.158 MB / 5.171 GB, free: 30.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/9.222, allocations: 12.75 kB / 5.171 GB, free: 30.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008266/9.222, allocations: 233.2 kB / 5.171 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/9.224, allocations: 347.5 kB / 5.171 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/9.227, allocations: 4.638 MB / 5.176 GB, free: 42.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/9.229, allocations: 131.9 kB / 5.176 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/9.229, allocations: 70.81 kB / 5.176 GB, free: 42.32 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.0003712/9.229, allocations: 222.9 kB / 5.176 GB, free: 42.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009778/9.23, allocations: 418.3 kB / 5.177 GB, free: 42.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/9.234, allocations: 3.143 MB / 5.18 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/9.234, allocations: 31.09 kB / 5.18 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/9.234, allocations: 0 / 5.18 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/9.234, allocations: 5.438 kB / 5.18 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/9.242, allocations: 5.652 MB / 5.185 GB, free: 40.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/9.243, allocations: 3.75 kB / 5.185 GB, free: 40.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/9.243, allocations: 151.5 kB / 5.185 GB, free: 40.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/9.246, allocations: 1.303 MB / 5.187 GB, free: 40.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/9.246, allocations: 24.59 kB / 5.187 GB, free: 40.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/9.249, allocations: 3.339 MB / 5.19 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/9.249, allocations: 3.281 kB / 5.19 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005722/9.254, allocations: 3.618 MB / 5.194 GB, free: 38.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/9.255, allocations: 252.1 kB / 5.194 GB, free: 37.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/9.255, allocations: 7.312 kB / 5.194 GB, free: 37.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/9.256, allocations: 119.2 kB / 5.194 GB, free: 37.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/9.256, allocations: 58.47 kB / 5.194 GB, free: 37.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/9.256, allocations: 34.75 kB / 5.194 GB, free: 37.85 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007694/9.257, allocations: 0.652 MB / 5.195 GB, free: 37.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00928/9.266, allocations: 2.063 MB / 5.197 GB, free: 37.72 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.01209/9.278, allocations: 3.782 MB / 5.2 GB, free: 37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003892/9.282, allocations: 2.51 MB / 5.203 GB, free: 36.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/9.282, allocations: 3.312 kB / 5.203 GB, free: 36.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/9.283, allocations: 1.173 MB / 5.204 GB, free: 36.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/9.286, allocations: 430.7 kB / 5.204 GB, free: 36.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/9.29, allocations: 2.847 MB / 5.207 GB, free: 35.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/9.291, allocations: 1.508 MB / 5.209 GB, free: 35.11 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/9.291, allocations: 3.781 kB / 5.209 GB, free: 35.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.08744/9.379, allocations: 69.82 MB / 5.277 GB, free: 16.68 MB / 0.6511 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.makefile (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 & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe 2>&1)