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.001506/0.001506, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001596/0.001596, allocations: 169 kB / 23.02 MB, free: 1.551 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.9353/0.9353, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.6959/0.6959, allocations: 118.6 MB / 378.6 MB, free: 1.496 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.764e-06/1.764e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.709e-05, allocations: 6.312 kB / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.008399/0.008427, allocations: 8.325 MB / 491.9 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.01128, allocations: 2.398 MB / 494.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.01167, allocations: 51.84 kB / 494.4 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.01212, allocations: 177.6 kB / 494.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.01333, allocations: 0.6479 MB / 495.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.01389, allocations: 305.6 kB / 495.5 MB, free: 288 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.01533, allocations: 1.301 MB / 496.8 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.01565, allocations: 144.2 kB / 496.9 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.01686, allocations: 0.7034 MB / 497.6 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.01744, allocations: 348.8 kB / 498 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.01756, allocations: 58.69 kB / 498 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.01799, allocations: 177.6 kB / 498.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.0182, allocations: 168.1 kB / 498.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.01855, allocations: 304.5 kB / 498.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.01974, allocations: 0.8229 MB / 499.5 MB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01975, allocations: 4 kB / 499.5 MB, free: 14.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01975, allocations: 0 / 499.5 MB, free: 14.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.01976, allocations: 0 / 499.5 MB, free: 14.47 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.002061/0.02182, allocations: 1.317 MB / 0.4891 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.02187, allocations: 8.984 kB / 0.4891 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/0.02227, allocations: 190.2 kB / 0.4893 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.0234, allocations: 0.6615 MB / 0.4899 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.02345, allocations: 51.2 kB / 0.49 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.02355, allocations: 69.34 kB / 0.49 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.0245, allocations: 0.5141 MB / 0.4905 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.02452, allocations: 192 / 0.4905 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.02457, allocations: 27.94 kB / 0.4906 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.02459, allocations: 20 kB / 0.4906 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.02528, allocations: 337.7 kB / 0.4909 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.02841, allocations: 2.307 MB / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/0.0294, allocations: 0.5482 MB / 0.4937 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.02974, allocations: 187.5 kB / 0.4939 GB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.03131, allocations: 0.9794 MB / 0.4948 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.03134, allocations: 42.64 kB / 0.4949 GB, free: 8.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 1.944e-06/0.03134, allocations: 0 / 0.4949 GB, free: 8.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.003027/0.03437, allocations: 0.8748 MB / 0.4957 GB, free: 7.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.03442, allocations: 90.31 kB / 0.4958 GB, free: 7.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.03522, allocations: 0.6518 MB / 0.4964 GB, free: 7.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.03526, allocations: 37.7 kB / 0.4965 GB, free: 7.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.0356, allocations: 493.5 kB / 0.4969 GB, free: 6.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.03574, allocations: 197.5 kB / 0.4971 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.03593, allocations: 126.3 kB / 0.4973 GB, free: 6.516 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.03608, allocations: 0.4927 MB / 0.4977 GB, free: 6.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.03631, allocations: 94.23 kB / 0.4978 GB, free: 5.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.03665, allocations: 282.9 kB / 0.4981 GB, free: 5.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.03723, allocations: 426.8 kB / 0.4985 GB, free: 5.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.03724, allocations: 0 / 0.4985 GB, free: 5.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001218/0.03846, allocations: 0.6439 MB / 0.4991 GB, free: 4.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.03848, allocations: 8.656 kB / 0.4991 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.03849, allocations: 4 kB / 0.4991 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.03992, allocations: 303.3 kB / 0.4994 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.04029, allocations: 109 kB / 0.4995 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.04247, allocations: 3.558 MB / 0.503 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.04278, allocations: 59.52 kB / 0.5031 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.04284, allocations: 35.92 kB / 0.5031 GB, free: 440 kB / 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 (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 (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.0001967/0.04304, allocations: 184.5 kB / 0.5033 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.04319, allocations: 103.4 kB / 0.5034 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.04495, allocations: 0.7325 MB / 0.5041 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.04495, allocations: 7.984 kB / 0.5041 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.04496, allocations: 4 kB / 0.5041 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.04497, allocations: 0 / 0.5041 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.04695, allocations: 1.14 MB / 0.5052 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.04696, allocations: 3.984 kB / 0.5052 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.04721, allocations: 71.91 kB / 0.5053 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.04847, allocations: 294.8 kB / 0.5056 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.04851, allocations: 12 kB / 0.5056 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.05047, allocations: 3.543 MB / 0.509 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.05048, allocations: 4.031 kB / 0.509 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.05185, allocations: 0.9052 MB / 0.5099 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.05206, allocations: 131.2 kB / 0.5101 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.05213, allocations: 15.94 kB / 0.5101 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.05239, allocations: 8 kB / 0.5101 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.05248, allocations: 48.3 kB / 0.5101 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.05251, allocations: 16 kB / 0.5101 GB, free: 8.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004486/0.05296, allocations: 438.9 kB / 0.5106 GB, free: 8.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05296, allocations: 0 / 0.5106 GB, free: 8.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007304/0.05369, allocations: 231.6 kB / 0.5108 GB, free: 8.246 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.0002558/0.05394, allocations: 163 kB / 0.5109 GB, free: 8.074 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009629/0.05491, allocations: 0.5524 MB / 0.5115 GB, free: 7.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.05491, allocations: 0 / 0.5115 GB, free: 7.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.05547, allocations: 394 kB / 0.5119 GB, free: 7.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.05672, allocations: 273.6 kB / 0.5121 GB, free: 6.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.05932, allocations: 1.42 MB / 0.5135 GB, free: 5.367 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.05947, allocations: 155.2 kB / 0.5136 GB, free: 5.191 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003226/0.05979, allocations: 112.5 kB / 0.5138 GB, free: 5.086 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.05992, allocations: 60.48 kB / 0.5138 GB, free: 5.027 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.05992, allocations: 4 kB / 0.5138 GB, free: 5.023 MB / 442.7 MB Notification: Performance of Templates: time 0.01938/0.0793, allocations: 11.93 MB / 0.5255 GB, free: 9.363 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: 4.115073473192751]