Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.000866/0.000866, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.0009069/0.0009069, allocations: 169.7 kB / 25.04 MB, free: 9.203 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.9668/0.9668, allocations: 177.1 MB / 205.5 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.85/1.85, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7762 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.81e-05, allocations: 5.828 kB / 0.7762 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001772/0.00179, allocations: 1.525 MB / 0.7777 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004471/0.006261, allocations: 4.024 MB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.006309, allocations: 7.938 kB / 0.7817 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.006409, allocations: 7.922 kB / 0.7817 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.006607, allocations: 44.45 kB / 0.7817 GB, free: 15.61 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.008839, allocations: 1.436 MB / 0.7831 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.008941, allocations: 93.02 kB / 0.7832 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.008975, allocations: 7.984 kB / 0.7832 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.00905, allocations: 67.8 kB / 0.7833 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.009138, allocations: 42.38 kB / 0.7833 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.009153, allocations: 7.938 kB / 0.7833 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.01162, allocations: 2.592 MB / 0.7858 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.01176, allocations: 251.3 kB / 0.7861 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.01184, allocations: 120.1 kB / 0.7862 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.0139, allocations: 2.346 MB / 0.7885 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0139, allocations: 1.125 kB / 0.7885 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.0139, allocations: 0 / 0.7885 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.01391, allocations: 0 / 0.7885 GB, free: 8.664 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00106/0.01497, allocations: 1.202 MB / 0.7897 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.015, allocations: 13.34 kB / 0.7897 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.01521, allocations: 30.23 kB / 0.7897 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.01545, allocations: 302.3 kB / 0.79 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.01546, allocations: 4.375 kB / 0.79 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.01548, allocations: 5.812 kB / 0.79 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.01568, allocations: 224.5 kB / 0.7902 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.01569, allocations: 1.719 kB / 0.7902 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.0157, allocations: 384 / 0.7902 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.01571, allocations: 3.938 kB / 0.7902 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.01583, allocations: 204.4 kB / 0.7904 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.01603, allocations: 252.5 kB / 0.7907 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.01621, allocations: 281.6 kB / 0.7909 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-05/0.01631, allocations: 155.5 kB / 0.7911 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.01659, allocations: 133.9 kB / 0.7912 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.01676, allocations: 224.9 kB / 0.7914 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.01677, allocations: 0 / 0.7914 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003838/0.01715, allocations: 493.3 kB / 0.7919 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.01719, allocations: 82.48 kB / 0.792 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.01769, allocations: 0.9973 MB / 0.7929 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.01771, allocations: 33.69 kB / 0.793 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01781, allocations: 262.9 kB / 0.7932 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.01785, allocations: 27.78 kB / 0.7933 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.01804, allocations: 331.2 kB / 0.7936 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.01811, allocations: 314.9 kB / 0.7939 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.01842, allocations: 0.5058 MB / 0.7944 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.01889, allocations: 0.6115 MB / 0.795 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.02031, allocations: 2.236 MB / 0.7971 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.02031, allocations: 2.906 kB / 0.7971 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002335/0.02265, allocations: 3.717 MB / 0.8008 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.02266, allocations: 4 kB / 0.8008 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.02268, allocations: 7.922 kB / 0.8008 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.02269, allocations: 4 kB / 0.8008 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.02278, allocations: 23.98 kB / 0.8008 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.02279, allocations: 7.125 kB / 0.8008 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.02301, allocations: 237.3 kB / 0.801 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.02304, allocations: 19.98 kB / 0.8011 GB, free: 11.48 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.02316, allocations: 126.8 kB / 0.8012 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.02318, allocations: 7.984 kB / 0.8012 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.02347, allocations: 375.3 kB / 0.8016 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.02347, allocations: 0.75 kB / 0.8016 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.02347, allocations: 3.984 kB / 0.8016 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02348, allocations: 8.438 kB / 0.8016 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.0238, allocations: 283.8 kB / 0.8018 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.0238, allocations: 4 kB / 0.8018 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.02384, allocations: 4 kB / 0.8018 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.02384, allocations: 4.891 kB / 0.8018 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.02385, allocations: 3.984 kB / 0.8019 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02385, allocations: 4.969 kB / 0.8019 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02385, allocations: 0 / 0.8019 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.02409, allocations: 380 kB / 0.8022 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.02414, allocations: 79.28 kB / 0.8023 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.02417, allocations: 15.98 kB / 0.8023 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.02423, allocations: 4.812 kB / 0.8023 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.02425, allocations: 3.984 kB / 0.8023 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.02428, allocations: 12.8 kB / 0.8023 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002231/0.0245, allocations: 393.3 kB / 0.8027 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.0245, allocations: 0 / 0.8027 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001061/0.02556, allocations: 0.5806 MB / 0.8033 GB, free: 9.16 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/0.02682, allocations: 0.8202 MB / 0.8041 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006782/0.0275, allocations: 0.9584 MB / 0.805 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.02751, allocations: 12 kB / 0.805 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.02762, allocations: 169.9 kB / 0.8052 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.02779, allocations: 44.53 kB / 0.8052 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.02886, allocations: 1.43 MB / 0.8066 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.02896, allocations: 187.1 kB / 0.8068 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.725e-05/0.02904, allocations: 28.56 kB / 0.8068 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.02915, allocations: 79.34 kB / 0.8069 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of SimCode: time 1.182e-06/0.02915, allocations: 1.281 kB / 0.8069 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of Templates: time 0.01756/0.04671, allocations: 15.53 MB / 0.8221 GB, free: 6.078 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.390487603843212]