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.0009529/0.0009529, allocations: 77.95 kB / 20.66 MB, free: 3.828 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.0009708/0.0009708, allocations: 169 kB / 24.06 MB, free: 444 kB / 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.9166/0.9166, allocations: 177.1 MB / 204.5 MB, free: 5.141 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.7255/0.7255, allocations: 118.6 MB / 379.7 MB, free: 1.375 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.715e-06/2.715e-06, allocations: 1.125 kB / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.203e-05, allocations: 2.312 kB / 484.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.006282/0.006304, allocations: 7.086 MB / 491.9 MB, free: 3.293 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.008432, allocations: 2.089 MB / 494 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.008763, allocations: 38.09 kB / 494 MB, free: 1.832 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.009056, allocations: 134 kB / 494.2 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.00985, allocations: 0.5018 MB / 494.7 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.0102, allocations: 238.3 kB / 494.9 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.01092, allocations: 0.9154 MB / 495.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.01109, allocations: 89.06 kB / 495.9 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.01176, allocations: 0.5193 MB / 496.4 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.01208, allocations: 240.4 kB / 496.7 MB, free: 476 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.213e-05/0.01214, allocations: 38.91 kB / 496.7 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.01245, allocations: 156.9 kB / 496.9 MB, free: 440 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.01255, allocations: 117.6 kB / 497 MB, free: 356 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.01274, allocations: 204.9 kB / 497.2 MB, free: 276 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007513/0.0135, allocations: 0.6214 MB / 497.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.0135, allocations: 2.297 kB / 497.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0135, allocations: 0 / 497.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.01351, allocations: 0 / 497.8 MB, free: 15.98 MB / 426.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.00118/0.01469, allocations: 1.035 MB / 498.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.01472, allocations: 10.19 kB / 498.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.01495, allocations: 128.6 kB / 499 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.0156, allocations: 0.5293 MB / 499.5 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.01562, allocations: 33.89 kB / 499.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.01568, allocations: 40.42 kB / 499.6 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.01608, allocations: 336.2 kB / 499.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.0161, allocations: 5.703 kB / 499.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.01612, allocations: 15.28 kB / 499.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01613, allocations: 9.875 kB / 499.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.01639, allocations: 175.2 kB / 0.4884 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.01789, allocations: 1.595 MB / 0.4899 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.01829, allocations: 314.7 kB / 0.4902 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.0184, allocations: 101.9 kB / 0.4903 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.0192, allocations: 0.7816 MB / 0.4911 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.01922, allocations: 44.67 kB / 0.4911 GB, free: 12.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.01922, allocations: 0 / 0.4911 GB, free: 12.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001232/0.02045, allocations: 0.5225 MB / 0.4916 GB, free: 12.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.02049, allocations: 82.73 kB / 0.4917 GB, free: 12.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.02085, allocations: 0.5112 MB / 0.4922 GB, free: 11.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.02087, allocations: 33.7 kB / 0.4923 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.02106, allocations: 378.2 kB / 0.4926 GB, free: 11.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.02113, allocations: 128.9 kB / 0.4927 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.02121, allocations: 78.41 kB / 0.4928 GB, free: 11.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.02136, allocations: 0.5457 MB / 0.4933 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.02143, allocations: 43.03 kB / 0.4934 GB, free: 10.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.02155, allocations: 169.1 kB / 0.4935 GB, free: 10.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.02176, allocations: 246.1 kB / 0.4938 GB, free: 10.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.02176, allocations: 3.938 kB / 0.4938 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004621/0.02222, allocations: 398.1 kB / 0.4942 GB, free: 9.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.02224, allocations: 4.516 kB / 0.4942 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.02224, allocations: 4 kB / 0.4942 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/0.02278, allocations: 168.4 kB / 0.4943 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.02292, allocations: 72 kB / 0.4944 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.02417, allocations: 2.623 MB / 0.497 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.02431, allocations: 32.48 kB / 0.497 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.02433, allocations: 16.75 kB / 0.497 GB, free: 6.949 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.0001375/0.02447, allocations: 185.1 kB / 0.4972 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.02455, allocations: 71.62 kB / 0.4973 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.02502, allocations: 406.1 kB / 0.4976 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.02502, allocations: 4.141 kB / 0.4976 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02503, allocations: 4 kB / 0.4977 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.02503, allocations: 5.766 kB / 0.4977 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009692/0.026, allocations: 0.7739 MB / 0.4984 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.026, allocations: 4 kB / 0.4984 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.02611, allocations: 42 kB / 0.4985 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/0.02659, allocations: 174.3 kB / 0.4986 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.02661, allocations: 13.45 kB / 0.4986 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.02768, allocations: 2.615 MB / 0.5012 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02768, allocations: 4 kB / 0.5012 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.02839, allocations: 0.6693 MB / 0.5018 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.02851, allocations: 86.52 kB / 0.5019 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.02855, allocations: 16.55 kB / 0.5019 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.02867, allocations: 8.703 kB / 0.502 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.02873, allocations: 28.92 kB / 0.502 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.02874, allocations: 4.844 kB / 0.502 GB, free: 1.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.02897, allocations: 331.5 kB / 0.5023 GB, free: 1.648 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02897, allocations: 4.031 kB / 0.5023 GB, free: 1.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.02936, allocations: 157.4 kB / 0.5025 GB, free: 1.492 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.0001924/0.02955, allocations: 165.8 kB / 0.5026 GB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007191/0.03027, allocations: 391.3 kB / 0.503 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.03027, allocations: 0.625 kB / 0.503 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.03053, allocations: 291.5 kB / 0.5033 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.03119, allocations: 204.1 kB / 0.5035 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.03259, allocations: 1.049 MB / 0.5045 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.662e-05/0.03268, allocations: 124.3 kB / 0.5046 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.03286, allocations: 83.16 kB / 0.5047 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.03312, allocations: 217.7 kB / 0.5049 GB, free: 15.14 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03312, allocations: 0 / 0.5049 GB, free: 15.14 MB / 442.7 MB Notification: Performance of Templates: time 0.01304/0.04616, allocations: 9.418 MB / 0.5141 GB, free: 6.164 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.76552299503237]