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.001071/0.001071, allocations: 80.88 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.001028/0.001028, 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.995/0.995, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.7613/0.7613, allocations: 118.6 MB / 378.9 MB, free: 1.348 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.754e-06/1.754e-06, allocations: 0 / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.554e-05, allocations: 6.312 kB / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.006918/0.006944, allocations: 7.148 MB / 438 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.008821, allocations: 2.149 MB / 440.2 MB, free: 3.953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.009035, allocations: 39.62 kB / 440.2 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.009242, allocations: 130.8 kB / 440.3 MB, free: 3.785 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006139/0.009856, allocations: 0.5002 MB / 440.8 MB, free: 3.281 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.01012, allocations: 227.4 kB / 441 MB, free: 3.059 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.01073, allocations: 0.917 MB / 442 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.01088, allocations: 98.73 kB / 442.1 MB, free: 2.035 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.01136, allocations: 0.5101 MB / 442.6 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.0116, allocations: 235.2 kB / 442.8 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.01164, allocations: 47.94 kB / 442.8 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.01185, allocations: 159.8 kB / 443 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.01193, allocations: 111.4 kB / 443.1 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.01205, allocations: 207.4 kB / 443.3 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.01261, allocations: 0.607 MB / 443.9 MB, free: 172 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.01261, allocations: 0 / 443.9 MB, free: 172 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01261, allocations: 3.938 kB / 443.9 MB, free: 168 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.01262, allocations: 0 / 443.9 MB, free: 168 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.1886/0.2012, allocations: 0.9003 MB / 444.8 MB, free: 19.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2012, allocations: 11.91 kB / 444.8 MB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.2015, allocations: 101.6 kB / 444.9 MB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.2021, allocations: 493 kB / 445.4 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.2021, allocations: 31.62 kB / 445.5 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.2022, allocations: 42.84 kB / 445.5 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.2026, allocations: 332.6 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2026, allocations: 2.188 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.2026, allocations: 19.78 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2026, allocations: 10.75 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.2028, allocations: 163.1 kB / 446 MB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2041, allocations: 1.163 MB / 447.2 MB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.2044, allocations: 283.4 kB / 447.4 MB, free: 18.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.2045, allocations: 86.77 kB / 447.5 MB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.2052, allocations: 0.5804 MB / 448.1 MB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2052, allocations: 37.7 kB / 448.1 MB, free: 18.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.372e-06/0.2052, allocations: 0 / 448.1 MB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001042/0.2063, allocations: 451.9 kB / 448.6 MB, free: 18.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.2063, allocations: 86.14 kB / 448.7 MB, free: 18.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.2066, allocations: 462.3 kB / 449.1 MB, free: 17.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2066, allocations: 30.17 kB / 449.2 MB, free: 17.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2067, allocations: 255.6 kB / 449.4 MB, free: 17.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.2068, allocations: 126.3 kB / 449.5 MB, free: 17.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.2069, allocations: 76.47 kB / 449.6 MB, free: 17.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.2069, allocations: 372.8 kB / 450 MB, free: 17.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.207, allocations: 37.75 kB / 450 MB, free: 17.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2071, allocations: 132.4 kB / 450.1 MB, free: 17.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.2073, allocations: 210.3 kB / 450.3 MB, free: 17.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.2073, allocations: 2.594 kB / 450.3 MB, free: 17.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004345/0.2077, allocations: 302.7 kB / 450.6 MB, free: 17.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2078, allocations: 7.609 kB / 450.6 MB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2078, allocations: 7.391 kB / 450.7 MB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.2083, allocations: 159.8 kB / 450.8 MB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.2085, allocations: 78.2 kB / 450.9 MB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007425/0.2093, allocations: 1.787 MB / 452.7 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.2094, allocations: 39.86 kB / 452.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2094, allocations: 13.84 kB / 452.7 MB, free: 15.4 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.0001038/0.2095, allocations: 132.6 kB / 452.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.2096, allocations: 46.83 kB / 452.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.21, allocations: 360.1 kB / 453.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.21, allocations: 4.625 kB / 453.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.21, allocations: 1.156 kB / 453.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.21, allocations: 5.5 kB / 453.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.2109, allocations: 0.6063 MB / 453.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2109, allocations: 2.094 kB / 453.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2111, allocations: 48.17 kB / 453.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.2115, allocations: 159 kB / 454.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.2116, allocations: 12.11 kB / 454.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006341/0.2122, allocations: 1.79 MB / 455.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2122, allocations: 1.906 kB / 455.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.2127, allocations: 0.4916 MB / 456.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.2128, allocations: 70.98 kB / 456.4 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.2128, allocations: 10.94 kB / 456.4 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.213, allocations: 9 kB / 456.5 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.213, allocations: 29.73 kB / 456.5 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.213, allocations: 11.78 kB / 456.5 MB, free: 13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.2132, allocations: 216.8 kB / 456.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2132, allocations: 0 / 456.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000419/0.2137, allocations: 162.1 kB / 456.9 MB, free: 12.95 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.0001889/0.2138, allocations: 142.6 kB / 457 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.2142, allocations: 315.5 kB / 457.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.2143, allocations: 5.219 kB / 457.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.2144, allocations: 233.4 kB / 457.5 MB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.215, allocations: 196.9 kB / 457.7 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2163, allocations: 1.024 MB / 458.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.385e-05/0.2164, allocations: 130.2 kB / 458.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.2166, allocations: 81.95 kB / 459 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.2168, allocations: 178.9 kB / 459.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2168, allocations: 0 / 459.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01085/0.2276, allocations: 9.306 MB / 468.5 MB, free: 4.98 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 -s gbode -gbm=radauIIA3 -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.7451640106737614]