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.001319/0.001319, 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.001595/0.001595, 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.9543/0.9543, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.6689/0.6689, allocations: 118.6 MB / 378.9 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 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.543e-06/1.543e-06, allocations: 0 / 484 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.627e-05, allocations: 2.312 kB / 484 MB, free: 8.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.008518/0.008544, allocations: 7.085 MB / 491.1 MB, free: 3.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.01184, allocations: 2.094 MB / 493.2 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006381/0.01248, allocations: 35.34 kB / 493.3 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.01293, allocations: 138.2 kB / 493.4 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.01398, allocations: 0.4962 MB / 493.9 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.01446, allocations: 233.6 kB / 494.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007965/0.01525, allocations: 0.9149 MB / 495 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.01545, allocations: 87.09 kB / 495.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008198/0.01627, allocations: 0.5182 MB / 495.6 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.01661, allocations: 240 kB / 495.9 MB, free: 452 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.875e-05/0.01668, allocations: 44.19 kB / 495.9 MB, free: 448 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.01708, allocations: 155.2 kB / 496.1 MB, free: 412 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.023e-05/0.01717, allocations: 113.5 kB / 496.2 MB, free: 332 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.01737, allocations: 209.8 kB / 496.4 MB, free: 248 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008836/0.01825, allocations: 0.6141 MB / 497 MB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01826, allocations: 0 / 497 MB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01826, allocations: 0 / 497 MB, free: 15.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.01828, allocations: 0.7031 kB / 497 MB, free: 15.96 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.001374/0.01965, allocations: 1.039 MB / 498 MB, free: 15.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01969, allocations: 9.5 kB / 498 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.01995, allocations: 129.9 kB / 498.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.02066, allocations: 0.5247 MB / 498.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.02068, allocations: 34.5 kB / 498.7 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.02073, allocations: 40.64 kB / 498.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.02115, allocations: 336.4 kB / 499.1 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.02116, allocations: 5.062 kB / 499.1 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.02119, allocations: 15.94 kB / 499.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.0212, allocations: 14.12 kB / 499.1 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.02145, allocations: 170.3 kB / 499.3 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.02317, allocations: 1.599 MB / 0.4892 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.02357, allocations: 313.3 kB / 0.4895 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.02369, allocations: 103 kB / 0.4896 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/0.02455, allocations: 0.7974 MB / 0.4903 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.02458, allocations: 37.48 kB / 0.4904 GB, free: 12.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.02458, allocations: 0 / 0.4904 GB, free: 12.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001183/0.02576, allocations: 0.531 MB / 0.4909 GB, free: 12.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.02579, allocations: 82.38 kB / 0.491 GB, free: 12.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.02617, allocations: 0.5051 MB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.0262, allocations: 33.7 kB / 0.4915 GB, free: 11.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.02638, allocations: 369.9 kB / 0.4918 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.02644, allocations: 133 kB / 0.492 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.02653, allocations: 82.08 kB / 0.492 GB, free: 11.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.02669, allocations: 0.5457 MB / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.02676, allocations: 47.92 kB / 0.4926 GB, free: 10.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.02688, allocations: 164.9 kB / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.02708, allocations: 246 kB / 0.493 GB, free: 10.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.02709, allocations: 3.938 kB / 0.493 GB, free: 10.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004495/0.02754, allocations: 394.6 kB / 0.4934 GB, free: 9.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.02755, allocations: 8 kB / 0.4934 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02756, allocations: 4 kB / 0.4934 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/0.02808, allocations: 164.3 kB / 0.4936 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.02822, allocations: 71.91 kB / 0.4936 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.02937, allocations: 2.623 MB / 0.4962 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.02953, allocations: 48.7 kB / 0.4962 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.02955, allocations: 12.52 kB / 0.4963 GB, free: 6.934 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.000128/0.02968, allocations: 181.6 kB / 0.4964 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.02974, allocations: 67.62 kB / 0.4965 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.03021, allocations: 416.9 kB / 0.4969 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.03021, allocations: 4.656 kB / 0.4969 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.03022, allocations: 3.938 kB / 0.4969 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.03022, allocations: 1.406 kB / 0.4969 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.03119, allocations: 0.7781 MB / 0.4977 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.03119, allocations: 3.938 kB / 0.4977 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.0313, allocations: 41.7 kB / 0.4977 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/0.03178, allocations: 170.1 kB / 0.4979 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.0318, allocations: 13.55 kB / 0.4979 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.03284, allocations: 2.619 MB / 0.5004 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03284, allocations: 0 / 0.5004 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.03348, allocations: 0.6692 MB / 0.5011 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.03358, allocations: 90.92 kB / 0.5012 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.03362, allocations: 8 kB / 0.5012 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.03374, allocations: 9.312 kB / 0.5012 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.0338, allocations: 32.36 kB / 0.5012 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.03381, allocations: 13.34 kB / 0.5012 GB, free: 1.898 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.03403, allocations: 331.8 kB / 0.5016 GB, free: 1.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03403, allocations: 0 / 0.5016 GB, free: 1.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004761/0.03451, allocations: 157.3 kB / 0.5017 GB, free: 1.473 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.0002274/0.03473, allocations: 161.5 kB / 0.5019 GB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.0352, allocations: 396 kB / 0.5022 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.0352, allocations: 0 / 0.5022 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.03544, allocations: 291.7 kB / 0.5025 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.03608, allocations: 200.8 kB / 0.5027 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.0378, allocations: 1.064 MB / 0.5037 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.0379, allocations: 124.1 kB / 0.5039 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.03814, allocations: 79.22 kB / 0.5039 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.0384, allocations: 209.8 kB / 0.5041 GB, free: 15.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/0.0384, allocations: 0 / 0.5041 GB, free: 15.14 MB / 442.7 MB Notification: Performance of Templates: time 0.01282/0.05122, allocations: 9.283 MB / 0.5132 GB, free: 6.234 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.709703541826457]