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: translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") [: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.00104/0.00104, allocations: 196.5 kB / 8.14 MB, free: 2.203 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.045/1.045, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.0008317/0.0008317, allocations: 95.81 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.2869/0.2869, allocations: 48.76 MB / 358.4 MB, free: 53.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.821e-06, allocations: 224 / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09851, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.497/4.596, allocations: 2.974 GB / 3.447 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/4.596, allocations: 73.98 kB / 3.447 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.007/7.603, allocations: 1.055 GB / 4.503 GB, free: 27.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.509e-05/7.603, allocations: 31.66 kB / 4.503 GB, free: 27.34 MB / 0.5417 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.009329/7.612, allocations: 2.689 MB / 4.505 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/7.612, allocations: 9.594 kB / 4.505 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/7.613, allocations: 202.2 kB / 4.505 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/7.615, allocations: 0.6363 MB / 4.506 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/7.615, allocations: 29.78 kB / 4.506 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/7.615, allocations: 51.31 kB / 4.506 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001049/7.616, allocations: 0.5396 MB / 4.507 GB, free: 25.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/7.617, allocations: 0.9485 MB / 4.508 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/7.617, allocations: 0 / 4.508 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/7.617, allocations: 4.656 kB / 4.508 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/7.617, allocations: 32.02 kB / 4.508 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4712/8.088, allocations: 133.7 MB / 4.638 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/8.089, allocations: 188.9 kB / 4.638 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/8.089, allocations: 89.36 kB / 4.638 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1176/8.207, allocations: 64.05 MB / 4.701 GB, free: 29.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/8.207, allocations: 30.75 kB / 4.701 GB, free: 29.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/8.207, allocations: 0 / 4.701 GB, free: 29.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.004028/8.211, allocations: 1.136 MB / 4.702 GB, free: 29.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/8.211, allocations: 55 kB / 4.702 GB, free: 29.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/8.211, allocations: 0.499 MB / 4.703 GB, free: 29.22 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/8.212, allocations: 25.7 kB / 4.703 GB, free: 29.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/8.212, allocations: 456.5 kB / 4.703 GB, free: 28.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/8.212, allocations: 89.67 kB / 4.703 GB, free: 28.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/8.212, allocations: 0 / 4.703 GB, free: 28.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001288/8.212, allocations: 365.8 kB / 4.704 GB, free: 28.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/8.212, allocations: 160.7 kB / 4.704 GB, free: 28.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/8.213, allocations: 349.6 kB / 4.704 GB, free: 28.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/8.213, allocations: 214.9 kB / 4.704 GB, free: 28.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/8.213, allocations: 2.781 kB / 4.704 GB, free: 28.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00224/8.215, allocations: 0.8615 MB / 4.705 GB, free: 28.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008614/8.216, allocations: 2.872 MB / 4.708 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/8.216, allocations: 10.81 kB / 4.708 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004201/8.217, allocations: 98.94 kB / 4.708 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/8.217, allocations: 128.9 kB / 4.708 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005283/8.218, allocations: 0.6355 MB / 4.709 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/8.219, allocations: 72.67 kB / 4.709 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/8.219, allocations: 35.27 kB / 4.709 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/8.219, allocations: 3.812 kB / 4.709 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/8.22, allocations: 487.3 kB / 4.709 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/8.22, allocations: 8.156 kB / 4.709 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/8.22, allocations: 104.2 kB / 4.709 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/8.221, allocations: 127.7 kB / 4.71 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/8.221, allocations: 0.6385 MB / 4.71 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/8.222, allocations: 54.62 kB / 4.71 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/8.222, allocations: 29.56 kB / 4.71 GB, free: 40.11 MB / 0.6042 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.0002704/8.222, allocations: 173.7 kB / 4.71 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/8.223, allocations: 235.3 kB / 4.711 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/8.224, allocations: 0.9147 MB / 4.712 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/8.224, allocations: 13.08 kB / 4.712 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/8.224, allocations: 1.312 kB / 4.712 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/8.224, allocations: 3.469 kB / 4.712 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/8.226, allocations: 1.746 MB / 4.713 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/8.226, allocations: 0 / 4.713 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/8.226, allocations: 46.95 kB / 4.713 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/8.227, allocations: 107.6 kB / 4.713 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/8.227, allocations: 9.438 kB / 4.713 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004489/8.227, allocations: 0.6784 MB / 4.714 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/8.227, allocations: 13.11 kB / 4.714 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001352/8.229, allocations: 1.179 MB / 4.715 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/8.229, allocations: 159 kB / 4.715 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/8.229, allocations: 3.969 kB / 4.715 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/8.229, allocations: 28.16 kB / 4.715 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/8.229, allocations: 20.14 kB / 4.715 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/8.229, allocations: 15.19 kB / 4.715 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003967/8.23, allocations: 384.9 kB / 4.716 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00692/8.237, allocations: 1.635 MB / 4.717 GB, free: 38.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 4 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * 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.01227/8.249, allocations: 3.03 MB / 4.72 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001464/8.251, allocations: 0.7982 MB / 4.721 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/8.251, allocations: 0 / 4.721 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/8.251, allocations: 373.8 kB / 4.722 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/8.252, allocations: 184.9 kB / 4.722 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/8.255, allocations: 1.25 MB / 4.723 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/8.256, allocations: 1.065 MB / 4.724 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/8.256, allocations: 0 / 4.724 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.06527/8.321, allocations: 48.76 MB / 4.772 GB, free: 33.55 MB / 0.6042 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.makefile (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 & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe 2>&1)