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.00178/0.00178, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001812/0.001812, allocations: 169 kB / 24.05 MB, free: 456 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.9391/0.9391, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7139/0.7139, allocations: 118.6 MB / 379.7 MB, free: 1.355 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="Time|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="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 484.8 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.591e-05, allocations: 2.312 kB / 484.8 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01313/0.01314, allocations: 7.079 MB / 491.9 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.01863, allocations: 2.086 MB / 494 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.01898, allocations: 39.75 kB / 494 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.01929, allocations: 134.1 kB / 494.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.02222, allocations: 0.4982 MB / 494.7 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.02255, allocations: 243.3 kB / 494.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.02319, allocations: 0.9085 MB / 495.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.02335, allocations: 93.02 kB / 495.9 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005954/0.02395, allocations: 0.5137 MB / 496.4 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.02422, allocations: 239.1 kB / 496.7 MB, free: 468 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.02427, allocations: 43.41 kB / 496.7 MB, free: 464 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.02453, allocations: 157.3 kB / 496.9 MB, free: 428 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.02461, allocations: 121.2 kB / 497 MB, free: 340 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.02477, allocations: 209.7 kB / 497.2 MB, free: 256 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006706/0.02544, allocations: 0.6098 MB / 497.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.02545, allocations: 0 / 497.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.02545, allocations: 3.938 kB / 497.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.02546, allocations: 1.031 kB / 497.8 MB, free: 15.97 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.001136/0.02659, allocations: 1.035 MB / 498.8 MB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.02662, allocations: 10.25 kB / 498.8 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.02683, allocations: 129.4 kB / 499 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.02742, allocations: 0.5325 MB / 499.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.02744, allocations: 29.88 kB / 499.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.02749, allocations: 40.38 kB / 499.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.02788, allocations: 340.9 kB / 499.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.0279, allocations: 5.344 kB / 499.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.02792, allocations: 14.97 kB / 499.9 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.02793, allocations: 14.67 kB / 499.9 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.02817, allocations: 170.6 kB / 0.4884 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.02967, allocations: 1.591 MB / 0.4899 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.03005, allocations: 317.2 kB / 0.4902 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.03016, allocations: 107.7 kB / 0.4903 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007854/0.03095, allocations: 0.7813 MB / 0.4911 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.03097, allocations: 41.05 kB / 0.4911 GB, free: 12.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.262e-06/0.03098, allocations: 1.094 kB / 0.4911 GB, free: 12.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001187/0.03216, allocations: 0.524 MB / 0.4916 GB, free: 12.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.0322, allocations: 86.27 kB / 0.4917 GB, free: 12.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.03256, allocations: 0.5054 MB / 0.4922 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.03258, allocations: 33.7 kB / 0.4923 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.03279, allocations: 377.5 kB / 0.4926 GB, free: 11.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/0.03286, allocations: 129 kB / 0.4927 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.03294, allocations: 78.31 kB / 0.4928 GB, free: 11.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.03314, allocations: 0.5458 MB / 0.4933 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.03325, allocations: 47.25 kB / 0.4934 GB, free: 10.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.03338, allocations: 165.8 kB / 0.4936 GB, free: 10.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.03359, allocations: 245.5 kB / 0.4938 GB, free: 10.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.0336, allocations: 3.938 kB / 0.4938 GB, free: 10.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004686/0.03407, allocations: 394.7 kB / 0.4942 GB, free: 9.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.03408, allocations: 8 kB / 0.4942 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.03409, allocations: 4 kB / 0.4942 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.03461, allocations: 160.3 kB / 0.4943 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.03476, allocations: 72.23 kB / 0.4944 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.03592, allocations: 2.63 MB / 0.497 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.03606, allocations: 32.58 kB / 0.497 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.03608, allocations: 20.8 kB / 0.497 GB, free: 6.906 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.0001319/0.03621, allocations: 177.2 kB / 0.4972 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.0363, allocations: 72.38 kB / 0.4973 GB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.0368, allocations: 412.4 kB / 0.4976 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03681, allocations: 4 kB / 0.4977 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.03681, allocations: 4.75 kB / 0.4977 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.03682, allocations: 1.266 kB / 0.4977 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.03778, allocations: 0.7776 MB / 0.4984 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.03778, allocations: 4.609 kB / 0.4984 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.03789, allocations: 41.67 kB / 0.4985 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.03837, allocations: 170 kB / 0.4986 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.03839, allocations: 9.312 kB / 0.4986 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.03946, allocations: 2.619 MB / 0.5012 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.03946, allocations: 4 kB / 0.5012 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.0401, allocations: 0.6623 MB / 0.5018 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.0402, allocations: 89.8 kB / 0.5019 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.04023, allocations: 16.64 kB / 0.5019 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.04036, allocations: 8.891 kB / 0.5019 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.04041, allocations: 28.55 kB / 0.502 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.04043, allocations: 9.344 kB / 0.502 GB, free: 1.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.04065, allocations: 331.8 kB / 0.5023 GB, free: 1.609 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04065, allocations: 0 / 0.5023 GB, free: 1.609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.04103, allocations: 157.1 kB / 0.5025 GB, free: 1.457 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.0001949/0.04122, allocations: 173.5 kB / 0.5026 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.04164, allocations: 392.1 kB / 0.503 GB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.04165, allocations: 4.062 kB / 0.503 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.04188, allocations: 288 kB / 0.5033 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.04248, allocations: 194.3 kB / 0.5035 GB, free: 500 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.04392, allocations: 1.067 MB / 0.5045 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.513e-05/0.04401, allocations: 124.6 kB / 0.5046 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.04419, allocations: 79.17 kB / 0.5047 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.04448, allocations: 213.6 kB / 0.5049 GB, free: 15.14 MB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.04448, allocations: 0 / 0.5049 GB, free: 15.14 MB / 442.7 MB Notification: Performance of Templates: time 0.0107/0.05518, allocations: 9.422 MB / 0.5141 GB, free: 6.109 MB / 442.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 -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.7744277040474117]