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.001514/0.001514, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001655/0.001655, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.043/1.043, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.7361/0.7361, allocations: 118.6 MB / 378.9 MB, free: 1.359 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 1.723e-06/1.723e-06, allocations: 0 / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.891e-05, allocations: 2.312 kB / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.007654/0.007683, allocations: 8.308 MB / 439.2 MB, free: 4.949 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.01106, allocations: 2.453 MB / 441.6 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.01158, allocations: 51.5 kB / 441.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.01223, allocations: 174.3 kB / 441.8 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.01357, allocations: 0.6475 MB / 442.5 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.01424, allocations: 311.2 kB / 442.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.01544, allocations: 1.298 MB / 444.1 MB, free: 4 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1949/0.2104, allocations: 154.5 kB / 444.2 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.2119, allocations: 0.7043 MB / 444.9 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.2125, allocations: 337.1 kB / 445.3 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.2126, allocations: 60.72 kB / 445.3 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.2133, allocations: 187.4 kB / 445.5 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.2135, allocations: 170.7 kB / 445.7 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000588/0.2141, allocations: 299.3 kB / 446 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.216, allocations: 0.8231 MB / 446.8 MB, free: 17.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.216, allocations: 0 / 446.8 MB, free: 17.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.216, allocations: 2.344 kB / 446.8 MB, free: 17.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.783e-05/0.216, allocations: 0 / 446.8 MB, free: 17.46 MB / 410.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.002065/0.2181, allocations: 1.194 MB / 448 MB, free: 16.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2181, allocations: 9.312 kB / 448 MB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.2185, allocations: 139.7 kB / 448.1 MB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.2194, allocations: 0.6119 MB / 448.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.2195, allocations: 47.78 kB / 448.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.2195, allocations: 66.83 kB / 448.9 MB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.2201, allocations: 476.9 kB / 449.3 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.2201, allocations: 5.25 kB / 449.3 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.2202, allocations: 28.94 kB / 449.4 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.2202, allocations: 16.53 kB / 449.4 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.2206, allocations: 243.7 kB / 449.6 MB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.2225, allocations: 1.633 MB / 451.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.223, allocations: 473.5 kB / 451.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2232, allocations: 129.9 kB / 451.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009717/0.2242, allocations: 0.7416 MB / 452.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2242, allocations: 39.14 kB / 452.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.623e-06/0.2242, allocations: 0 / 452.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.001677/0.2259, allocations: 0.7035 MB / 453.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2259, allocations: 89.33 kB / 453.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.2263, allocations: 0.5868 MB / 454 MB, free: 14.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2263, allocations: 34.7 kB / 454 MB, free: 14.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2264, allocations: 339.9 kB / 454.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.2265, allocations: 203 kB / 454.6 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2266, allocations: 114.7 kB / 454.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.2267, allocations: 332 kB / 455 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.2267, allocations: 59.42 kB / 455.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2269, allocations: 203.1 kB / 455.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.2271, allocations: 339.7 kB / 455.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2271, allocations: 0 / 455.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005562/0.2277, allocations: 478.4 kB / 456.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2277, allocations: 7.781 kB / 456.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2277, allocations: 4.969 kB / 456.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007937/0.2285, allocations: 278.6 kB / 456.3 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.2288, allocations: 125 kB / 456.5 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008607/0.2296, allocations: 2.391 MB / 458.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2299, allocations: 54.41 kB / 458.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.2299, allocations: 17.88 kB / 458.9 MB, free: 11.67 MB / 410.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.0001598/0.23, allocations: 159.9 kB / 459.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.2301, allocations: 61.94 kB / 459.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.231, allocations: 0.6026 MB / 459.7 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.231, allocations: 13.97 kB / 459.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.231, allocations: 3.594 kB / 459.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.231, allocations: 5.812 kB / 459.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.232, allocations: 0.7814 MB / 460.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.232, allocations: 1.25 kB / 460.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2321, allocations: 82.94 kB / 460.6 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007331/0.2329, allocations: 285.1 kB / 460.9 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.2329, allocations: 20.25 kB / 460.9 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007547/0.2337, allocations: 2.378 MB / 463.3 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2337, allocations: 3.25 kB / 463.3 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.2343, allocations: 0.6378 MB / 463.9 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2344, allocations: 99.02 kB / 464 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.2344, allocations: 14.31 kB / 464.1 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2346, allocations: 19.05 kB / 464.1 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.2346, allocations: 38.05 kB / 464.1 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2347, allocations: 13.56 kB / 464.1 MB, free: 8.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.2348, allocations: 289.7 kB / 464.4 MB, free: 8.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2348, allocations: 0 / 464.4 MB, free: 8.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00048/0.2353, allocations: 236.4 kB / 464.6 MB, free: 8.07 MB / 410.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.0001977/0.2355, allocations: 151.8 kB / 464.8 MB, free: 7.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.236, allocations: 438 kB / 465.2 MB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.236, allocations: 8 kB / 465.2 MB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.2363, allocations: 309.5 kB / 465.5 MB, free: 7.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.2369, allocations: 278.7 kB / 465.8 MB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2386, allocations: 1.377 MB / 467.2 MB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.2386, allocations: 158.6 kB / 467.3 MB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.2389, allocations: 118.9 kB / 467.4 MB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.2392, allocations: 233 kB / 467.7 MB, free: 5.242 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2392, allocations: 0 / 467.7 MB, free: 5.242 MB / 410.7 MB Notification: Performance of Templates: time 0.01572/0.2549, allocations: 13.06 MB / 480.7 MB, free: 8.797 MB / 426.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 -s gbode -gbm=radauIIA3 -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: 3.9748323541134596]