Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0008769/0.0008769, 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.0009177/0.0009177, allocations: 173 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.8758/0.8758, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.6228/0.6228, allocations: 118.7 MB / 378.9 MB, free: 1.34 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/1.014e-05, allocations: 2.312 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.005601/0.005611, allocations: 7.124 MB / 437.9 MB, free: 6.184 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.007506, allocations: 2.141 MB / 440.1 MB, free: 4.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.007731, allocations: 35.69 kB / 440.1 MB, free: 4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.008007, allocations: 138.7 kB / 440.2 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007238/0.008731, allocations: 0.5002 MB / 440.7 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.009047, allocations: 231.3 kB / 441 MB, free: 3.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00074/0.009787, allocations: 0.9131 MB / 441.9 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.009937, allocations: 106.7 kB / 442 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.01045, allocations: 0.5101 MB / 442.5 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.01068, allocations: 235.2 kB / 442.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.01072, allocations: 47.98 kB / 442.8 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.01093, allocations: 151.7 kB / 442.9 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.01102, allocations: 119.4 kB / 443 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.01115, allocations: 203.4 kB / 443.2 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.01168, allocations: 0.607 MB / 443.8 MB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.01168, allocations: 0 / 443.8 MB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01168, allocations: 0 / 443.8 MB, free: 244 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01169, allocations: 4 kB / 443.8 MB, free: 240 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.142/0.1537, allocations: 0.9012 MB / 444.7 MB, free: 19.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1537, allocations: 13.22 kB / 444.7 MB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.1539, allocations: 101.2 kB / 444.8 MB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.1546, allocations: 494.5 kB / 445.3 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.1546, allocations: 33.03 kB / 445.4 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.1546, allocations: 42 kB / 445.4 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.155, allocations: 326.8 kB / 445.7 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.155, allocations: 6.438 kB / 445.7 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.155, allocations: 20.38 kB / 445.7 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.155, allocations: 13.45 kB / 445.8 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.1553, allocations: 155.6 kB / 445.9 MB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1567, allocations: 1.159 MB / 447.1 MB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.157, allocations: 277.6 kB / 447.3 MB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1571, allocations: 94.81 kB / 447.4 MB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007721/0.1579, allocations: 0.5788 MB / 448 MB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.1579, allocations: 37.33 kB / 448 MB, free: 18.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.1579, allocations: 0 / 448 MB, free: 18.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001184/0.1591, allocations: 449.9 kB / 448.5 MB, free: 18.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.1591, allocations: 83.33 kB / 448.6 MB, free: 18.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.1594, allocations: 461.9 kB / 449 MB, free: 18.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1595, allocations: 31.64 kB / 449 MB, free: 17.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.1596, allocations: 256.7 kB / 449.3 MB, free: 17.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.1596, allocations: 130.1 kB / 449.4 MB, free: 17.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.1597, allocations: 79.3 kB / 449.5 MB, free: 17.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.1598, allocations: 376 kB / 449.9 MB, free: 17.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.1598, allocations: 36.8 kB / 449.9 MB, free: 17.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.1599, allocations: 126.3 kB / 450 MB, free: 17.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1601, allocations: 210.8 kB / 450.2 MB, free: 17.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1601, 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.0004448/0.1606, allocations: 303.2 kB / 450.5 MB, free: 17.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1606, allocations: 5.344 kB / 450.5 MB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1606, allocations: 8.719 kB / 450.5 MB, free: 17.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.1612, allocations: 157 kB / 450.7 MB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1614, allocations: 70.72 kB / 450.8 MB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007185/0.1621, allocations: 1.788 MB / 452.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1622, allocations: 43.05 kB / 452.6 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.1623, allocations: 15.52 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 0.0001081/0.1624, allocations: 134.2 kB / 452.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.1625, allocations: 46.86 kB / 452.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.1629, allocations: 350.5 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1629, allocations: 4.688 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1629, allocations: 2.766 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1629, allocations: 2.109 kB / 453.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.1639, allocations: 0.6086 MB / 453.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1639, allocations: 1.375 kB / 453.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.164, allocations: 47.14 kB / 453.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.1644, allocations: 157.4 kB / 454 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1644, allocations: 14.92 kB / 454 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005111/0.1649, allocations: 1.782 MB / 455.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1649, allocations: 4.5 kB / 455.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.1654, allocations: 0.4911 MB / 456.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.1654, allocations: 75.03 kB / 456.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1655, allocations: 8.156 kB / 456.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1656, allocations: 10.47 kB / 456.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1656, allocations: 31.19 kB / 456.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1656, allocations: 12.72 kB / 456.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1658, allocations: 218.6 kB / 456.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1658, allocations: 0 / 456.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000327/0.1661, allocations: 162.9 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.0001413/0.1663, allocations: 136.2 kB / 456.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1666, allocations: 310.1 kB / 457.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.1666, allocations: 7.875 kB / 457.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1668, allocations: 234.2 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.0005159/0.1673, allocations: 193.9 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.00116/0.1684, allocations: 1.032 MB / 458.6 MB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.838e-05/0.1685, allocations: 129.8 kB / 458.8 MB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1687, allocations: 77.88 kB / 458.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.1689, allocations: 179.7 kB / 459 MB, free: 12.01 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.1689, allocations: 0 / 459 MB, free: 12.01 MB / 410.7 MB Notification: Performance of Templates: time 0.009532/0.1784, allocations: 9.261 MB / 468.3 MB, free: 5.109 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.2274148263968527]