Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.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.Undirected.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") [: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.00346/0.00346, allocations: 177.4 kB / 7.454 MB, free: 2.516 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.513/1.513, allocations: 221.4 MB / 229.3 MB, free: 2.984 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.001166/0.001166, allocations: 110.2 kB / 280.1 MB, free: 1.203 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.009713/0.009713, allocations: 1.573 MB / 332.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6084/0.6084, allocations: 90.04 MB / 473.6 MB, free: 7.219 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.03e-05/1.032e-05, allocations: 4 kB / 0.5369 GB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 69.35 MB / 0.6046 GB, free: 8.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.323/3.497, allocations: 1.183 GB / 1.788 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/3.497, allocations: 89.64 kB / 1.788 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.302/7.8, allocations: 1.28 GB / 3.068 GB, free: 46.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002689/7.8, allocations: 117 kB / 3.068 GB, free: 46.15 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.01779/7.818, allocations: 5.543 MB / 3.073 GB, free: 44.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/7.818, allocations: 10.34 kB / 3.073 GB, free: 44.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/7.828, allocations: 1.047 MB / 3.074 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/7.834, allocations: 2.118 MB / 3.076 GB, free: 43.22 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/7.834, allocations: 138.2 kB / 3.077 GB, free: 43.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008904/7.835, allocations: 257.8 kB / 3.077 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006782/7.842, allocations: 4.361 MB / 3.081 GB, free: 43.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/7.849, allocations: 4.589 MB / 3.086 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.421e-05/7.849, allocations: 0.75 kB / 3.086 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/7.849, allocations: 7.781 kB / 3.086 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002908/7.85, allocations: 244.9 kB / 3.086 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03095/7.88, allocations: 24.82 MB / 3.11 GB, free: 27.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/7.884, allocations: 2.387 MB / 3.112 GB, free: 26.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/7.887, allocations: 2.229 MB / 3.115 GB, free: 25.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/7.901, allocations: 10.51 MB / 3.125 GB, free: 17.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.225e-05/7.902, allocations: 98.84 kB / 3.125 GB, free: 17.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=462): time 9.929e-06/7.902, allocations: 0 / 3.125 GB, free: 17.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=462): time 0.01567/7.917, allocations: 5.575 MB / 3.13 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/7.917, allocations: 256 kB / 3.131 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/7.919, allocations: 1.29 MB / 3.132 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004979/7.92, allocations: 29.36 kB / 3.132 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/7.921, allocations: 1.117 MB / 3.133 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001591/7.922, allocations: 1.524 MB / 3.134 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/7.922, allocations: 0 / 3.134 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002976/7.923, allocations: 479.5 kB / 3.135 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/7.926, allocations: 1.688 MB / 3.137 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/7.929, allocations: 2.284 MB / 3.139 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008152/7.937, allocations: 2.719 MB / 3.141 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/7.937, allocations: 3.75 kB / 3.141 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01692/7.954, allocations: 5.94 MB / 3.147 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/7.954, allocations: 7.906 kB / 3.147 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/7.954, allocations: 12 kB / 3.147 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/7.956, allocations: 0.5207 MB / 3.148 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/7.959, allocations: 0.8646 MB / 3.149 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/7.976, allocations: 23.07 MB / 3.171 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005544/7.982, allocations: 384.3 kB / 3.172 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/7.983, allocations: 258.1 kB / 3.172 GB, free: 12.26 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (508): * Single equations (assignments): 468 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001018/7.984, allocations: 198.3 kB / 3.172 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/7.986, allocations: 332.1 kB / 3.172 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01902/8.005, allocations: 8.244 MB / 3.18 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001221/8.005, allocations: 62.95 kB / 3.18 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-05/8.005, allocations: 8 kB / 3.18 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.15e-05/8.005, allocations: 29.22 kB / 3.18 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3302/8.335, allocations: 11.09 MB / 3.191 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/8.335, allocations: 3.781 kB / 3.191 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/8.338, allocations: 0.7325 MB / 3.192 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/8.341, allocations: 0.8965 MB / 3.193 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006384/8.342, allocations: 127.8 kB / 3.193 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/8.356, allocations: 28.62 MB / 3.221 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/8.356, allocations: 10.28 kB / 3.221 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01873/8.375, allocations: 9.491 MB / 3.23 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/8.377, allocations: 448.5 kB / 3.231 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/8.378, allocations: 18.28 kB / 3.231 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006333/8.385, allocations: 309.7 kB / 3.231 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006805/8.386, allocations: 320.8 kB / 3.231 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006369/8.386, allocations: 264.5 kB / 3.232 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001288/8.387, allocations: 0.9422 MB / 3.232 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01012/8.398, allocations: 2.363 MB / 3.235 GB, free: 84.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 42 (source.outlet.m_flow,sink.inlet.m_flow,flexVolume2.M,flexVolume2.U_med,flexVolume2.m_flow_in,volume1.M,volume1.U_med,heatportVolume1.M,heatportVolume1.U_med,heatportVolume1.m_flow_in,heatportVolume1.m_flow_out,flexVolume1.M,flexVolume1.U_med,flexVolume1.m_flow_rear,flexVolume1.m_flow_fore,volume.M,volume.U_med,volume.m_flow_rear,volumeMix1.M,volumeMix1.MXi[1],volumeMix1.MXi[2],volumeMix1.U_med,source4.outlet.m_flow,source5.outlet.m_flow,sink3.inlet.m_flow,volumeMix2.M,volumeMix2.MXi[1],volumeMix2.MXi[2],volumeMix2.U_med,boundary_rear2.fore.m_flow,boundary_rear3.fore.m_flow,boundary_rear4.fore.m_flow,heatportVolume.M,heatportVolume.U_med,flowResistance.rear.m_flow,flowResistance1.rear.m_flow,heatportVolume2.M,heatportVolume2.U_med,flowResistance10.rear.m_flow,flowResistance11.rear.m_flow,heatportVolume3.M,heatportVolume3.U_med) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (415): * Single equations (assignments): 365 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 28 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 10 {2 3,1 2,1 2,1 2,2 3,1 1,1 1,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007831/8.405, allocations: 4.16 MB / 3.239 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01/8.416, allocations: 6.852 MB / 3.246 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/8.416, allocations: 10.09 kB / 3.246 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007065/8.423, allocations: 4.886 MB / 3.25 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006258/8.429, allocations: 0.9553 MB / 3.251 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07614/8.505, allocations: 30.2 MB / 3.281 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/8.508, allocations: 2.894 MB / 3.284 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/8.509, allocations: 0 / 3.284 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.1509/8.659, allocations: 105.5 MB / 3.387 GB, free: 69.06 MB / 0.6823 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches