Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001596/0.001596, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001879/0.001879, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.943/0.943, allocations: 177.2 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6395/0.6395, allocations: 118.7 MB / 378.9 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.328 kB / 484.1 MB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.314e-05, allocations: 2.312 kB / 484.1 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01098/0.011, allocations: 8.236 MB / 492.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00416/0.01516, allocations: 2.38 MB / 494.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008321/0.01599, allocations: 51.03 kB / 494.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.01652, allocations: 186.4 kB / 494.9 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.018, allocations: 0.6429 MB / 495.5 MB, free: 300 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.01877, allocations: 311.4 kB / 495.9 MB, free: 128 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.02048, allocations: 1.305 MB / 497.2 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.02082, allocations: 144.2 kB / 497.3 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.0222, allocations: 0.7062 MB / 498 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.02278, allocations: 351.6 kB / 498.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.0229, allocations: 58.09 kB / 498.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.02344, allocations: 184.4 kB / 498.6 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.02358, allocations: 165.1 kB / 498.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.02396, allocations: 303 kB / 499 MB, free: 14.69 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.02526, allocations: 0.8172 MB / 499.9 MB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.02527, allocations: 5.969 kB / 499.9 MB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02527, allocations: 0 / 499.9 MB, free: 14.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.0253, allocations: 0 / 499.9 MB, free: 14.31 MB / 426.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.001878/0.02717, allocations: 1.329 MB / 0.4894 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.02721, allocations: 9.812 kB / 0.4895 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.02756, allocations: 185.5 kB / 0.4896 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.0285, allocations: 0.6719 MB / 0.4903 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.02853, allocations: 47.66 kB / 0.4903 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.02861, allocations: 66 kB / 0.4904 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.02922, allocations: 478.9 kB / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.02923, allocations: 4.125 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.02927, allocations: 29.91 kB / 0.4909 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.02928, allocations: 16.11 kB / 0.4909 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.02964, allocations: 273 kB / 0.4912 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.03185, allocations: 2.193 MB / 0.4933 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.03241, allocations: 0.5195 MB / 0.4938 GB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.03257, allocations: 155.2 kB / 0.494 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.0337, allocations: 0.9988 MB / 0.4949 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.03372, allocations: 42.69 kB / 0.495 GB, free: 8.809 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 1.843e-06/0.03373, allocations: 0 / 0.495 GB, free: 8.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.001726/0.03545, allocations: 0.8229 MB / 0.4958 GB, free: 8.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.03549, allocations: 90.34 kB / 0.4959 GB, free: 8.016 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.03598, allocations: 0.6389 MB / 0.4965 GB, free: 7.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.03601, allocations: 38.5 kB / 0.4965 GB, free: 7.422 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.03625, allocations: 493.3 kB / 0.497 GB, free: 6.973 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.03635, allocations: 209.1 kB / 0.4972 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.03646, allocations: 122.5 kB / 0.4973 GB, free: 6.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.03658, allocations: 0.5007 MB / 0.4978 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.03668, allocations: 74.09 kB / 0.4979 GB, free: 6.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.03685, allocations: 255.1 kB / 0.4981 GB, free: 5.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.03717, allocations: 390.6 kB / 0.4985 GB, free: 5.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.03717, allocations: 0 / 0.4985 GB, free: 5.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006873/0.03786, allocations: 0.6042 MB / 0.4991 GB, free: 4.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.03788, allocations: 8.75 kB / 0.4991 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.03788, allocations: 4 kB / 0.4991 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008457/0.03873, allocations: 286.1 kB / 0.4994 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.03895, allocations: 116.6 kB / 0.4995 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.04058, allocations: 3.508 MB / 0.5029 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.04087, allocations: 59.52 kB / 0.503 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.04091, allocations: 20 kB / 0.503 GB, free: 0.7734 MB / 426.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 (thermalConvection.turb_flag,thermalConvection1.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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.0001948/0.0411, allocations: 200.5 kB / 0.5032 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.04119, allocations: 99.48 kB / 0.5033 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/0.04218, allocations: 0.69 MB / 0.5039 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.04218, allocations: 11.94 kB / 0.5039 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.04219, allocations: 4 kB / 0.504 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.04219, allocations: 3.984 kB / 0.504 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.04335, allocations: 1 MB / 0.5049 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.04336, allocations: 4.125 kB / 0.5049 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.04351, allocations: 79.89 kB / 0.505 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007445/0.04426, allocations: 283 kB / 0.5053 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.04428, allocations: 19.98 kB / 0.5053 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.04559, allocations: 3.501 MB / 0.5087 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.04559, allocations: 192 / 0.5087 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.04639, allocations: 0.8544 MB / 0.5096 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.04657, allocations: 127.2 kB / 0.5097 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.04662, allocations: 20 kB / 0.5097 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.04678, allocations: 12 kB / 0.5097 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.04684, allocations: 40.36 kB / 0.5097 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.04686, allocations: 12 kB / 0.5098 GB, free: 9.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000246/0.0471, allocations: 414.8 kB / 0.5102 GB, free: 9.109 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0471, allocations: 0 / 0.5102 GB, free: 9.109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005492/0.04765, allocations: 231.6 kB / 0.5104 GB, free: 8.883 MB / 442.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 (39): * Single equations (assignments): 36 * 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.000221/0.04787, allocations: 174.8 kB / 0.5105 GB, free: 8.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000606/0.04848, allocations: 0.5097 MB / 0.511 GB, free: 8.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.04848, allocations: 0 / 0.511 GB, free: 8.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.04881, allocations: 381.1 kB / 0.5114 GB, free: 7.781 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.04959, allocations: 276.4 kB / 0.5117 GB, free: 7.523 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.05144, allocations: 1.405 MB / 0.513 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.05155, allocations: 155.2 kB / 0.5132 GB, free: 5.887 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.05185, allocations: 120.9 kB / 0.5133 GB, free: 5.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.05215, allocations: 266 kB / 0.5136 GB, free: 5.508 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05215, allocations: 0 / 0.5136 GB, free: 5.508 MB / 442.7 MB Notification: Performance of Templates: time 0.0155/0.06766, allocations: 12.98 MB / 0.5262 GB, free: 8.801 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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: 3.838619889691472]