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.001016/0.001016, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009702/0.0009702, allocations: 173 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 0.939/0.939, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.7104/0.7104, allocations: 118.6 MB / 378.6 MB, free: 1.48 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.322e-06/1.322e-06, allocations: 0 / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.525e-05, allocations: 8.625 kB / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.008148/0.008163, allocations: 8.325 MB / 491.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.01162, allocations: 2.398 MB / 494.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/0.01224, allocations: 51 kB / 494.4 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.01274, allocations: 179.7 kB / 494.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.01406, allocations: 0.6481 MB / 495.2 MB, free: 452 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.01479, allocations: 306 kB / 495.5 MB, free: 284 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.01625, allocations: 1.302 MB / 496.8 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.01657, allocations: 144.6 kB / 496.9 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.01781, allocations: 0.7048 MB / 497.6 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006378/0.01845, allocations: 351.7 kB / 498 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.01857, allocations: 58.66 kB / 498 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.0191, allocations: 187.8 kB / 498.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.01925, allocations: 169.3 kB / 498.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.01962, allocations: 296 kB / 498.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.02091, allocations: 0.8253 MB / 499.5 MB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.02092, allocations: 0 / 499.5 MB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02092, allocations: 0 / 499.5 MB, free: 14.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.02094, allocations: 1.094 kB / 499.5 MB, free: 14.46 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.002322/0.02326, allocations: 1.317 MB / 0.4891 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.02331, allocations: 8.812 kB / 0.4891 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.02371, allocations: 186.2 kB / 0.4893 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.02474, allocations: 0.6732 MB / 0.4899 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.02478, allocations: 47.81 kB / 0.49 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.282e-05/0.02486, allocations: 65.62 kB / 0.49 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.02566, allocations: 0.5119 MB / 0.4905 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.02568, allocations: 8.812 kB / 0.4906 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.02572, allocations: 31.94 kB / 0.4906 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.02574, allocations: 16 kB / 0.4906 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.02627, allocations: 337.8 kB / 0.4909 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.02891, allocations: 2.301 MB / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.02965, allocations: 0.5473 MB / 0.4937 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.02988, allocations: 179.3 kB / 0.4939 GB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.03106, allocations: 0.9824 MB / 0.4948 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.03109, allocations: 46.59 kB / 0.4949 GB, free: 8.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.073e-06/0.03109, allocations: 0 / 0.4949 GB, free: 8.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.001956/0.03305, allocations: 0.8738 MB / 0.4957 GB, free: 7.969 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.03308, allocations: 82.12 kB / 0.4958 GB, free: 7.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.03363, allocations: 0.6594 MB / 0.4965 GB, free: 7.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.03366, allocations: 29.7 kB / 0.4965 GB, free: 7.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.0339, allocations: 494 kB / 0.497 GB, free: 6.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.03401, allocations: 201.5 kB / 0.4971 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.03413, allocations: 117.8 kB / 0.4973 GB, free: 6.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003908/0.03452, allocations: 0.5048 MB / 0.4977 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.03467, allocations: 94 kB / 0.4978 GB, free: 5.938 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.0349, allocations: 279.4 kB / 0.4981 GB, free: 5.621 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.03531, allocations: 418.9 kB / 0.4985 GB, free: 5.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.03532, allocations: 4 kB / 0.4985 GB, free: 5.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000834/0.03615, allocations: 0.648 MB / 0.4991 GB, free: 4.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.03617, allocations: 8 kB / 0.4991 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.03618, allocations: 4.609 kB / 0.4992 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009407/0.03712, allocations: 293.9 kB / 0.4994 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.03736, allocations: 116.8 kB / 0.4995 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.03903, allocations: 3.545 MB / 0.503 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.03932, allocations: 59.52 kB / 0.5031 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.03936, allocations: 31.94 kB / 0.5031 GB, free: 432 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.0001755/0.03953, allocations: 192.5 kB / 0.5033 GB, free: 228 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.03962, allocations: 103.5 kB / 0.5034 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.04082, allocations: 0.7337 MB / 0.5041 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.04083, allocations: 4 kB / 0.5041 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.04083, allocations: 4 kB / 0.5041 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.04084, allocations: 7.984 kB / 0.5041 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.04252, allocations: 1.129 MB / 0.5052 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.04252, allocations: 4.062 kB / 0.5052 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.04269, allocations: 75.84 kB / 0.5053 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008508/0.04354, allocations: 290.9 kB / 0.5056 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.04358, allocations: 15.94 kB / 0.5056 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.04515, allocations: 3.555 MB / 0.5091 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.04515, allocations: 0 / 0.5091 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.04615, allocations: 0.9092 MB / 0.5099 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.04633, allocations: 119.2 kB / 0.5101 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.04639, allocations: 15.98 kB / 0.5101 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.04655, allocations: 12 kB / 0.5101 GB, free: 8.938 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.04663, allocations: 48.3 kB / 0.5101 GB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.04666, allocations: 16 kB / 0.5101 GB, free: 8.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003441/0.04701, allocations: 434.9 kB / 0.5106 GB, free: 8.457 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04701, allocations: 4 kB / 0.5106 GB, free: 8.453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006271/0.04763, allocations: 231.6 kB / 0.5108 GB, free: 8.227 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.0002542/0.04789, allocations: 170.7 kB / 0.5109 GB, free: 8.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007786/0.04867, allocations: 0.5491 MB / 0.5115 GB, free: 7.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04867, allocations: 4.125 kB / 0.5115 GB, free: 7.477 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.04934, allocations: 393 kB / 0.5119 GB, free: 7.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008333/0.05018, allocations: 275.3 kB / 0.5121 GB, free: 6.816 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.05239, allocations: 1.408 MB / 0.5135 GB, free: 5.355 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.0525, allocations: 155.2 kB / 0.5136 GB, free: 5.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003266/0.05283, allocations: 110.7 kB / 0.5137 GB, free: 5.078 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.05293, allocations: 68.47 kB / 0.5138 GB, free: 5.012 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/0.05294, allocations: 4 kB / 0.5138 GB, free: 5.008 MB / 442.7 MB Notification: Performance of Templates: time 0.01926/0.07219, allocations: 12.87 MB / 0.5264 GB, free: 8.418 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.965777001809329]