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.001353/0.001353, 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.001522/0.001522, 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.8962/0.8962, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.6489/0.6489, allocations: 118.6 MB / 378.9 MB, free: 1.316 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.283e-06/1.283e-06, allocations: 0 / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/1.081e-05, allocations: 2.312 kB / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.006453/0.006464, allocations: 8.261 MB / 439.1 MB, free: 5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.009268, allocations: 2.449 MB / 441.5 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.009623, allocations: 47.56 kB / 441.6 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.009966, allocations: 182.2 kB / 441.7 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009729/0.01094, allocations: 0.6515 MB / 442.4 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.01138, allocations: 303.2 kB / 442.7 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000859/0.01224, allocations: 1.309 MB / 444 MB, free: 48 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1489/0.1612, allocations: 157 kB / 444.1 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1622, allocations: 0.6998 MB / 444.8 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.1626, allocations: 342 kB / 445.2 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.1627, allocations: 60.41 kB / 445.2 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.163, allocations: 178.6 kB / 445.4 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1631, allocations: 166.8 kB / 445.6 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.1634, allocations: 301.9 kB / 445.9 MB, free: 17.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.1641, allocations: 0.8227 MB / 446.7 MB, free: 17.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1641, allocations: 0.5 kB / 446.7 MB, free: 17.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1641, allocations: 0.5 kB / 446.7 MB, free: 17.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1642, allocations: 1.125 kB / 446.7 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.001263/0.1654, allocations: 1.197 MB / 447.9 MB, free: 16.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1655, allocations: 9.281 kB / 447.9 MB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.1657, allocations: 140.2 kB / 448 MB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.1664, allocations: 0.61 MB / 448.7 MB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1664, allocations: 51.53 kB / 448.7 MB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.1665, allocations: 60.75 kB / 448.8 MB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.1669, allocations: 482.8 kB / 449.2 MB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1669, allocations: 3.438 kB / 449.2 MB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.167, allocations: 31.44 kB / 449.3 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.167, allocations: 14.66 kB / 449.3 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1673, allocations: 247 kB / 449.5 MB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.1689, allocations: 1.623 MB / 451.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.1694, allocations: 472 kB / 451.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1695, allocations: 127.6 kB / 451.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008591/0.1704, allocations: 0.7492 MB / 452.5 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.1704, allocations: 41.34 kB / 452.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.643e-06/0.1704, allocations: 2.078 kB / 452.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.001529/0.1719, allocations: 0.7024 MB / 453.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.1719, allocations: 83.95 kB / 453.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.1722, allocations: 0.5898 MB / 453.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1723, allocations: 34.27 kB / 453.9 MB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.1724, allocations: 338.8 kB / 454.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.1724, allocations: 200.9 kB / 454.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.1725, allocations: 120 kB / 454.6 MB, free: 14.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.769e-05/0.1726, allocations: 331.7 kB / 454.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1726, allocations: 58.28 kB / 455 MB, free: 14.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1728, allocations: 202.4 kB / 455.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.173, allocations: 335.1 kB / 455.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.173, allocations: 3.969 kB / 455.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0004905/0.1735, allocations: 471.6 kB / 455.9 MB, free: 13.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1735, allocations: 5.938 kB / 456 MB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1735, allocations: 6.656 kB / 456 MB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/0.1743, allocations: 282.9 kB / 456.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1745, allocations: 111.5 kB / 456.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007081/0.1752, allocations: 2.388 MB / 458.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1753, allocations: 57.3 kB / 458.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1754, allocations: 20.97 kB / 458.8 MB, free: 11.68 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.0001165/0.1755, allocations: 149.8 kB / 459 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.1756, allocations: 69.48 kB / 459 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/0.1764, allocations: 0.608 MB / 459.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1764, allocations: 6 kB / 459.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1764, allocations: 3.938 kB / 459.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1764, allocations: 9.859 kB / 459.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.1773, allocations: 0.7796 MB / 460.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1773, allocations: 0 / 460.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1774, allocations: 70.73 kB / 460.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006858/0.1781, allocations: 295.5 kB / 460.8 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1781, allocations: 13.34 kB / 460.8 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006338/0.1788, allocations: 2.373 MB / 463.2 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1788, allocations: 3.531 kB / 463.2 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.1793, allocations: 0.6363 MB / 463.8 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1794, allocations: 104.8 kB / 463.9 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.1795, allocations: 20.78 kB / 463.9 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1797, allocations: 9.625 kB / 463.9 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1797, allocations: 40.73 kB / 464 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1797, allocations: 10.16 kB / 464 MB, free: 8.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1799, allocations: 293 kB / 464.3 MB, free: 8.328 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1799, allocations: 0 / 464.3 MB, free: 8.328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.1802, allocations: 235.2 kB / 464.5 MB, free: 8.117 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.0001572/0.1804, allocations: 147.5 kB / 464.7 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.1808, allocations: 440.6 kB / 465.1 MB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/0.1808, allocations: 8 kB / 465.1 MB, free: 7.586 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.1811, allocations: 314.6 kB / 465.4 MB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.1817, allocations: 270.3 kB / 465.7 MB, free: 7.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1831, allocations: 1.384 MB / 467 MB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.1831, allocations: 155.2 kB / 467.2 MB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1834, allocations: 119.5 kB / 467.3 MB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.1836, allocations: 228.3 kB / 467.5 MB, free: 5.285 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1836, allocations: 0 / 467.5 MB, free: 5.285 MB / 410.7 MB Notification: Performance of Templates: time 0.01395/0.1976, allocations: 12.96 MB / 480.5 MB, free: 8.949 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 -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.515134665183723]