Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001278/0.001278, allocations: 80.94 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.001435/0.001435, allocations: 173.4 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.9031/0.9031, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.669/0.669, allocations: 118.7 MB / 378.9 MB, free: 1.352 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 430.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.378e-06/1.074e-05, allocations: 6.25 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.00599/0.006001, allocations: 7.113 MB / 437.9 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.008155, allocations: 2.141 MB / 440.1 MB, free: 4.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.008422, allocations: 39.62 kB / 440.1 MB, free: 4.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.008707, allocations: 126.8 kB / 440.2 MB, free: 3.895 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000776/0.009483, allocations: 0.5041 MB / 440.7 MB, free: 3.387 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.009828, allocations: 231.3 kB / 441 MB, free: 3.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.01043, allocations: 0.9131 MB / 441.9 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.01058, allocations: 106.7 kB / 442 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.0113, allocations: 0.514 MB / 442.5 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.01152, allocations: 231.2 kB / 442.7 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.01157, allocations: 40 kB / 442.7 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.01177, allocations: 159.8 kB / 442.9 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.01185, allocations: 111.4 kB / 443 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.01199, allocations: 207.4 kB / 443.2 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.01251, allocations: 0.607 MB / 443.8 MB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.01251, allocations: 4 kB / 443.8 MB, free: 272 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01251, allocations: 0 / 443.8 MB, free: 272 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.01252, allocations: 3.938 kB / 443.8 MB, free: 268 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.1549/0.1674, allocations: 0.897 MB / 444.7 MB, free: 19.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1675, allocations: 11.03 kB / 444.7 MB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.1676, allocations: 104.9 kB / 444.8 MB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.1682, allocations: 495.2 kB / 445.3 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1682, allocations: 32.72 kB / 445.4 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1682, allocations: 44.67 kB / 445.4 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1686, allocations: 330.9 kB / 445.7 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1686, allocations: 0.5469 kB / 445.7 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.1686, allocations: 24.7 kB / 445.7 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1686, allocations: 10.34 kB / 445.8 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.1688, allocations: 156.3 kB / 445.9 MB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1699, allocations: 1.162 MB / 447.1 MB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.1702, allocations: 277.2 kB / 447.3 MB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.1703, allocations: 87.83 kB / 447.4 MB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006253/0.1709, allocations: 0.5798 MB / 448 MB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.171, allocations: 43.84 kB / 448 MB, free: 18.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.363e-06/0.171, allocations: 0 / 448 MB, free: 18.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009867/0.172, allocations: 446.9 kB / 448.5 MB, free: 18.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.172, allocations: 81.55 kB / 448.6 MB, free: 18.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1722, allocations: 463.2 kB / 449 MB, free: 18.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1723, allocations: 36.08 kB / 449.1 MB, free: 17.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.1724, allocations: 255.1 kB / 449.3 MB, free: 17.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.1724, allocations: 127.5 kB / 449.4 MB, free: 17.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.1725, allocations: 80.08 kB / 449.5 MB, free: 17.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.1725, allocations: 375.4 kB / 449.9 MB, free: 17.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.1726, allocations: 38.09 kB / 449.9 MB, free: 17.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.897e-05/0.1727, allocations: 128.5 kB / 450 MB, free: 17.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1728, allocations: 212.9 kB / 450.2 MB, free: 17.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1728, allocations: 0.6562 kB / 450.2 MB, free: 17.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003553/0.1732, allocations: 294.4 kB / 450.5 MB, free: 17.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1732, allocations: 6.641 kB / 450.5 MB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1732, allocations: 7.031 kB / 450.5 MB, free: 17.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.1737, allocations: 165.1 kB / 450.7 MB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1738, allocations: 69.02 kB / 450.8 MB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005955/0.1744, allocations: 1.788 MB / 452.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1745, allocations: 38.08 kB / 452.6 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1746, allocations: 15.34 kB / 452.6 MB, free: 15.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/0.1747, allocations: 133.9 kB / 452.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.1747, allocations: 49.52 kB / 452.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.1751, allocations: 353 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1751, allocations: 3.406 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1751, allocations: 2.281 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1751, allocations: 6.391 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.1759, allocations: 0.6072 MB / 453.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1759, allocations: 1.375 kB / 453.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.176, allocations: 44.11 kB / 453.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.1764, allocations: 160.8 kB / 454 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1764, allocations: 12.39 kB / 454 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005203/0.177, allocations: 1.787 MB / 455.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.177, allocations: 2.469 kB / 455.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.1774, allocations: 498.5 kB / 456.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.1775, allocations: 73.77 kB / 456.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1775, allocations: 7.297 kB / 456.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1777, allocations: 13.5 kB / 456.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1777, allocations: 31.28 kB / 456.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1777, allocations: 10.91 kB / 456.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1779, allocations: 216.3 kB / 456.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1779, allocations: 0 / 456.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.1782, allocations: 163.7 kB / 456.8 MB, free: 13.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.1784, allocations: 135.9 kB / 456.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.1787, allocations: 312 kB / 457.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.1787, allocations: 6.281 kB / 457.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1789, allocations: 235.5 kB / 457.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.1794, allocations: 199.2 kB / 457.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1806, allocations: 1.034 MB / 458.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.087e-05/0.1807, allocations: 127.8 kB / 458.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1808, allocations: 79.27 kB / 458.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.1811, allocations: 177.2 kB / 459 MB, free: 12.01 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1811, allocations: 0 / 459 MB, free: 12.01 MB / 410.7 MB Notification: Performance of Templates: time 0.009781/0.1908, allocations: 9.258 MB / 468.3 MB, free: 5.141 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_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.438152181915939]