Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [: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.004355/0.004356, allocations: 174.2 kB / 7.458 MB, free: 2.16 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.378/1.378, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.001009/0.001009, allocations: 95.94 kB / 280.1 MB, free: 1.262 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.01283/0.01283, allocations: 1.574 MB / 332.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.615/0.615, allocations: 90.03 MB / 473.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.825e-06, allocations: 0 / 0.5369 GB, free: 14.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1891, allocations: 69.36 MB / 0.6046 GB, free: 8.895 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.446, allocations: 430.2 MB / 1.025 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/1.446, allocations: 75.08 kB / 1.025 GB, free: 15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.5151/1.961, allocations: 65.85 MB / 1.089 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.216e-05/1.961, allocations: 3.188 kB / 1.089 GB, free: 157.2 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008805/1.962, allocations: 0.5073 MB / 1.09 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.962, allocations: 9.594 kB / 1.09 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/1.962, allocations: 28.56 kB / 1.09 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/1.963, allocations: 248.5 kB / 1.09 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/1.963, allocations: 7.859 kB / 1.09 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/1.963, allocations: 15.12 kB / 1.09 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002437/1.963, allocations: 119 kB / 1.09 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/1.963, allocations: 164.9 kB / 1.09 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/1.963, allocations: 0 / 1.09 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/1.963, allocations: 0 / 1.09 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/1.963, allocations: 3.875 kB / 1.09 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/1.964, allocations: 1.025 MB / 1.091 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/1.965, allocations: 163 kB / 1.091 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/1.965, allocations: 82.72 kB / 1.091 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/1.965, allocations: 254.1 kB / 1.092 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.965, allocations: 30.56 kB / 1.092 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/1.965, allocations: 0 / 1.092 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001299/1.966, allocations: 0.6053 MB / 1.092 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/1.966, allocations: 51.41 kB / 1.092 GB, free: 155 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/1.966, allocations: 137.3 kB / 1.092 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.966, allocations: 29.22 kB / 1.092 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/1.966, allocations: 125.8 kB / 1.093 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/1.967, allocations: 64.03 kB / 1.093 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/1.967, allocations: 4 kB / 1.093 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/1.967, allocations: 324.5 kB / 1.093 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/1.967, allocations: 73 kB / 1.093 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.967, allocations: 93.47 kB / 1.093 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/1.967, allocations: 98.55 kB / 1.093 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/1.967, allocations: 0 / 1.093 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004685/1.968, allocations: 297.4 kB / 1.093 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.968, allocations: 7.625 kB / 1.093 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.968, allocations: 3.938 kB / 1.093 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/1.968, allocations: 90.02 kB / 1.094 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.968, allocations: 22.88 kB / 1.094 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/1.97, allocations: 1.79 MB / 1.095 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/1.97, allocations: 11.39 kB / 1.095 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/1.97, allocations: 7.75 kB / 1.095 GB, free: 153.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/1.97, allocations: 104.9 kB / 1.095 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/1.97, allocations: 15.56 kB / 1.095 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/1.971, allocations: 295.7 kB / 1.096 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.971, allocations: 3.969 kB / 1.096 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.971, allocations: 0 / 1.096 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.971, allocations: 0 / 1.096 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/1.971, allocations: 273.8 kB / 1.096 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.971, allocations: 0 / 1.096 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/1.971, allocations: 14.28 kB / 1.096 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/1.971, allocations: 98.72 kB / 1.096 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/1.971, allocations: 10.3 kB / 1.096 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/1.973, allocations: 1.799 MB / 1.098 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.973, allocations: 4 kB / 1.098 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005785/1.973, allocations: 444.2 kB / 1.098 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/1.974, allocations: 88.83 kB / 1.098 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/1.974, allocations: 10.67 kB / 1.098 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/1.974, allocations: 11.17 kB / 1.098 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/1.974, allocations: 12.23 kB / 1.098 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/1.974, allocations: 3.875 kB / 1.098 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.724e-05/1.974, allocations: 109.8 kB / 1.099 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004056/1.974, allocations: 87.52 kB / 1.099 GB, free: 151.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (splitterN.outlets[1].m_flow,splitterN.outlets[2].m_flow,splitterN.outlets[3].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004377/1.975, allocations: 265.2 kB / 1.099 GB, free: 151 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006464/1.975, allocations: 339.6 kB / 1.099 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.975, allocations: 0 / 1.099 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/1.976, allocations: 270.3 kB / 1.099 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/1.976, allocations: 29.89 kB / 1.1 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/1.977, allocations: 494.7 kB / 1.1 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/1.977, allocations: 0.7765 MB / 1.101 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/1.977, allocations: 0 / 1.101 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.007891/1.985, allocations: 4.273 MB / 1.105 GB, free: 149.2 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches