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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009813, allocations: 93.81 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01163/0.01163, allocations: 1.553 MB / 338 MB, free: 8.492 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7607/0.7607, allocations: 90.04 MB / 479.3 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.55e-05, allocations: 4 kB / 0.5445 GB, free: 8.004 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 69.36 MB / 0.6122 GB, free: 2.555 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.06/11.22, allocations: 3.795 GB / 4.407 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/11.22, allocations: 88.7 kB / 4.407 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.979/14.2, allocations: 0.6537 GB / 5.061 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.336e-06/14.2, allocations: 0 / 5.061 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001592/14.2, allocations: 43.55 kB / 5.061 GB, free: 46.11 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.01362/14.21, allocations: 3.167 MB / 5.064 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/14.21, allocations: 13.14 kB / 5.064 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/14.22, allocations: 377.2 kB / 5.064 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/14.22, allocations: 0.9309 MB / 5.065 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/14.22, allocations: 116.1 kB / 5.065 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/14.22, allocations: 161 kB / 5.065 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/14.22, allocations: 1.884 MB / 5.067 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/14.22, allocations: 0 / 5.067 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/14.22, allocations: 67.73 kB / 5.067 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.528e-05/14.22, allocations: 58.83 kB / 5.067 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/14.23, allocations: 1.573 MB / 5.069 GB, free: 40.41 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.007608/14.23, allocations: 8.04 MB / 5.077 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/14.24, allocations: 1.322 MB / 5.078 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/14.24, allocations: 0.5763 MB / 5.079 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06636/14.3, allocations: 36.09 MB / 5.114 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002875/14.31, allocations: 0.9073 MB / 5.115 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=135): time 3.938e-06/14.31, allocations: 0 / 5.115 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135): time 0.005144/14.31, allocations: 1.905 MB / 5.117 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/14.31, allocations: 120.1 kB / 5.117 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/14.31, allocations: 0.7177 MB / 5.117 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/14.31, allocations: 53.7 kB / 5.117 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/14.31, allocations: 0.6739 MB / 5.118 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/14.31, allocations: 455.9 kB / 5.118 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/14.31, allocations: 24 kB / 5.119 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001768/14.31, allocations: 357.9 kB / 5.119 GB, free: 412 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/14.32, allocations: 415.3 kB / 5.119 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009469/14.32, allocations: 0.6318 MB / 5.12 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/14.32, allocations: 0.5354 MB / 5.12 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/14.32, allocations: 0 / 5.12 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003121/14.32, allocations: 1.521 MB / 5.122 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008664/14.32, allocations: 1.811 MB / 5.124 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/14.32, allocations: 4 kB / 5.124 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007357/14.32, allocations: 199.3 kB / 5.124 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/14.32, allocations: 299.6 kB / 5.124 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/14.33, allocations: 5.95 MB / 5.13 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/14.33, allocations: 190.8 kB / 5.13 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/14.33, allocations: 55.98 kB / 5.13 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/14.33, allocations: 4 kB / 5.13 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00267/14.33, allocations: 1.4 MB / 5.132 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/14.33, allocations: 4 kB / 5.132 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/14.33, allocations: 199.6 kB / 5.132 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/14.33, allocations: 291.4 kB / 5.132 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.54/14.87, allocations: 5.944 MB / 5.138 GB, free: 79.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/14.88, allocations: 170.2 kB / 5.138 GB, free: 79.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/14.88, allocations: 56.55 kB / 5.138 GB, free: 79.09 MB / 0.6355 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%) 7,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006719/14.88, allocations: 189.8 kB / 5.138 GB, free: 78.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/14.88, allocations: 130.5 kB / 5.138 GB, free: 78.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/14.89, allocations: 4.042 MB / 5.142 GB, free: 78.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001228/14.89, allocations: 49.67 kB / 5.142 GB, free: 78.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/14.89, allocations: 6.781 kB / 5.142 GB, free: 78.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.833e-05/14.89, allocations: 8.531 kB / 5.142 GB, free: 78.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/14.91, allocations: 6.168 MB / 5.148 GB, free: 78.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/14.91, allocations: 1.188 kB / 5.148 GB, free: 78.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/14.91, allocations: 220.6 kB / 5.149 GB, free: 78.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/14.91, allocations: 0.8587 MB / 5.149 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003441/14.91, allocations: 41.72 kB / 5.149 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008887/14.92, allocations: 6.948 MB / 5.156 GB, free: 72.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/14.92, allocations: 1.031 kB / 5.156 GB, free: 72.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/14.94, allocations: 4.231 MB / 5.16 GB, free: 72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/14.94, allocations: 425.1 kB / 5.161 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006881/14.94, allocations: 33 kB / 5.161 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/14.94, allocations: 133.8 kB / 5.161 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/14.94, allocations: 134.8 kB / 5.161 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003048/14.94, allocations: 51.02 kB / 5.161 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00195/14.94, allocations: 0.545 MB / 5.162 GB, free: 71.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.52e-07/14.94, allocations: 0 / 5.162 GB, free: 71.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0146/14.96, allocations: 1.829 MB / 5.163 GB, free: 71.61 MB / 0.6355 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: 30 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse22.region3boundary,$cse23.region3boundary,$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 (133): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01364/14.97, allocations: 2.09 MB / 5.165 GB, free: 71.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007221/14.98, allocations: 3.509 MB / 5.169 GB, free: 70.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/14.98, allocations: 3.469 kB / 5.169 GB, free: 70.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/14.98, allocations: 1.692 MB / 5.171 GB, free: 69.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/14.98, allocations: 431.2 kB / 5.171 GB, free: 69.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006784/14.99, allocations: 3.514 MB / 5.174 GB, free: 68.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/14.99, allocations: 1.526 MB / 5.176 GB, free: 68.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002575/14.99, allocations: 1.088 MB / 5.177 GB, free: 68.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/15, allocations: 105 kB / 5.177 GB, free: 68.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/15, allocations: 0 / 5.177 GB, free: 68.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.08916/15.08, allocations: 64.76 MB / 5.24 GB, free: 65.8 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) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_ref.mat","../files/ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches