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.0008675/0.0008675, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009183/0.0009183, allocations: 181 kB / 23.36 MB, free: 1.133 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.8746/0.8746, allocations: 177.1 MB / 203.8 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.6318/0.6318, allocations: 118.6 MB / 378.9 MB, free: 1.363 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 2.635e-06/2.635e-06, allocations: 4 kB / 430.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.373e-05, allocations: 6.25 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.008776/0.00879, allocations: 8.269 MB / 439.1 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.011, allocations: 2.438 MB / 441.5 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.01127, allocations: 47.56 kB / 441.6 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.01159, allocations: 182.2 kB / 441.7 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008815/0.01247, allocations: 0.6553 MB / 442.4 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.01287, allocations: 311.2 kB / 442.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.01373, allocations: 1.302 MB / 444 MB, free: 104 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1455/0.1592, allocations: 155 kB / 444.2 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.1604, allocations: 0.704 MB / 444.9 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.1607, allocations: 341.9 kB / 445.2 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.437e-05/0.1608, allocations: 58.97 kB / 445.2 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.1611, allocations: 178.9 kB / 445.4 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1613, allocations: 168.3 kB / 445.6 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1615, allocations: 300 kB / 445.9 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008478/0.1623, allocations: 0.8204 MB / 446.7 MB, free: 17.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1623, allocations: 1.625 kB / 446.7 MB, free: 17.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1623, allocations: 0.5 kB / 446.7 MB, free: 17.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.1624, allocations: 0.6875 kB / 446.7 MB, free: 17.48 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.001271/0.1636, allocations: 1.198 MB / 447.9 MB, free: 16.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1637, allocations: 10.84 kB / 447.9 MB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.1639, allocations: 142.2 kB / 448 MB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.1646, allocations: 0.6078 MB / 448.7 MB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1646, allocations: 45.75 kB / 448.7 MB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.1647, allocations: 63.83 kB / 448.8 MB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.1652, allocations: 485.8 kB / 449.2 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1652, allocations: 384 / 449.2 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.1652, allocations: 32.31 kB / 449.3 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1652, allocations: 16.42 kB / 449.3 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.1655, allocations: 244.3 kB / 449.5 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1672, allocations: 1.625 MB / 451.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.1677, allocations: 467.6 kB / 451.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1679, allocations: 130.9 kB / 451.7 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008958/0.1688, allocations: 0.7474 MB / 452.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.1688, allocations: 39.33 kB / 452.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.563e-06/0.1688, allocations: 1.375 kB / 452.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.001528/0.1703, allocations: 0.7034 MB / 453.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.1703, allocations: 90.17 kB / 453.3 MB, free: 15.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.1707, allocations: 0.5831 MB / 453.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1707, allocations: 34.52 kB / 453.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1708, allocations: 334.8 kB / 454.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.1709, allocations: 205.3 kB / 454.5 MB, free: 14.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.1709, allocations: 116.2 kB / 454.6 MB, free: 14.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.107e-05/0.171, allocations: 336.1 kB / 454.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.1711, allocations: 61.23 kB / 455 MB, free: 14.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1712, allocations: 201.3 kB / 455.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1714, allocations: 336.1 kB / 455.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1714, allocations: 3.438 kB / 455.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005019/0.1719, allocations: 469.1 kB / 455.9 MB, free: 13.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1719, allocations: 9.219 kB / 456 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1719, allocations: 5.766 kB / 456 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007458/0.1727, allocations: 289 kB / 456.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1729, allocations: 110 kB / 456.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007167/0.1736, allocations: 2.38 MB / 458.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1738, allocations: 56.56 kB / 458.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.1738, allocations: 24.19 kB / 458.8 MB, free: 11.69 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.0001153/0.1739, allocations: 154 kB / 459 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.174, allocations: 70.56 kB / 459 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.1748, allocations: 0.6037 MB / 459.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1748, allocations: 3.594 kB / 459.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1748, allocations: 7.828 kB / 459.6 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1748, allocations: 3.062 kB / 459.6 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008835/0.1757, allocations: 0.7816 MB / 460.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1757, allocations: 0 / 460.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1759, allocations: 70.55 kB / 460.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006918/0.1766, allocations: 292.6 kB / 460.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1766, allocations: 13.94 kB / 460.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006603/0.1772, allocations: 2.375 MB / 463.2 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1772, allocations: 5.906 kB / 463.2 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.1778, allocations: 0.6382 MB / 463.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1779, allocations: 98.66 kB / 463.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.178, allocations: 14.81 kB / 463.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1782, allocations: 13.09 kB / 463.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1782, allocations: 46.36 kB / 464 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1782, allocations: 13.91 kB / 464 MB, free: 8.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1784, allocations: 293.8 kB / 464.3 MB, free: 8.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1784, allocations: 0 / 464.3 MB, free: 8.387 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.1787, allocations: 235.9 kB / 464.5 MB, free: 8.176 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.000155/0.1789, allocations: 136.9 kB / 464.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1793, allocations: 446.2 kB / 465.1 MB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.1793, allocations: 8.75 kB / 465.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1796, allocations: 310.8 kB / 465.4 MB, free: 7.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.1802, allocations: 281.2 kB / 465.7 MB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1816, allocations: 1.379 MB / 467 MB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.465e-05/0.1817, allocations: 159.2 kB / 467.2 MB, free: 5.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.1819, allocations: 119.5 kB / 467.3 MB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.1822, allocations: 224.7 kB / 467.5 MB, free: 5.344 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1822, allocations: 0 / 467.5 MB, free: 5.344 MB / 410.7 MB Notification: Performance of Templates: time 0.0145/0.1967, allocations: 12.95 MB / 480.5 MB, free: 9.012 MB / 426.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.3982596807181835]