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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 175.4 kB / 17.39 MB, free: 4.297 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.789/1.789, allocations: 205.4 MB / 223.5 MB, free: 9.004 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.0007886/0.0007886, allocations: 86.42 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.582/0.582, allocations: 48.78 MB / 369 MB, free: 47.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004664, allocations: 12 kB / 439.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1496, allocations: 60.26 MB / 0.4884 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.718/6.868, allocations: 3.018 GB / 3.506 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/6.868, allocations: 87.83 kB / 3.507 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.468/11.34, allocations: 1.393 GB / 4.899 GB, free: 31.26 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.264e-06/11.34, allocations: 0 / 4.899 GB, free: 31.26 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000184/11.34, allocations: 47.42 kB / 4.9 GB, free: 31.25 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.01465/11.35, allocations: 4.193 MB / 4.904 GB, free: 29.08 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/11.35, allocations: 9.281 kB / 4.904 GB, free: 29.08 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/11.35, allocations: 344.8 kB / 4.904 GB, free: 28.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/11.36, allocations: 1.184 MB / 4.905 GB, free: 28.52 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/11.36, allocations: 123.1 kB / 4.905 GB, free: 28.51 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000431/11.36, allocations: 161.2 kB / 4.905 GB, free: 28.51 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/11.36, allocations: 2.084 MB / 4.907 GB, free: 28.02 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/11.36, allocations: 4.562 kB / 4.907 GB, free: 28.02 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/11.36, allocations: 71.75 kB / 4.907 GB, free: 28.01 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/11.36, allocations: 39.72 kB / 4.908 GB, free: 28.01 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/11.36, allocations: 1.54 MB / 4.909 GB, free: 27.96 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009192/11.37, allocations: 9.429 MB / 4.918 GB, free: 22.28 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/11.38, allocations: 1.203 MB / 4.919 GB, free: 22.05 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/11.38, allocations: 451.6 kB / 4.92 GB, free: 22.04 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1028/11.48, allocations: 63.76 MB / 4.982 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/11.48, allocations: 43.22 kB / 4.982 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001305/11.48, allocations: 191.4 kB / 4.982 GB, free: 7.047 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 3.176e-06/11.48, allocations: 0 / 4.982 GB, free: 7.047 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82): time 0.01323/11.49, allocations: 4.229 MB / 4.986 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/11.49, allocations: 60.06 kB / 4.987 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/11.5, allocations: 1.498 MB / 4.988 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/11.5, allocations: 45.7 kB / 4.988 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/11.5, allocations: 0.7629 MB / 4.989 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/11.5, allocations: 293.6 kB / 4.989 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/11.5, allocations: 24 kB / 4.989 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001379/11.5, allocations: 352.2 kB / 4.989 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/11.5, allocations: 471.8 kB / 4.99 GB, free: 240 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3942/11.89, allocations: 0.8934 MB / 4.991 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/11.91, allocations: 3.364 MB / 4.994 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/11.91, allocations: 9.969 kB / 4.994 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004485/11.92, allocations: 1.714 MB / 4.996 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003098/11.92, allocations: 0.5217 MB / 4.996 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/11.92, allocations: 14.34 kB / 4.996 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007081/11.92, allocations: 0.9371 MB / 4.997 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/11.92, allocations: 286.3 kB / 4.997 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/11.93, allocations: 2.657 MB / 5 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/11.93, allocations: 148.6 kB / 5 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/11.93, allocations: 77.14 kB / 5 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/11.93, allocations: 2.469 kB / 5 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002801/11.93, allocations: 1.382 MB / 5.002 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/11.93, allocations: 19.66 kB / 5.002 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/11.93, allocations: 241 kB / 5.002 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/11.93, allocations: 330.2 kB / 5.002 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/11.94, allocations: 4.671 MB / 5.007 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/11.94, allocations: 150.7 kB / 5.007 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/11.94, allocations: 65.47 kB / 5.007 GB, free: 56.67 MB / 0.6042 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true ) "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" fixed = true 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 () * Number of clocked 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.001387/11.94, allocations: 0.4939 MB / 5.007 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/11.94, allocations: 176 kB / 5.008 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/11.95, allocations: 3.568 MB / 5.011 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/11.95, allocations: 34.94 kB / 5.011 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/11.95, allocations: 0.75 kB / 5.011 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/11.95, allocations: 5.594 kB / 5.011 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008077/11.95, allocations: 5.679 MB / 5.017 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/11.95, allocations: 3 kB / 5.017 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/11.95, allocations: 137.3 kB / 5.017 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005504/11.96, allocations: 1.64 MB / 5.018 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/11.96, allocations: 26.47 kB / 5.018 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/11.96, allocations: 3.342 MB / 5.022 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/11.96, allocations: 3.312 kB / 5.022 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006252/11.97, allocations: 3.788 MB / 5.025 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/11.97, allocations: 344.8 kB / 5.026 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/11.97, allocations: 22.66 kB / 5.026 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/11.97, allocations: 137.2 kB / 5.026 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/11.97, allocations: 65.92 kB / 5.026 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/11.97, allocations: 31.09 kB / 5.026 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00166/11.97, allocations: 1.104 MB / 5.027 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/11.97, allocations: 4.875 kB / 5.027 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01211/11.98, allocations: 2.178 MB / 5.029 GB, free: 52.37 MB / 0.6042 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 57 * 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.01243/12, allocations: 3.243 MB / 5.032 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004594/12, allocations: 2.351 MB / 5.035 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/12, allocations: 3.438 kB / 5.035 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/12, allocations: 0.8031 MB / 5.035 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/12.01, allocations: 0.8406 MB / 5.036 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/12.02, allocations: 4.217 MB / 5.04 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/12.02, allocations: 1.366 MB / 5.042 GB, free: 49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002209/12.02, allocations: 0.8212 MB / 5.042 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/12.02, allocations: 115.5 kB / 5.043 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of SimCode: time 8.02e-07/12.02, allocations: 1.125 kB / 5.043 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.1171/12.14, allocations: 85.74 MB / 5.126 GB, free: 44.5 MB / 0.6042 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)