Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [: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.00235/0.00235, allocations: 183 kB / 7.461 MB, free: 2.5 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.01/1.01, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0008323/0.0008323, allocations: 95.67 kB / 280.1 MB, free: 1.336 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.007149/0.007149, allocations: 1.571 MB / 332.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.3856/0.3856, allocations: 90.04 MB / 473.6 MB, free: 7.289 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.439e-06/4.458e-06, allocations: 0 / 0.5369 GB, free: 14.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09338, allocations: 69.35 MB / 0.6046 GB, free: 8.898 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5536/0.647, allocations: 353.1 MB / 0.9494 GB, free: 77.61 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001487/0.6472, allocations: 78.95 kB / 0.9495 GB, free: 77.58 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.1574/0.8046, allocations: 99.38 MB / 1.047 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.888e-05/0.8047, allocations: 15.98 kB / 1.047 GB, free: 0.6836 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001229/0.8059, allocations: 0.7965 MB / 1.047 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.8059, allocations: 8.031 kB / 1.047 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.8061, allocations: 55.34 kB / 1.047 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.8066, allocations: 358.6 kB / 1.048 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.8066, allocations: 12 kB / 1.048 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.8066, allocations: 27.98 kB / 1.048 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000545/0.8072, allocations: 369.8 kB / 1.048 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.8077, allocations: 393 kB / 1.048 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.8078, allocations: 0 / 1.048 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.8078, allocations: 224 / 1.048 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.8078, allocations: 12 kB / 1.049 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.81, allocations: 1.976 MB / 1.05 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.8103, allocations: 220.3 kB / 1.051 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.8105, allocations: 189.2 kB / 1.051 GB, free: 12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.8108, allocations: 429.5 kB / 1.051 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.8109, allocations: 42.5 kB / 1.051 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 1.573e-06/0.8109, allocations: 0 / 1.051 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.002832/0.8137, allocations: 0.725 MB / 1.052 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.8138, allocations: 85.11 kB / 1.052 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.814, allocations: 254 kB / 1.052 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.814, allocations: 25.7 kB / 1.052 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.8141, allocations: 188.3 kB / 1.053 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.8142, allocations: 145.8 kB / 1.053 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.8143, allocations: 0 / 1.053 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8144, allocations: 362.7 kB / 1.053 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.8146, allocations: 124.8 kB / 1.053 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.8148, allocations: 172.2 kB / 1.053 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.8153, allocations: 152.7 kB / 1.053 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8153, allocations: 0 / 1.053 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002724/0.818, allocations: 0.7655 MB / 1.054 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.818, allocations: 7.938 kB / 1.054 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8181, allocations: 3.984 kB / 1.054 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.8205, allocations: 493.3 kB / 1.055 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.8208, allocations: 67.91 kB / 1.055 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.8224, allocations: 2.02 MB / 1.057 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.8226, allocations: 47.62 kB / 1.057 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.8227, allocations: 11.98 kB / 1.057 GB, free: 5.598 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/0.8228, allocations: 113.3 kB / 1.057 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.8229, allocations: 39.53 kB / 1.057 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.8258, allocations: 0.828 MB / 1.058 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8258, allocations: 4 kB / 1.058 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8258, allocations: 4 kB / 1.058 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8258, allocations: 7.984 kB / 1.058 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.8293, allocations: 1.323 MB / 1.059 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8293, allocations: 0 / 1.059 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.8296, allocations: 59.94 kB / 1.059 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.832, allocations: 490.3 kB / 1.06 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.832, allocations: 7.984 kB / 1.06 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.8336, allocations: 2.027 MB / 1.062 GB, free: 488 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8337, allocations: 128 / 1.062 GB, free: 488 kB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1264/0.9601, allocations: 1.154 MB / 1.063 GB, free: 245.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.9602, allocations: 117.8 kB / 1.063 GB, free: 245.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.9603, allocations: 5.75 kB / 1.063 GB, free: 245.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.9606, allocations: 16.94 kB / 1.063 GB, free: 245.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.9607, allocations: 25.66 kB / 1.063 GB, free: 245.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.9607, allocations: 19.84 kB / 1.063 GB, free: 245.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001398/0.9608, allocations: 201.1 kB / 1.063 GB, free: 245.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00057/0.9614, allocations: 209.2 kB / 1.063 GB, free: 245.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004426/0.9619, allocations: 400.5 kB / 1.064 GB, free: 245.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006691/0.9625, allocations: 0.4933 MB / 1.064 GB, free: 245.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9626, allocations: 0 / 1.064 GB, free: 245.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.9629, allocations: 348.2 kB / 1.064 GB, free: 245.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.9635, allocations: 97.73 kB / 1.065 GB, free: 245.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.9645, allocations: 0.6566 MB / 1.065 GB, free: 245.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.9648, allocations: 0.8745 MB / 1.066 GB, free: 244.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.9648, allocations: 3.719 kB / 1.066 GB, free: 244.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.01181/0.9767, allocations: 9.572 MB / 1.075 GB, free: 244.2 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches