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.001124/0.001124, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002684, 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.001078/0.001078, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.00243, 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.9532/0.9532, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1105/1.064, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.7176/0.7176, allocations: 118.6 MB / 362.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06111/0.7787, allocations: 35.84 MB / 398.4 MB, free: 13.26 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/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_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_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.532e-05, allocations: 2.312 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.007144/0.00716, allocations: 7.198 MB / 406.9 MB, free: 4.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.009282, allocations: 2.13 MB / 409.1 MB, free: 2.613 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.009522, allocations: 43.62 kB / 409.1 MB, free: 2.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.009721, allocations: 134.7 kB / 409.2 MB, free: 2.438 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.0104, allocations: 496.3 kB / 409.7 MB, free: 1.949 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.01096, allocations: 243.2 kB / 409.9 MB, free: 1.711 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.01159, allocations: 0.9132 MB / 410.9 MB, free: 0.793 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.01174, allocations: 102.7 kB / 411 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000579/0.01232, allocations: 0.5678 MB / 411.5 MB, free: 120 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.01253, allocations: 231.3 kB / 411.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.01258, allocations: 40 kB / 411.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.01282, allocations: 159.7 kB / 411.9 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.01288, allocations: 91.55 kB / 412 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.013, allocations: 179.6 kB / 412.2 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.01348, allocations: 0.5759 MB / 412.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.01349, allocations: 0 / 412.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01349, allocations: 3.938 kB / 412.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.0135, allocations: 0 / 412.8 MB, free: 14.85 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.0008582/0.01436, allocations: 1.131 MB / 413.9 MB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.883e-05/0.01438, allocations: 8.031 kB / 413.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.01451, allocations: 100.8 kB / 414 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.01496, allocations: 0.494 MB / 414.5 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.01497, allocations: 33.36 kB / 414.6 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.01501, allocations: 44.38 kB / 414.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.01527, allocations: 328 kB / 414.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.01528, allocations: 3.938 kB / 414.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.0153, allocations: 16 kB / 414.9 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.01531, allocations: 16 kB / 415 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.01547, allocations: 161.7 kB / 415.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.01647, allocations: 1.156 MB / 416.3 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.01672, allocations: 277 kB / 416.5 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.0168, allocations: 88.78 kB / 416.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008306/0.01763, allocations: 0.5795 MB / 417.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.01765, allocations: 38.84 kB / 417.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 9.71e-07/0.01765, allocations: 3.938 kB / 417.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008139/0.01846, allocations: 450 kB / 417.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.01849, allocations: 85.14 kB / 417.8 MB, free: 9.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.01873, allocations: 463.1 kB / 418.2 MB, free: 9.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01875, allocations: 33.69 kB / 418.3 MB, free: 9.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01885, allocations: 253.6 kB / 418.5 MB, free: 8.902 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.01891, allocations: 126.9 kB / 418.6 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.01898, allocations: 74.17 kB / 418.7 MB, free: 8.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.01907, allocations: 374.6 kB / 419.1 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.01911, allocations: 36.98 kB / 419.1 MB, free: 8.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.01919, allocations: 134.6 kB / 419.2 MB, free: 8.117 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.01934, allocations: 203.1 kB / 419.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01934, allocations: 0 / 419.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003071/0.01965, allocations: 308.4 kB / 419.7 MB, free: 7.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.01966, allocations: 7.938 kB / 419.7 MB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01966, allocations: 4 kB / 419.7 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.02007, allocations: 153.9 kB / 419.9 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.02023, allocations: 87.83 kB / 420 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007728/0.021, allocations: 1.793 MB / 421.8 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.02111, allocations: 39.78 kB / 421.8 MB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.02113, allocations: 12 kB / 421.8 MB, free: 5.367 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.479e-05/0.02122, allocations: 132.6 kB / 422 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.02127, allocations: 47.89 kB / 422 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.02161, allocations: 352.5 kB / 422.3 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02161, allocations: 8 kB / 422.4 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.02162, allocations: 0 / 422.4 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.02162, allocations: 3.984 kB / 422.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.02231, allocations: 0.6029 MB / 423 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02231, allocations: 4 kB / 423 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.02242, allocations: 55.2 kB / 423 MB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.0225, allocations: 75.48 kB / 423.1 MB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.02287, allocations: 153.6 kB / 423.2 MB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.02288, allocations: 11.98 kB / 423.3 MB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009854/0.02387, allocations: 1.785 MB / 425 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02387, allocations: 160 / 425 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.02434, allocations: 0.5018 MB / 425.5 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.02437, allocations: 11.94 kB / 425.6 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.02448, allocations: 11.98 kB / 425.6 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.02452, allocations: 23.95 kB / 425.6 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.02453, allocations: 8 kB / 425.6 MB, free: 1.371 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.02467, allocations: 224.3 kB / 425.8 MB, free: 1.152 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02467, allocations: 32 / 425.8 MB, free: 1.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.02496, allocations: 159.7 kB / 426 MB, free: 0.9961 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.0001267/0.02508, allocations: 148.3 kB / 426.1 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.02539, allocations: 324.3 kB / 426.4 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.0254, allocations: 8 kB / 426.4 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.02558, allocations: 236.2 kB / 426.7 MB, free: 264 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.02605, allocations: 238.6 kB / 426.9 MB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1623/0.1883, allocations: 1.045 MB / 427.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.145e-05/0.1884, allocations: 132.8 kB / 428.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.1886, allocations: 71.16 kB / 428.1 MB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.1888, allocations: 179.5 kB / 428.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1888, allocations: 0 / 428.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01055/0.1994, allocations: 9.617 MB / 437.9 MB, free: 12.84 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 -ignoreHideResult -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.5849731788039207]