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.001026/0.001026, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.332/1.332, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0009365/0.0009365, allocations: 89.02 kB / 280.5 MB, free: 5.34 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.008578/0.008578, allocations: 1.567 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7227/0.7227, allocations: 90.04 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.497e-05/1.5e-05, allocations: 2.781 kB / 0.5375 GB, free: 33.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1663, allocations: 69.37 MB / 0.6052 GB, free: 112 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.52/9.686, allocations: 3.794 GB / 4.399 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/9.687, allocations: 92.14 kB / 4.399 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.756/12.44, allocations: 0.6483 GB / 5.048 GB, free: 66.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/12.44, allocations: 0 / 5.048 GB, free: 66.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001458/12.44, allocations: 44.52 kB / 5.048 GB, free: 66.56 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.01424/12.46, allocations: 3.17 MB / 5.051 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/12.46, allocations: 10.61 kB / 5.051 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/12.46, allocations: 382.8 kB / 5.051 GB, free: 65.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/12.46, allocations: 0.9257 MB / 5.052 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/12.46, allocations: 55.84 kB / 5.052 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/12.46, allocations: 100.3 kB / 5.052 GB, free: 64.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003126/12.47, allocations: 1.22 MB / 5.053 GB, free: 64.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/12.47, allocations: 1.407 MB / 5.055 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/12.47, allocations: 1.688 kB / 5.055 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/12.47, allocations: 6.891 kB / 5.055 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/12.47, allocations: 61.7 kB / 5.055 GB, free: 64.69 MB / 0.6198 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.009341/12.48, allocations: 7.786 MB / 5.062 GB, free: 59.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/12.48, allocations: 1.019 MB / 5.063 GB, free: 59.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/12.48, allocations: 0.5417 MB / 5.064 GB, free: 59.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06768/12.55, allocations: 36.08 MB / 5.099 GB, free: 38.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/12.55, allocations: 0.6089 MB / 5.1 GB, free: 38.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=135): time 5.31e-06/12.55, allocations: 0 / 5.1 GB, free: 38.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135): time 0.005853/12.56, allocations: 1.6 MB / 5.101 GB, free: 38.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/12.56, allocations: 119.2 kB / 5.101 GB, free: 38.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/12.56, allocations: 0.6302 MB / 5.102 GB, free: 38.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/12.56, allocations: 27.23 kB / 5.102 GB, free: 38.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007263/12.56, allocations: 0.6669 MB / 5.103 GB, free: 38.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/12.56, allocations: 444.5 kB / 5.103 GB, free: 37.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/12.56, allocations: 2.625 kB / 5.103 GB, free: 37.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001699/12.56, allocations: 361.7 kB / 5.103 GB, free: 37.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/12.56, allocations: 389.9 kB / 5.104 GB, free: 37.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/12.56, allocations: 0.5996 MB / 5.104 GB, free: 37.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/12.56, allocations: 493.1 kB / 5.105 GB, free: 37.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/12.56, allocations: 6.188 kB / 5.105 GB, free: 37.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003393/12.57, allocations: 1.385 MB / 5.106 GB, free: 37.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006455/12.57, allocations: 1.799 MB / 5.108 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/12.57, allocations: 8.656 kB / 5.108 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/12.57, allocations: 188.2 kB / 5.108 GB, free: 35.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/12.57, allocations: 306.2 kB / 5.109 GB, free: 35.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/12.58, allocations: 5.738 MB / 5.114 GB, free: 30.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/12.58, allocations: 161.3 kB / 5.114 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/12.58, allocations: 57.8 kB / 5.114 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/12.58, allocations: 7.812 kB / 5.114 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/12.58, allocations: 1.239 MB / 5.116 GB, free: 30.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/12.58, allocations: 3.938 kB / 5.116 GB, free: 30.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/12.58, allocations: 185.3 kB / 5.116 GB, free: 30.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/12.58, allocations: 292.3 kB / 5.116 GB, free: 30.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/12.59, allocations: 5.741 MB / 5.122 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/12.59, allocations: 142.8 kB / 5.122 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/12.59, allocations: 63.05 kB / 5.122 GB, free: 25.39 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%) 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.0004672/12.59, allocations: 136.4 kB / 5.122 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/12.59, allocations: 126 kB / 5.122 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006245/12.6, allocations: 3.93 MB / 5.126 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/12.6, allocations: 55.52 kB / 5.126 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/12.6, allocations: 3.906 kB / 5.126 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/12.6, allocations: 10.41 kB / 5.126 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/12.6, allocations: 5.818 MB / 5.132 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/12.6, allocations: 3.562 kB / 5.132 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/12.61, allocations: 215.7 kB / 5.132 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/12.61, allocations: 0.8417 MB / 5.133 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/12.61, allocations: 30.14 kB / 5.133 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007136/12.61, allocations: 6.812 MB / 5.139 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/12.61, allocations: 0 / 5.139 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007179/12.62, allocations: 4.135 MB / 5.143 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/12.62, allocations: 410.2 kB / 5.144 GB, free: 34.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/12.62, allocations: 8.203 kB / 5.144 GB, free: 34.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/12.62, allocations: 122.7 kB / 5.144 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/12.62, allocations: 129.9 kB / 5.144 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/12.63, allocations: 48.23 kB / 5.144 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009976/12.63, allocations: 478.5 kB / 5.145 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/12.63, allocations: 0 / 5.145 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01338/12.64, allocations: 1.724 MB / 5.146 GB, free: 33.65 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.01314/12.65, allocations: 2.286 MB / 5.148 GB, free: 33.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006474/12.66, allocations: 3.339 MB / 5.152 GB, free: 32.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/12.66, allocations: 3.969 kB / 5.152 GB, free: 32.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/12.66, allocations: 1.627 MB / 5.153 GB, free: 31.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/12.66, allocations: 404.6 kB / 5.154 GB, free: 31.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/12.67, allocations: 3.438 MB / 5.157 GB, free: 30.74 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/12.67, allocations: 1.524 MB / 5.159 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00299/12.68, allocations: 1.073 MB / 5.16 GB, free: 29.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/12.68, allocations: 100.2 kB / 5.16 GB, free: 29.91 MB / 0.6355 GB Notification: Performance of SimCode: time 2.635e-06/12.68, allocations: 0 / 5.16 GB, free: 29.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.09027/12.77, allocations: 50.92 MB / 5.209 GB, free: 26.76 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