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.001535/0.001535, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001752/0.001752, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.052/1.052, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7495/0.7495, allocations: 118.6 MB / 378.6 MB, free: 1.504 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.944e-06/1.944e-06, allocations: 0 / 483.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.311e-05, allocations: 9.266 kB / 483.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.008749/0.008772, allocations: 8.326 MB / 491.9 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.01198, allocations: 2.404 MB / 494.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.01253, allocations: 47.97 kB / 494.4 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.01297, allocations: 180 kB / 494.6 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.0142, allocations: 0.6405 MB / 495.2 MB, free: 368 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.01479, allocations: 306.2 kB / 495.5 MB, free: 200 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.01667, allocations: 1.301 MB / 496.8 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.01697, allocations: 145.6 kB / 496.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.01827, allocations: 0.703 MB / 497.6 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/0.0189, allocations: 343.5 kB / 498 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.01903, allocations: 59.19 kB / 498 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.01967, allocations: 184.9 kB / 498.2 MB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.01986, allocations: 165.6 kB / 498.4 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.02028, allocations: 303 kB / 498.7 MB, free: 14.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.02169, allocations: 0.8271 MB / 499.5 MB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.02169, allocations: 0 / 499.5 MB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0217, allocations: 4 kB / 499.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.02172, allocations: 0 / 499.5 MB, free: 14.38 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.00232/0.02404, allocations: 1.309 MB / 0.4891 GB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.0241, allocations: 9.625 kB / 0.4891 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.02455, allocations: 189.6 kB / 0.4893 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.0257, allocations: 0.6736 MB / 0.4899 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.02574, allocations: 46.28 kB / 0.49 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.02585, allocations: 66.81 kB / 0.49 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.02677, allocations: 0.5182 MB / 0.4905 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.02679, allocations: 1.219 kB / 0.4905 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.02683, allocations: 30.88 kB / 0.4906 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.02685, allocations: 16 kB / 0.4906 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.02743, allocations: 333 kB / 0.4909 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.03014, allocations: 2.307 MB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.03096, allocations: 0.5545 MB / 0.4937 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.03121, allocations: 179.8 kB / 0.4939 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.03248, allocations: 0.976 MB / 0.4948 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.03251, allocations: 41.89 kB / 0.4949 GB, free: 8.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 1.633e-06/0.03251, allocations: 0 / 0.4949 GB, free: 8.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.002088/0.0346, allocations: 0.8713 MB / 0.4957 GB, free: 7.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.03465, allocations: 93.73 kB / 0.4958 GB, free: 7.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.03523, allocations: 0.6516 MB / 0.4964 GB, free: 7.238 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.03526, allocations: 37.7 kB / 0.4965 GB, free: 7.195 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.03555, allocations: 481.7 kB / 0.4969 GB, free: 6.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.03567, allocations: 205.5 kB / 0.4971 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.0358, allocations: 122.6 kB / 0.4972 GB, free: 6.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.03596, allocations: 0.4964 MB / 0.4977 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.03613, allocations: 93.86 kB / 0.4978 GB, free: 5.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.0364, allocations: 279.2 kB / 0.4981 GB, free: 5.562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.03684, allocations: 435.7 kB / 0.4985 GB, free: 5.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.03684, allocations: 3.938 kB / 0.4985 GB, free: 5.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009033/0.03775, allocations: 0.6435 MB / 0.4991 GB, free: 4.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.03777, allocations: 8 kB / 0.4991 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.03778, allocations: 4.75 kB / 0.4991 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.03883, allocations: 294.9 kB / 0.4994 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.03907, allocations: 112.5 kB / 0.4995 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.041, allocations: 3.55 MB / 0.503 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.04122, allocations: 68.27 kB / 0.5031 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.04126, allocations: 25.34 kB / 0.5031 GB, free: 388 kB / 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 (thermalConvection1.turb_flag,thermalConvection.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.0001896/0.04145, allocations: 197.1 kB / 0.5033 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.04156, allocations: 104 kB / 0.5034 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.04284, allocations: 0.7355 MB / 0.5041 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.04285, allocations: 7.984 kB / 0.5041 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04285, allocations: 0 / 0.5041 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.04286, allocations: 4 kB / 0.5041 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.04427, allocations: 1.14 MB / 0.5052 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.04427, allocations: 0 / 0.5052 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.04444, allocations: 71.91 kB / 0.5053 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008186/0.04526, allocations: 298.8 kB / 0.5056 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.04529, allocations: 12 kB / 0.5056 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.04686, allocations: 3.547 MB / 0.509 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.04686, allocations: 4.094 kB / 0.5091 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.0479, allocations: 0.9014 MB / 0.5099 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.04805, allocations: 123.2 kB / 0.51 GB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.04809, allocations: 16 kB / 0.5101 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.04825, allocations: 12 kB / 0.5101 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.04832, allocations: 40.36 kB / 0.5101 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.04834, allocations: 20 kB / 0.5101 GB, free: 8.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.04866, allocations: 434.9 kB / 0.5105 GB, free: 8.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04866, allocations: 0 / 0.5105 GB, free: 8.465 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006033/0.04926, allocations: 231.6 kB / 0.5108 GB, free: 8.238 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.0002494/0.04951, allocations: 171 kB / 0.5109 GB, free: 8.059 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.05023, allocations: 0.5565 MB / 0.5115 GB, free: 7.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.05024, allocations: 0 / 0.5115 GB, free: 7.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.05061, allocations: 389.8 kB / 0.5118 GB, free: 7.078 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.05145, allocations: 272.4 kB / 0.5121 GB, free: 6.824 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.05368, allocations: 1.428 MB / 0.5135 GB, free: 5.352 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.0538, allocations: 155.2 kB / 0.5137 GB, free: 5.176 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.05404, allocations: 103.8 kB / 0.5137 GB, free: 5.078 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.6e-05/0.05414, allocations: 64.48 kB / 0.5138 GB, free: 5.016 MB / 442.7 MB Notification: Performance of SimCode: time 1.273e-06/0.05414, allocations: 0 / 0.5138 GB, free: 5.016 MB / 442.7 MB Notification: Performance of Templates: time 0.01607/0.0702, allocations: 11.92 MB / 0.5255 GB, free: 9.363 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: 4.393864222802222]