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.001186/0.001186, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.002969, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001224/0.001224, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001846/0.00307, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.939/0.939, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07919/1.018, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7315/0.7315, allocations: 118.7 MB / 362.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05726/0.7888, allocations: 35.85 MB / 398.5 MB, free: 13.34 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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="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="heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 3.938 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.693e-05, allocations: 2.312 kB / 399.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.00667/0.006687, allocations: 7.195 MB / 407 MB, free: 4.828 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.009341, allocations: 2.134 MB / 409.1 MB, free: 2.688 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.009772, allocations: 35.69 kB / 409.2 MB, free: 2.652 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.01005, allocations: 138.7 kB / 409.3 MB, free: 2.516 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.011, allocations: 0.4886 MB / 409.8 MB, free: 2.023 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.0115, allocations: 231.3 kB / 410 MB, free: 1.797 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009063/0.01241, allocations: 0.9209 MB / 410.9 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.01259, allocations: 98.73 kB / 411 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008016/0.01339, allocations: 0.5679 MB / 411.6 MB, free: 204 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.01367, allocations: 235.2 kB / 411.8 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.01372, allocations: 40 kB / 411.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.01407, allocations: 163.7 kB / 412 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.01415, allocations: 91.55 kB / 412.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.01431, allocations: 175.6 kB / 412.3 MB, free: 15.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.01498, allocations: 0.5759 MB / 412.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.015, allocations: 0 / 412.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.015, allocations: 4 kB / 412.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.01502, allocations: 0 / 412.9 MB, free: 14.93 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00122/0.01624, allocations: 1.131 MB / 414 MB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.01627, allocations: 8.031 kB / 414 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.01648, allocations: 100.8 kB / 414.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.01705, allocations: 0.4902 MB / 414.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.01707, allocations: 33.38 kB / 414.6 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.01712, allocations: 48.31 kB / 414.7 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.01745, allocations: 324 kB / 415 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01747, allocations: 3.938 kB / 415 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.01749, allocations: 16 kB / 415 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.0175, allocations: 15.98 kB / 415 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.0177, allocations: 161.7 kB / 415.2 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.0196, allocations: 1.148 MB / 416.3 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.01993, allocations: 288.8 kB / 416.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.02, allocations: 81.69 kB / 416.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006486/0.02065, allocations: 0.5834 MB / 417.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.02068, allocations: 38.84 kB / 417.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.02068, allocations: 0 / 417.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009245/0.0216, allocations: 453.8 kB / 417.8 MB, free: 9.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.02163, allocations: 81.11 kB / 417.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.02189, allocations: 463.1 kB / 418.3 MB, free: 9.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.02191, allocations: 33.81 kB / 418.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.02201, allocations: 257.6 kB / 418.6 MB, free: 8.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.02206, allocations: 126.9 kB / 418.7 MB, free: 8.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.02213, allocations: 70.17 kB / 418.8 MB, free: 8.781 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.02223, allocations: 378.6 kB / 419.1 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.02228, allocations: 36.98 kB / 419.2 MB, free: 8.367 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.02236, allocations: 126.7 kB / 419.3 MB, free: 8.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.02253, allocations: 207 kB / 419.5 MB, free: 7.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02254, allocations: 3.938 kB / 419.5 MB, free: 7.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003364/0.02287, allocations: 304.7 kB / 419.8 MB, free: 7.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.02289, allocations: 7.938 kB / 419.8 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02289, allocations: 4 kB / 419.8 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.02335, allocations: 153.5 kB / 420 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.02354, allocations: 87.89 kB / 420 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009213/0.02447, allocations: 1.797 MB / 421.8 MB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.02459, allocations: 39.72 kB / 421.9 MB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.02461, allocations: 12 kB / 421.9 MB, free: 5.445 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.0001118/0.02472, allocations: 136.7 kB / 422 MB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.02486, allocations: 43.95 kB / 422.1 MB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.02526, allocations: 352.5 kB / 422.4 MB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.02526, allocations: 4 kB / 422.4 MB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.02527, allocations: 0 / 422.4 MB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02527, allocations: 3.984 kB / 422.4 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/0.02599, allocations: 0.6028 MB / 423 MB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.02599, allocations: 4 kB / 423 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.02612, allocations: 52.05 kB / 423.1 MB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.0262, allocations: 71.48 kB / 423.1 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004115/0.02661, allocations: 161.5 kB / 423.3 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.02663, allocations: 7.984 kB / 423.3 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000913/0.02754, allocations: 1.782 MB / 425.1 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02754, allocations: 0 / 425.1 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.02805, allocations: 0.5095 MB / 425.6 MB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.02809, allocations: 11.94 kB / 425.6 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.0282, allocations: 11.98 kB / 425.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.02825, allocations: 23.95 kB / 425.6 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.02826, allocations: 8 kB / 425.7 MB, free: 1.449 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.02841, allocations: 220.3 kB / 425.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02841, allocations: 0 / 425.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000344/0.02875, allocations: 155.7 kB / 426 MB, free: 1.082 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.0001874/0.02894, allocations: 148.2 kB / 426.2 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.02932, allocations: 328.3 kB / 426.5 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.02934, allocations: 8 kB / 426.5 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.02952, allocations: 224.3 kB / 426.7 MB, free: 360 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.03007, allocations: 242.3 kB / 427 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.162/0.1921, allocations: 1.048 MB / 428 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.1922, allocations: 130.3 kB / 428.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00026/0.1924, allocations: 77.2 kB / 428.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.1927, allocations: 177 kB / 428.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.1927, allocations: 0 / 428.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of Templates: time 0.01211/0.2048, allocations: 9.618 MB / 438 MB, free: 12.94 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 -ignoreHideResult -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.6312964716926217]