Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PID1.I.y|PID2.I.y|Time|boilerEspresso.phaseSeparator2_1.M|boilerEspresso.phaseSeparator2_1.U_med|firstOrder1.y|firstOrder2.y|firstOrder3.y|pulse.T_start|pulse.count|pulse1.T_start|pulse1.count|source.outlet.m_flow|tanValve1.inlet.m_flow|tanValve2.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso") translateModel(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PID1.I.y|PID2.I.y|Time|boilerEspresso.phaseSeparator2_1.M|boilerEspresso.phaseSeparator2_1.U_med|firstOrder1.y|firstOrder2.y|firstOrder3.y|pulse.T_start|pulse.count|pulse1.T_start|pulse1.count|source.outlet.m_flow|tanValve1.inlet.m_flow|tanValve2.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso") [: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 4.0.0+maint.om/package.mo): time 0.002415/0.002415, allocations: 183.4 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.063/1.063, allocations: 221.4 MB / 229.3 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.000806, allocations: 100.1 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007536/0.007536, allocations: 1.575 MB / 332.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4065/0.4065, allocations: 90.05 MB / 473.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.292e-06, allocations: 0 / 0.5369 GB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 69.35 MB / 0.6046 GB, free: 8.887 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.89/4.998, allocations: 3.794 GB / 4.399 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/4.998, allocations: 91.03 kB / 4.399 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.509/6.508, allocations: 0.6507 GB / 5.049 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.748e-05/6.508, allocations: 47.39 kB / 5.049 GB, free: 56.86 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.007352/6.515, allocations: 3.215 MB / 5.052 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/6.515, allocations: 7.562 kB / 5.052 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/6.517, allocations: 357.6 kB / 5.053 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/6.518, allocations: 0.9309 MB / 5.054 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/6.518, allocations: 57.66 kB / 5.054 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/6.518, allocations: 99.81 kB / 5.054 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/6.52, allocations: 1.228 MB / 5.055 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/6.522, allocations: 1.411 MB / 5.056 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/6.522, allocations: 0 / 5.056 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/6.522, allocations: 3.656 kB / 5.056 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/6.522, allocations: 69.38 kB / 5.057 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005703/6.528, allocations: 7.856 MB / 5.064 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/6.529, allocations: 0.6538 MB / 5.065 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/6.529, allocations: 0.5381 MB / 5.065 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07324/6.603, allocations: 45.13 MB / 5.109 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009396/6.603, allocations: 0.5966 MB / 5.11 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=135): time 2.735e-06/6.603, allocations: 0 / 5.11 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=135): time 0.003636/6.607, allocations: 1.602 MB / 5.112 GB, free: 23.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/6.607, allocations: 119.9 kB / 5.112 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/6.608, allocations: 0.6349 MB / 5.112 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.408e-05/6.608, allocations: 29.33 kB / 5.112 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/6.608, allocations: 0.4972 MB / 5.113 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/6.608, allocations: 444.9 kB / 5.113 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/6.608, allocations: 0 / 5.113 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/6.609, allocations: 358.8 kB / 5.114 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/6.609, allocations: 430 kB / 5.114 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/6.61, allocations: 0.6284 MB / 5.115 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/6.611, allocations: 0.5189 MB / 5.115 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/6.611, allocations: 3 kB / 5.115 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003225/6.614, allocations: 1.703 MB / 5.117 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/6.614, allocations: 1.751 MB / 5.118 GB, free: 20.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/6.614, allocations: 8.688 kB / 5.118 GB, free: 20.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/6.615, allocations: 192.3 kB / 5.119 GB, free: 20.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/6.616, allocations: 311.3 kB / 5.119 GB, free: 20.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/6.62, allocations: 5.647 MB / 5.124 GB, free: 31.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009942/6.621, allocations: 165.6 kB / 5.125 GB, free: 31.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/6.621, allocations: 59.7 kB / 5.125 GB, free: 31.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/6.621, allocations: 6.219 kB / 5.125 GB, free: 31.39 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/6.623, allocations: 1.289 MB / 5.126 GB, free: 31.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/6.623, allocations: 3.969 kB / 5.126 GB, free: 31.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/6.624, allocations: 202.1 kB / 5.126 GB, free: 31.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/6.625, allocations: 298.1 kB / 5.126 GB, free: 31.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/6.629, allocations: 5.638 MB / 5.132 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/6.63, allocations: 140.2 kB / 5.132 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/6.63, allocations: 64.59 kB / 5.132 GB, free: 26.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 22 (boilerEspresso.phaseSeparator2_1.state_out[1].phase,boilerEspresso.phaseSeparator2_1.state_out[2].phase,tanValve.outlet.state.phase,$whenCondition2,$whenCondition1,boilerEspresso.phaseSeparator2_1.medium.phase,source.outlet.state.phase,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,flowResistance2.outlet.state.phase,tanValve2.outlet.state.phase,flowResistance1.outlet.state.phase,tanValve1.outlet.state.phase,flowResistance.outlet.state.phase,PID1.I.local_reset,PID2.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/6.63, allocations: 138 kB / 5.132 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008398/6.631, allocations: 374.1 kB / 5.133 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/6.635, allocations: 3.844 MB / 5.136 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/6.635, allocations: 40.66 kB / 5.136 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/6.635, allocations: 0 / 5.136 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/6.635, allocations: 7.078 kB / 5.136 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/6.641, allocations: 5.683 MB / 5.142 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/6.641, allocations: 0 / 5.142 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/6.642, allocations: 239 kB / 5.142 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007221/6.643, allocations: 414.6 kB / 5.143 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/6.643, allocations: 24.95 kB / 5.143 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/6.647, allocations: 6.46 MB / 5.149 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/6.647, allocations: 3 kB / 5.149 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005092/6.652, allocations: 4.185 MB / 5.153 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/6.653, allocations: 412.2 kB / 5.153 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/6.653, allocations: 7.156 kB / 5.153 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008534/6.654, allocations: 115.2 kB / 5.154 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/6.654, allocations: 113 kB / 5.154 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/6.654, allocations: 52.89 kB / 5.154 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0004302/6.655, allocations: 475.1 kB / 5.154 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004608/6.659, allocations: 1.801 MB / 5.156 GB, free: 18.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (boilerEspresso.phaseSeparator2_1.M,boilerEspresso.phaseSeparator2_1.U_med,flowResistance.inlet.m_flow,tanValve1.inlet.m_flow,firstOrder1.y,tanValve2.inlet.m_flow,firstOrder2.y,firstOrder3.y,PID2.I.y,PID1.I.y) * Number of discrete variables: 26 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,boilerEspresso.phaseSeparator2_1.medium.phase,source.outlet.state.phase,pulse.T_start,pulse.count,pulse1.T_start,pulse1.count) * Number of discrete states: 2 (pulse1.count,pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 7} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004765/6.664, allocations: 2.452 MB / 5.158 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004304/6.668, allocations: 3.697 MB / 5.162 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/6.668, allocations: 1.031 kB / 5.162 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/6.67, allocations: 2.133 MB / 5.164 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/6.672, allocations: 389.7 kB / 5.164 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/6.677, allocations: 3.616 MB / 5.168 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/6.679, allocations: 1.591 MB / 5.169 GB, free: 15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/6.679, allocations: 0 / 5.169 GB, free: 15 MB / 0.6198 GB Notification: Performance of Templates: time 0.2279/6.907, allocations: 62.47 MB / 5.23 GB, free: 134.7 MB / 0.6355 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.sim & ./ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe 2>&1)