Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009564/0.0009564, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9522/0.9522, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7094/0.7094, allocations: 118.6 MB / 378.9 MB, free: 1.469 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.244e-05, allocations: 6.312 kB / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03303/0.03307, allocations: 24.95 MB / 0.4966 GB, free: 7.238 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.0467, allocations: 8.987 MB / 0.5054 GB, free: 15.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.04838, allocations: 51.5 kB / 0.5055 GB, free: 14.97 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.04985, allocations: 377.1 kB / 0.5058 GB, free: 14.6 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.05348, allocations: 0.8998 MB / 0.5067 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.05517, allocations: 486 kB / 0.5072 GB, free: 13.22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.05717, allocations: 1.306 MB / 0.5084 GB, free: 11.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.05758, allocations: 140.1 kB / 0.5086 GB, free: 11.76 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.0591, allocations: 0.7127 MB / 0.5093 GB, free: 11.04 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.05981, allocations: 350.8 kB / 0.5096 GB, free: 10.7 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.05997, allocations: 60 kB / 0.5097 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.06154, allocations: 491.1 kB / 0.5101 GB, free: 10.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.06172, allocations: 163.2 kB / 0.5103 GB, free: 10 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000427/0.06215, allocations: 303.2 kB / 0.5106 GB, free: 9.703 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.06446, allocations: 1.039 MB / 0.5116 GB, free: 8.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.06447, allocations: 0 / 0.5116 GB, free: 8.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.06447, allocations: 0 / 0.5116 GB, free: 8.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.06449, allocations: 4 kB / 0.5116 GB, free: 8.656 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002476/0.06697, allocations: 1.362 MB / 0.5129 GB, free: 7.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.06703, allocations: 8.031 kB / 0.5129 GB, free: 7.242 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005415/0.06757, allocations: 184.1 kB / 0.5131 GB, free: 7.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.06888, allocations: 0.6728 MB / 0.5138 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.06892, allocations: 45.69 kB / 0.5138 GB, free: 6.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.06903, allocations: 60.38 kB / 0.5139 GB, free: 6.258 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.07006, allocations: 0.5231 MB / 0.5144 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.07008, allocations: 192 / 0.5144 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.07015, allocations: 35.92 kB / 0.5144 GB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.07017, allocations: 16 kB / 0.5144 GB, free: 5.652 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/0.07095, allocations: 331.5 kB / 0.5147 GB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.07444, allocations: 2.318 MB / 0.517 GB, free: 2.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.07547, allocations: 0.5481 MB / 0.5175 GB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.07581, allocations: 169.3 kB / 0.5177 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/0.07765, allocations: 1.033 MB / 0.5187 GB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.07769, allocations: 41.89 kB / 0.5188 GB, free: 1.078 MB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 4.087e-06/0.0777, allocations: 3.938 kB / 0.5188 GB, free: 1.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.003153/0.08085, allocations: 0.8974 MB / 0.5196 GB, free: 160 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.0809, allocations: 85.61 kB / 0.5197 GB, free: 56 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/0.08165, allocations: 0.6519 MB / 0.5204 GB, free: 15.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.08168, allocations: 37.7 kB / 0.5204 GB, free: 15.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.082, allocations: 483.2 kB / 0.5209 GB, free: 14.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.08216, allocations: 214.1 kB / 0.5211 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.08234, allocations: 124.3 kB / 0.5212 GB, free: 14.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.08249, allocations: 0.5004 MB / 0.5217 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.08275, allocations: 97.94 kB / 0.5218 GB, free: 13.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.08312, allocations: 293.2 kB / 0.522 GB, free: 13.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.08381, allocations: 442.9 kB / 0.5225 GB, free: 13.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.08381, allocations: 4 kB / 0.5225 GB, free: 13.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001928/0.08574, allocations: 0.722 MB / 0.5232 GB, free: 12.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.08576, allocations: 11.94 kB / 0.5232 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.08578, allocations: 4 kB / 0.5232 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.08724, allocations: 295 kB / 0.5235 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.08764, allocations: 119.8 kB / 0.5236 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008039/0.09567, allocations: 3.547 MB / 0.527 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.09602, allocations: 63.52 kB / 0.5271 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.09607, allocations: 27.98 kB / 0.5271 GB, free: 8.055 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.09629, allocations: 192.5 kB / 0.5273 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.09644, allocations: 107.4 kB / 0.5274 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007662/0.1041, allocations: 0.7282 MB / 0.5281 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1041, allocations: 8 kB / 0.5281 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1041, allocations: 0 / 0.5281 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1041, allocations: 0 / 0.5281 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007901/0.112, allocations: 1.175 MB / 0.5293 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.112, allocations: 0 / 0.5293 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1123, allocations: 79.97 kB / 0.5294 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.1134, allocations: 298.7 kB / 0.5296 GB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.1134, allocations: 15.98 kB / 0.5297 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008004/0.1214, allocations: 3.551 MB / 0.5331 GB, free: 1.637 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1214, allocations: 0 / 0.5331 GB, free: 1.637 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.1228, allocations: 0.9326 MB / 0.534 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.123, allocations: 127.2 kB / 0.5342 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.123, allocations: 12 kB / 0.5342 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1233, allocations: 19.98 kB / 0.5342 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.1234, allocations: 40.36 kB / 0.5342 GB, free: 480 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.1234, allocations: 16 kB / 0.5342 GB, free: 464 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009461/0.1329, allocations: 438.9 kB / 0.5347 GB, free: 32 kB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1329, allocations: 0 / 0.5347 GB, free: 32 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008371/0.1337, allocations: 295.4 kB / 0.5349 GB, free: 15.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004832/0.1342, allocations: 385.3 kB / 0.5353 GB, free: 15.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009951/0.1352, allocations: 0.5572 MB / 0.5359 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1352, allocations: 4 kB / 0.5359 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009594/0.1448, allocations: 401.1 kB / 0.5362 GB, free: 14.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.146, allocations: 274.5 kB / 0.5365 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/0.1535, allocations: 1.419 MB / 0.5379 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1536, allocations: 159.4 kB / 0.538 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.1539, allocations: 123.5 kB / 0.5382 GB, free: 12.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.672e-05/0.154, allocations: 68.47 kB / 0.5382 GB, free: 12.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.674e-06/0.154, allocations: 0 / 0.5382 GB, free: 12.3 MB / 474.7 MB Notification: Performance of Templates: time 0.01786/0.1718, allocations: 15.06 MB / 0.5529 GB, free: 13.53 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.219072496984154]