Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.002502/0.002502, allocations: 179.5 kB / 7.458 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.072/1.072, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008297/0.0008297, allocations: 93.91 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6039/0.6039, allocations: 90.36 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.562e-06, allocations: 0 / 471.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3081, allocations: 66.26 MB / 0.5253 GB, free: 29.05 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.269/2.577, allocations: 1.222 GB / 1.747 GB, free: 67.47 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/2.577, allocations: 87.89 kB / 1.747 GB, free: 67.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.603/7.18, allocations: 1.33 GB / 3.077 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005341/7.181, allocations: 119.6 kB / 3.077 GB, free: 42.5 MB / 0.6355 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.01955/7.2, allocations: 5.402 MB / 3.082 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/7.2, allocations: 6.25 kB / 3.082 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/7.211, allocations: 1.044 MB / 3.083 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006584/7.218, allocations: 2.12 MB / 3.085 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/7.218, allocations: 136.7 kB / 3.085 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/7.22, allocations: 256.1 kB / 3.086 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009867/7.23, allocations: 4.361 MB / 3.09 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/7.242, allocations: 4.578 MB / 3.094 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/7.242, allocations: 7.562 kB / 3.094 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/7.243, allocations: 2.969 kB / 3.094 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004024/7.244, allocations: 241 kB / 3.095 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0362/7.28, allocations: 24.81 MB / 3.119 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003485/7.284, allocations: 2.367 MB / 3.121 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002908/7.287, allocations: 2.23 MB / 3.123 GB, free: 24.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/7.301, allocations: 11.04 MB / 3.134 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/7.302, allocations: 99.41 kB / 3.134 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=462): time 1.449e-05/7.302, allocations: 0 / 3.134 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=462): time 0.01443/7.316, allocations: 5.512 MB / 3.14 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/7.316, allocations: 255.1 kB / 3.14 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/7.318, allocations: 1.291 MB / 3.141 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004078/7.319, allocations: 30.61 kB / 3.141 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/7.319, allocations: 1.117 MB / 3.142 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/7.321, allocations: 1.525 MB / 3.144 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/7.321, allocations: 0 / 3.144 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002276/7.321, allocations: 477.1 kB / 3.144 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/7.324, allocations: 1.691 MB / 3.146 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/7.326, allocations: 2.275 MB / 3.148 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007411/7.334, allocations: 2.672 MB / 3.151 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/7.334, allocations: 4.062 kB / 3.151 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01293/7.347, allocations: 5.876 MB / 3.156 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/7.347, allocations: 12.34 kB / 3.156 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/7.347, allocations: 14.84 kB / 3.156 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/7.348, allocations: 0.5276 MB / 3.157 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/7.352, allocations: 0.856 MB / 3.158 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/7.368, allocations: 23.07 MB / 3.18 GB, free: 19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/7.372, allocations: 382.8 kB / 3.181 GB, free: 18.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/7.373, allocations: 247.8 kB / 3.181 GB, free: 18.78 MB / 0.6667 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.001688/7.375, allocations: 206.3 kB / 3.181 GB, free: 18.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/7.376, allocations: 333.3 kB / 3.181 GB, free: 18.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/7.393, allocations: 6.898 MB / 3.188 GB, free: 16.02 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/7.393, allocations: 59.42 kB / 3.188 GB, free: 16.02 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-05/7.393, allocations: 8.625 kB / 3.188 GB, free: 16.02 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.737e-05/7.394, allocations: 26.94 kB / 3.188 GB, free: 16.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0239/7.417, allocations: 11.01 MB / 3.199 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/7.418, allocations: 4.844 kB / 3.199 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/7.421, allocations: 0.7251 MB / 3.2 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/7.424, allocations: 0.8945 MB / 3.201 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006132/7.424, allocations: 127.8 kB / 3.201 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2812/7.706, allocations: 28.63 MB / 3.229 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/7.706, allocations: 8.188 kB / 3.229 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01569/7.721, allocations: 9.439 MB / 3.238 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/7.723, allocations: 451 kB / 3.238 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/7.723, allocations: 24.03 kB / 3.238 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004688/7.728, allocations: 299.8 kB / 3.239 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004843/7.728, allocations: 307.1 kB / 3.239 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004589/7.729, allocations: 260.3 kB / 3.239 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001109/7.73, allocations: 0.9469 MB / 3.24 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007742/7.738, allocations: 2.869 MB / 3.243 GB, free: 120.3 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.008108/7.746, allocations: 5.101 MB / 3.248 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008297/7.754, allocations: 6.84 MB / 3.255 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/7.754, allocations: 7.875 kB / 3.255 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006289/7.76, allocations: 4.877 MB / 3.259 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/7.766, allocations: 0.9584 MB / 3.26 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07577/7.842, allocations: 29.71 MB / 3.289 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005004/7.847, allocations: 2.845 MB / 3.292 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/7.847, allocations: 7.031 kB / 3.292 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.1563/8.003, allocations: 111.6 MB / 3.401 GB, free: 103.5 MB / 0.6823 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches