Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.0009778/0.0009778, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001972/0.001972, allocations: 173 kB / 24.06 MB, free: 448 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.9622/0.9622, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.6769/0.6769, allocations: 118.7 MB / 379.7 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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 484.8 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.097e-05, allocations: 3.625 kB / 484.8 MB, free: 8.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01106/0.01109, allocations: 8.23 MB / 493.1 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.01399, allocations: 2.388 MB / 495.5 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.01441, allocations: 46.72 kB / 495.5 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.01479, allocations: 185.9 kB / 495.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009562/0.01574, allocations: 0.6434 MB / 496.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.01619, allocations: 311.3 kB / 496.6 MB, free: 72 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.01761, allocations: 1.306 MB / 497.9 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.0179, allocations: 139.7 kB / 498.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.01904, allocations: 0.7099 MB / 498.8 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.01955, allocations: 343.4 kB / 499.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.395e-05/0.01965, allocations: 58.03 kB / 499.2 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.02006, allocations: 185.2 kB / 499.4 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.02028, allocations: 168.9 kB / 499.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.02061, allocations: 299.2 kB / 499.8 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.02169, allocations: 0.8288 MB / 0.4889 GB, free: 14.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.0217, allocations: 1.125 kB / 0.4889 GB, free: 14.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.0217, allocations: 0 / 0.4889 GB, free: 14.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.02171, allocations: 0 / 0.4889 GB, free: 14.26 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001885/0.0236, allocations: 1.325 MB / 0.4902 GB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.02363, allocations: 10.41 kB / 0.4902 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.02402, allocations: 187.8 kB / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.02514, allocations: 0.6741 MB / 0.4911 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.02518, allocations: 46.75 kB / 0.4911 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.02526, allocations: 61.97 kB / 0.4912 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.02594, allocations: 490.1 kB / 0.4916 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.02596, allocations: 1.344 kB / 0.4916 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.026, allocations: 30.33 kB / 0.4917 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.02602, allocations: 15.34 kB / 0.4917 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.02645, allocations: 268.1 kB / 0.4919 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.02896, allocations: 2.201 MB / 0.4941 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.02965, allocations: 0.5118 MB / 0.4946 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.02985, allocations: 151.4 kB / 0.4947 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.03135, allocations: 0.9752 MB / 0.4957 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.03138, allocations: 45.89 kB / 0.4957 GB, free: 8.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.064e-06/0.03138, allocations: 0 / 0.4957 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.002211/0.03359, allocations: 0.823 MB / 0.4965 GB, free: 8.086 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.03363, allocations: 86.22 kB / 0.4966 GB, free: 7.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.03464, allocations: 0.6442 MB / 0.4972 GB, free: 7.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.03468, allocations: 33.7 kB / 0.4973 GB, free: 7.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.03497, allocations: 492.8 kB / 0.4977 GB, free: 6.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.03511, allocations: 201.8 kB / 0.4979 GB, free: 6.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.03526, allocations: 126.1 kB / 0.498 GB, free: 6.637 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.03539, allocations: 0.5043 MB / 0.4985 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.03552, allocations: 70.28 kB / 0.4986 GB, free: 6.078 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.03575, allocations: 263.7 kB / 0.4989 GB, free: 5.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.03616, allocations: 382.2 kB / 0.4992 GB, free: 5.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.03616, allocations: 0.8438 kB / 0.4992 GB, free: 5.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009304/0.03709, allocations: 0.592 MB / 0.4998 GB, free: 4.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.03711, allocations: 12 kB / 0.4998 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.03711, allocations: 4 kB / 0.4998 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.03821, allocations: 294.5 kB / 0.5001 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.0385, allocations: 112.2 kB / 0.5002 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.04022, allocations: 3.513 MB / 0.5036 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.04055, allocations: 64.17 kB / 0.5037 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.04059, allocations: 21.27 kB / 0.5037 GB, free: 0.7461 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection.turb_flag,thermalConvection1.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.04077, allocations: 197 kB / 0.5039 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.0409, allocations: 100.2 kB / 0.504 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.04226, allocations: 0.7046 MB / 0.5047 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.04227, allocations: 8 kB / 0.5047 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.04227, allocations: 4 kB / 0.5047 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.04228, allocations: 0 / 0.5047 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.04383, allocations: 0.9925 MB / 0.5057 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.04384, allocations: 12 kB / 0.5057 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.04404, allocations: 67.91 kB / 0.5057 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.04508, allocations: 299 kB / 0.506 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.04511, allocations: 12 kB / 0.506 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.04696, allocations: 3.509 MB / 0.5095 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.04696, allocations: 0 / 0.5095 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.048, allocations: 0.8506 MB / 0.5103 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.04817, allocations: 119.2 kB / 0.5104 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.04824, allocations: 15.98 kB / 0.5104 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.04848, allocations: 12 kB / 0.5104 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.04855, allocations: 40.42 kB / 0.5105 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.04857, allocations: 12.19 kB / 0.5105 GB, free: 9.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.04886, allocations: 402.8 kB / 0.5109 GB, free: 9.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04886, allocations: 4 kB / 0.5109 GB, free: 9.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005811/0.04944, allocations: 235.5 kB / 0.5111 GB, free: 8.926 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002202/0.04966, allocations: 177 kB / 0.5113 GB, free: 8.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006978/0.05036, allocations: 0.5101 MB / 0.5118 GB, free: 8.215 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.05036, allocations: 4.062 kB / 0.5118 GB, free: 8.211 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.05078, allocations: 381 kB / 0.5121 GB, free: 7.816 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.05178, allocations: 276.3 kB / 0.5124 GB, free: 7.551 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.05381, allocations: 1.407 MB / 0.5138 GB, free: 6.094 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.05394, allocations: 155.2 kB / 0.5139 GB, free: 5.918 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.05423, allocations: 109.8 kB / 0.514 GB, free: 5.809 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.05462, allocations: 274 kB / 0.5143 GB, free: 5.539 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05462, allocations: 0 / 0.5143 GB, free: 5.539 MB / 442.7 MB Notification: Performance of Templates: time 0.01893/0.07355, allocations: 13.19 MB / 0.5272 GB, free: 8.66 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_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.914826852735132]