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.0009564/0.0009564, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009617/0.0009617, allocations: 169 kB / 23.27 MB, free: 1.223 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.952/0.952, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.6877/0.6877, allocations: 118.7 MB / 378.9 MB, free: 1.383 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 2.945e-06/2.945e-06, allocations: 1.219 kB / 484.1 MB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.575e-05, allocations: 2.312 kB / 484.1 MB, free: 8.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.008839/0.008865, allocations: 7.081 MB / 491.1 MB, free: 3.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.01142, allocations: 2.09 MB / 493.2 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.01182, allocations: 38.75 kB / 493.3 MB, free: 1.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.01219, allocations: 131.5 kB / 493.4 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009793/0.01316, allocations: 0.4994 MB / 493.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.01364, allocations: 236.9 kB / 494.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.0145, allocations: 0.9241 MB / 495.1 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.01472, allocations: 88.97 kB / 495.1 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009844/0.01571, allocations: 0.5154 MB / 495.7 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.0161, allocations: 236.1 kB / 495.9 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.01618, allocations: 40.22 kB / 495.9 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.01659, allocations: 163.8 kB / 496.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.01669, allocations: 118.2 kB / 496.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.01688, allocations: 204.7 kB / 496.4 MB, free: 300 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009978/0.01788, allocations: 0.6173 MB / 497 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01789, allocations: 0 / 497 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01789, allocations: 1.219 kB / 497 MB, free: 12 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.01791, allocations: 0 / 497 MB, free: 12 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.00144/0.01935, allocations: 1.032 MB / 498 MB, free: 15.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.01939, allocations: 10.84 kB / 498.1 MB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.01965, allocations: 129 kB / 498.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.02038, allocations: 0.532 MB / 498.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.02041, allocations: 30.41 kB / 498.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.02046, allocations: 43.62 kB / 498.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.02095, allocations: 333.6 kB / 499.1 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.02096, allocations: 3.938 kB / 499.1 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.02099, allocations: 17.23 kB / 499.1 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.02101, allocations: 13.86 kB / 499.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.02132, allocations: 178.4 kB / 499.3 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.02354, allocations: 1.587 MB / 0.4892 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.02413, allocations: 318.7 kB / 0.4895 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.02427, allocations: 103.7 kB / 0.4896 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.02534, allocations: 0.7944 MB / 0.4903 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.02537, allocations: 44.42 kB / 0.4904 GB, free: 12.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/0.02537, allocations: 1.219 kB / 0.4904 GB, free: 12.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001481/0.02686, allocations: 0.5233 MB / 0.4909 GB, free: 12.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.02691, allocations: 85.48 kB / 0.491 GB, free: 12.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.02746, allocations: 0.5034 MB / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.02748, allocations: 29.7 kB / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.02772, allocations: 377.5 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.02781, allocations: 132.6 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.02791, allocations: 78.92 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.02812, allocations: 0.5415 MB / 0.4926 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.0282, allocations: 51.33 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.02835, allocations: 165.3 kB / 0.4928 GB, free: 10.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.02859, allocations: 242 kB / 0.493 GB, free: 10.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.02859, allocations: 7.938 kB / 0.493 GB, free: 10.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005479/0.02914, allocations: 390.7 kB / 0.4934 GB, free: 9.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.02917, allocations: 11.28 kB / 0.4934 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.02917, allocations: 4 kB / 0.4934 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.02978, allocations: 159.9 kB / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.02994, allocations: 72.22 kB / 0.4936 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.03133, allocations: 2.63 MB / 0.4962 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.03152, allocations: 40.98 kB / 0.4963 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.03155, allocations: 16.84 kB / 0.4963 GB, free: 6.977 MB / 426.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.0001524/0.0317, allocations: 177.2 kB / 0.4964 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.03177, allocations: 71.62 kB / 0.4965 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007619/0.03254, allocations: 421.8 kB / 0.4969 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.03254, allocations: 4 kB / 0.4969 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03254, allocations: 0 / 0.4969 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.03255, allocations: 1.781 kB / 0.4969 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.03356, allocations: 0.7702 MB / 0.4977 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.03356, allocations: 3.938 kB / 0.4977 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.03367, allocations: 49.66 kB / 0.4977 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.03414, allocations: 170.6 kB / 0.4979 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.03416, allocations: 5.125 kB / 0.4979 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.03535, allocations: 2.63 MB / 0.5005 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.03535, allocations: 4.75 kB / 0.5005 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.03598, allocations: 0.6571 MB / 0.5011 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.0361, allocations: 95.09 kB / 0.5012 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.03613, allocations: 12.7 kB / 0.5012 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.03625, allocations: 8.562 kB / 0.5012 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.0363, allocations: 32.44 kB / 0.5012 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.03632, allocations: 8.922 kB / 0.5013 GB, free: 1.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002204/0.03654, allocations: 331.6 kB / 0.5016 GB, free: 1.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.03654, allocations: 0 / 0.5016 GB, free: 1.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.03698, allocations: 161.5 kB / 0.5017 GB, free: 1.512 MB / 426.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.0001983/0.03718, allocations: 161.9 kB / 0.5019 GB, free: 1.348 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.03763, allocations: 392.3 kB / 0.5023 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.03763, allocations: 4.188 kB / 0.5023 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.03788, allocations: 291.1 kB / 0.5025 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.03849, allocations: 200.5 kB / 0.5027 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.04, allocations: 1.043 MB / 0.5037 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.04013, allocations: 124.8 kB / 0.5039 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.04035, allocations: 83.42 kB / 0.5039 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.04061, allocations: 214 kB / 0.5041 GB, free: 15.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04061, allocations: 0 / 0.5041 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Templates: time 0.01337/0.05398, allocations: 9.278 MB / 0.5132 GB, free: 6.254 MB / 442.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.598598011303693]