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.01011/0.01011, allocations: 172 kB / 15.11 MB, free: 5.98 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.665/1.665, allocations: 223.2 MB / 239 MB, free: 1.809 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.001284/0.001284, allocations: 100.7 kB / 290.2 MB, free: 13.95 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.02037/0.02037, allocations: 1.558 MB / 342.9 MB, free: 9.281 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8932/0.8932, allocations: 90.31 MB / 484.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.0005351, allocations: 19.38 kB / 0.5526 GB, free: 30.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.192, allocations: 69.36 MB / 0.6203 GB, free: 5.648 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.02/11.22, allocations: 3.795 GB / 4.415 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/11.22, allocations: 95.39 kB / 4.415 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.275/14.49, allocations: 0.6556 GB / 5.071 GB, free: 62.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/14.49, allocations: 0 / 5.071 GB, free: 62.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002636/14.49, allocations: 40.06 kB / 5.071 GB, free: 62.28 MB / 0.6198 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.0153/14.51, allocations: 3.336 MB / 5.074 GB, free: 60.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/14.51, allocations: 14.48 kB / 5.074 GB, free: 60.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/14.51, allocations: 375.3 kB / 5.074 GB, free: 60.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/14.51, allocations: 0.936 MB / 5.075 GB, free: 60.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/14.51, allocations: 122.1 kB / 5.075 GB, free: 60.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006189/14.51, allocations: 157.5 kB / 5.076 GB, free: 60.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/14.52, allocations: 1.919 MB / 5.077 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/14.52, allocations: 0 / 5.077 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/14.52, allocations: 65.22 kB / 5.077 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/14.52, allocations: 62.27 kB / 5.078 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/14.52, allocations: 1.698 MB / 5.079 GB, free: 60.01 MB / 0.6198 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.01073/14.54, allocations: 8.05 MB / 5.087 GB, free: 55.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/14.54, allocations: 1.436 MB / 5.088 GB, free: 55.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06672/14.61, allocations: 35.91 MB / 5.124 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00398/14.61, allocations: 0.9324 MB / 5.124 GB, free: 33.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=135): time 6.603e-06/14.61, allocations: 0 / 5.124 GB, free: 33.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135): time 0.008393/14.62, allocations: 3.213 MB / 5.128 GB, free: 33.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/14.62, allocations: 119.7 kB / 5.128 GB, free: 32.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/14.62, allocations: 0.7295 MB / 5.128 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/14.62, allocations: 50.3 kB / 5.128 GB, free: 32.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000703/14.62, allocations: 0.6749 MB / 5.129 GB, free: 32.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/14.62, allocations: 461.9 kB / 5.13 GB, free: 32.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/14.62, allocations: 26.31 kB / 5.13 GB, free: 32.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001321/14.62, allocations: 358.9 kB / 5.13 GB, free: 31.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/14.62, allocations: 0.4957 MB / 5.13 GB, free: 31.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/14.62, allocations: 0.721 MB / 5.131 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/14.62, allocations: 0.622 MB / 5.132 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/14.62, allocations: 0 / 5.132 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003296/14.63, allocations: 1.708 MB / 5.133 GB, free: 31.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004851/14.63, allocations: 1.804 MB / 5.135 GB, free: 29.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/14.63, allocations: 5.469 kB / 5.135 GB, free: 29.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/14.63, allocations: 198.6 kB / 5.135 GB, free: 29.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/14.63, allocations: 302.7 kB / 5.136 GB, free: 29.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/14.63, allocations: 6.032 MB / 5.142 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/14.64, allocations: 186.4 kB / 5.142 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/14.64, allocations: 56.88 kB / 5.142 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/14.64, allocations: 7.141 kB / 5.142 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002849/14.64, allocations: 1.536 MB / 5.143 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/14.64, allocations: 4.094 kB / 5.143 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/14.64, allocations: 196.8 kB / 5.143 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/14.64, allocations: 290.7 kB / 5.144 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/14.65, allocations: 6.024 MB / 5.15 GB, free: 35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/14.65, allocations: 167.7 kB / 5.15 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/14.65, allocations: 57.77 kB / 5.15 GB, free: 34.95 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 () * Number of clocked 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.00125/14.65, allocations: 428.2 kB / 5.15 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/14.65, allocations: 127.1 kB / 5.15 GB, free: 34.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/14.66, allocations: 4.155 MB / 5.154 GB, free: 34.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/14.66, allocations: 54.44 kB / 5.154 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/14.66, allocations: 10.2 kB / 5.154 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/14.66, allocations: 7.125 kB / 5.154 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008302/14.66, allocations: 6.219 MB / 5.161 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/14.66, allocations: 3.656 kB / 5.161 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/14.67, allocations: 224 kB / 5.161 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/14.67, allocations: 0.7547 MB / 5.161 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.865e-05/14.67, allocations: 39.83 kB / 5.162 GB, free: 33.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006759/14.67, allocations: 6.985 MB / 5.168 GB, free: 27.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/14.67, allocations: 6.438 kB / 5.168 GB, free: 27.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007929/14.68, allocations: 4.104 MB / 5.172 GB, free: 25.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/14.68, allocations: 421.9 kB / 5.173 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/14.68, allocations: 35.28 kB / 5.173 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/14.68, allocations: 141.2 kB / 5.173 GB, free: 25.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/14.68, allocations: 127.8 kB / 5.173 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/14.68, allocations: 53.98 kB / 5.173 GB, free: 25.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008908/14.68, allocations: 0.5544 MB / 5.174 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/14.68, allocations: 0 / 5.174 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00912/14.69, allocations: 1.834 MB / 5.175 GB, free: 24.46 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) * Number of clocked states: 0 () * 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.01169/14.71, allocations: 2.067 MB / 5.177 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009041/14.71, allocations: 3.74 MB / 5.181 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/14.71, allocations: 448 / 5.181 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/14.72, allocations: 1.79 MB / 5.183 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/14.72, allocations: 435 kB / 5.183 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/14.73, allocations: 5.341 MB / 5.188 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/14.73, allocations: 1.527 MB / 5.19 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002454/14.74, allocations: 1.019 MB / 5.191 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/14.74, allocations: 109.8 kB / 5.191 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/14.74, allocations: 0 / 5.191 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.6416/15.38, allocations: 59.36 MB / 5.249 GB, free: 90.03 MB / 0.6511 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