Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0007868/0.0007868, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001795, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007009/0.0007009, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008811/0.001582, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9566/0.9566, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08078/1.037, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.72/0.72, allocations: 118.7 MB / 362.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06431/0.7843, allocations: 35.84 MB / 398.5 MB, free: 13.34 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 399.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.404e-05, allocations: 2.312 kB / 399.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.006218/0.006232, allocations: 8.343 MB / 408.1 MB, free: 3.664 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.008299, allocations: 2.45 MB / 410.6 MB, free: 1.207 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.008558, allocations: 51.5 kB / 410.6 MB, free: 1.156 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.008832, allocations: 182.2 kB / 410.8 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007368/0.009569, allocations: 0.632 MB / 411.5 MB, free: 348 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.009917, allocations: 311.2 kB / 411.8 MB, free: 36 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.01078, allocations: 1.306 MB / 413.1 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.01098, allocations: 166 kB / 413.2 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.01164, allocations: 0.7685 MB / 414 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.01194, allocations: 342.8 kB / 414.3 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.012, allocations: 60 kB / 414.4 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.01225, allocations: 183.7 kB / 414.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.01234, allocations: 127.4 kB / 414.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.01253, allocations: 263.4 kB / 414.9 MB, free: 12.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.01317, allocations: 0.7665 MB / 415.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.01319, allocations: 3.984 kB / 415.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01319, allocations: 0 / 415.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.0132, allocations: 0 / 415.7 MB, free: 12.04 MB / 410.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.00132/0.01452, allocations: 1.481 MB / 417.2 MB, free: 10.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.01455, allocations: 8.031 kB / 417.2 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.01476, allocations: 144.7 kB / 417.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.01537, allocations: 0.6076 MB / 418 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.0154, allocations: 49.69 kB / 418 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.01547, allocations: 72.31 kB / 418.1 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.01592, allocations: 481.4 kB / 418.5 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.01593, allocations: 4.125 kB / 418.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.01597, allocations: 35.92 kB / 418.6 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.01598, allocations: 16 kB / 418.6 MB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.01626, allocations: 245 kB / 418.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.01787, allocations: 1.625 MB / 420.5 MB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.01833, allocations: 472.5 kB / 420.9 MB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.01845, allocations: 127.6 kB / 421 MB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008314/0.01928, allocations: 0.7345 MB / 421.8 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01931, allocations: 43.05 kB / 421.8 MB, free: 5.727 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.402e-06/0.01931, allocations: 0 / 421.8 MB, free: 5.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.001427/0.02074, allocations: 0.7069 MB / 422.5 MB, free: 5.004 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.02077, allocations: 85.61 kB / 422.6 MB, free: 4.902 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.02112, allocations: 0.5896 MB / 423.2 MB, free: 4.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.02115, allocations: 33.7 kB / 423.2 MB, free: 4.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.02132, allocations: 338.4 kB / 423.6 MB, free: 3.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.631e-05/0.02141, allocations: 206.2 kB / 423.8 MB, free: 3.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.02151, allocations: 114.2 kB / 423.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.0216, allocations: 337.9 kB / 424.2 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.02167, allocations: 61.27 kB / 424.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.02181, allocations: 205.8 kB / 424.5 MB, free: 2.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.02206, allocations: 330.6 kB / 424.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02207, allocations: 0 / 424.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005404/0.02261, allocations: 471.4 kB / 425.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.02262, allocations: 8 kB / 425.3 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02263, allocations: 4.281 kB / 425.3 MB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/0.02336, allocations: 286.2 kB / 425.5 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.02362, allocations: 127.9 kB / 425.7 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1875/0.2112, allocations: 2.38 MB / 428.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.2116, allocations: 63.8 kB / 428.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.2116, allocations: 19.05 kB / 428.1 MB, free: 13.32 MB / 410.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.0001769/0.2118, allocations: 151.7 kB / 428.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.2119, allocations: 69.41 kB / 428.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.2128, allocations: 0.6032 MB / 429 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2128, allocations: 6.5 kB / 429 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2128, allocations: 5.562 kB / 429 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2128, allocations: 2.906 kB / 429 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2139, allocations: 0.7788 MB / 429.7 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2139, allocations: 2.156 kB / 429.7 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.2141, allocations: 94.95 kB / 429.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.2142, allocations: 100.6 kB / 429.9 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.215, allocations: 281.6 kB / 430.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.215, allocations: 13.56 kB / 430.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008916/0.2159, allocations: 2.375 MB / 432.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2159, allocations: 1.562 kB / 432.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.2166, allocations: 0.6479 MB / 433.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.2166, allocations: 14.2 kB / 433.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.2168, allocations: 12.47 kB / 433.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.2168, allocations: 42.61 kB / 433.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2169, allocations: 11.83 kB / 433.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.2171, allocations: 288.6 kB / 433.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2171, allocations: 0 / 433.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004394/0.2175, allocations: 233.3 kB / 433.8 MB, free: 10.39 MB / 410.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.0001837/0.2177, allocations: 144.8 kB / 434 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005329/0.2182, allocations: 444.8 kB / 434.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/0.2182, allocations: 14.3 kB / 434.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.2185, allocations: 313 kB / 434.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.2192, allocations: 337.8 kB / 435.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008921/0.2281, allocations: 1.442 MB / 436.5 MB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2283, allocations: 165.5 kB / 436.7 MB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.2285, allocations: 110.1 kB / 436.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.2288, allocations: 225.5 kB / 437 MB, free: 9.211 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2288, allocations: 1.203 kB / 437 MB, free: 9.211 MB / 410.7 MB Notification: Performance of Templates: time 0.01399/0.2428, allocations: 13.5 MB / 450.5 MB, free: 2.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.85027433373034]