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.0009916/0.0009916, 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.001082/0.001082, 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.925/0.925, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.6572/0.6572, 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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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.824e-06/1.824e-06, allocations: 0 / 484.1 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.434e-05, allocations: 10.69 kB / 484.1 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.008758/0.008782, allocations: 8.236 MB / 492.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.01493, allocations: 2.381 MB / 494.7 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004831/0.01541, allocations: 47.69 kB / 494.7 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.0158, allocations: 182.5 kB / 494.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004405/0.0202, allocations: 0.6471 MB / 495.6 MB, free: 268 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.02083, allocations: 304.7 kB / 495.8 MB, free: 100 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.02215, allocations: 1.301 MB / 497.1 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.02543, allocations: 148.4 kB / 497.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.02666, allocations: 0.7062 MB / 498 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000666/0.02733, allocations: 347.5 kB / 498.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.02751, allocations: 58.62 kB / 498.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.02804, allocations: 184 kB / 498.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.0282, allocations: 164.8 kB / 498.7 MB, free: 14.78 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.03164, allocations: 295.3 kB / 499 MB, free: 14.67 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.03279, allocations: 0.8333 MB / 499.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.0328, allocations: 1.469 kB / 499.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0328, allocations: 4 kB / 499.9 MB, free: 14.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.03281, allocations: 0 / 499.9 MB, free: 14.28 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.004985/0.0378, allocations: 1.321 MB / 0.4894 GB, free: 13.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.03784, allocations: 13.25 kB / 0.4895 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.0383, allocations: 185.9 kB / 0.4896 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009813/0.03928, allocations: 0.6725 MB / 0.4903 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.03932, allocations: 47.06 kB / 0.4903 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.976e-05/0.0394, allocations: 65.16 kB / 0.4904 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.04006, allocations: 487.2 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.04008, allocations: 1.281 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.04012, allocations: 29.91 kB / 0.4909 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.04013, allocations: 16.03 kB / 0.4909 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.04357, allocations: 268 kB / 0.4912 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.04934, allocations: 2.194 MB / 0.4933 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.05009, allocations: 0.521 MB / 0.4938 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.05029, allocations: 155.1 kB / 0.494 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.05167, allocations: 0.9888 MB / 0.4949 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.0517, allocations: 42.64 kB / 0.495 GB, free: 8.777 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.254e-06/0.0517, allocations: 0 / 0.495 GB, free: 8.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.002106/0.05381, allocations: 0.823 MB / 0.4958 GB, free: 8.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.05385, allocations: 86.22 kB / 0.4958 GB, free: 7.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.05445, allocations: 0.6433 MB / 0.4965 GB, free: 7.434 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.05449, allocations: 38.36 kB / 0.4965 GB, free: 7.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.05491, allocations: 489 kB / 0.497 GB, free: 6.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.05505, allocations: 205.3 kB / 0.4972 GB, free: 6.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.0552, allocations: 126.4 kB / 0.4973 GB, free: 6.637 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.05534, allocations: 0.5004 MB / 0.4978 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.05548, allocations: 70.52 kB / 0.4979 GB, free: 6.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.05572, allocations: 259.1 kB / 0.4981 GB, free: 5.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.05615, allocations: 398.7 kB / 0.4985 GB, free: 5.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.05615, allocations: 3.938 kB / 0.4985 GB, free: 5.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00088/0.05703, allocations: 0.5926 MB / 0.4991 GB, free: 4.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.05705, allocations: 8 kB / 0.4991 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.05706, allocations: 4 kB / 0.4991 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.0581, allocations: 294.3 kB / 0.4994 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.05838, allocations: 112.9 kB / 0.4995 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/0.06339, allocations: 3.501 MB / 0.5029 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.06371, allocations: 68.2 kB / 0.5029 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.06375, allocations: 17.5 kB / 0.503 GB, free: 0.75 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.0002049/0.06395, allocations: 197.2 kB / 0.5032 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.06408, allocations: 107.4 kB / 0.5033 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.06541, allocations: 0.6913 MB / 0.5039 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.06542, allocations: 8 kB / 0.5039 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.06542, allocations: 0 / 0.5039 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.06543, allocations: 3.984 kB / 0.5039 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.06689, allocations: 1.004 MB / 0.5049 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.06689, allocations: 3.938 kB / 0.5049 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/0.07013, allocations: 72.09 kB / 0.505 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000983/0.07111, allocations: 302.9 kB / 0.5053 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.07114, allocations: 12 kB / 0.5053 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.07274, allocations: 3.501 MB / 0.5087 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.07274, allocations: 0 / 0.5087 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.075, allocations: 0.8583 MB / 0.5096 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.07518, allocations: 127.4 kB / 0.5097 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.07524, allocations: 16 kB / 0.5097 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.07546, allocations: 8 kB / 0.5097 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.07552, allocations: 40.42 kB / 0.5097 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.07555, allocations: 15.98 kB / 0.5097 GB, free: 9.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002595/0.07581, allocations: 402.8 kB / 0.5101 GB, free: 9.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07581, allocations: 0 / 0.5101 GB, free: 9.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005583/0.07636, allocations: 235.5 kB / 0.5104 GB, free: 8.891 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.0002101/0.07657, allocations: 178.7 kB / 0.5105 GB, free: 8.711 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006245/0.0772, allocations: 0.5092 MB / 0.511 GB, free: 8.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0772, allocations: 0 / 0.511 GB, free: 8.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.07752, allocations: 382.2 kB / 0.5114 GB, free: 7.785 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.07827, allocations: 272.2 kB / 0.5116 GB, free: 7.531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.0801, allocations: 1.416 MB / 0.513 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.08021, allocations: 159.2 kB / 0.5132 GB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.08045, allocations: 112.6 kB / 0.5133 GB, free: 5.777 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.08076, allocations: 270 kB / 0.5135 GB, free: 5.512 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.08076, allocations: 0 / 0.5135 GB, free: 5.512 MB / 442.7 MB Notification: Performance of Templates: time 0.0143/0.09506, allocations: 12.97 MB / 0.5262 GB, free: 8.809 MB / 458.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 -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.8116667233407497]