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_SmallScaleValidation.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.001368/0.001368, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001193/0.001193, allocations: 168.4 kB / 24.97 MB, free: 9.18 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.92/0.92, allocations: 177.1 MB / 205.4 MB, free: 5.484 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.935/1.935, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.7761 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.038e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00211/0.00213, allocations: 1.87 MB / 0.7779 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005316/0.007447, allocations: 5.199 MB / 0.783 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.007513, allocations: 0 / 0.783 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.008295, allocations: 376.8 kB / 0.7833 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.008363, allocations: 60.55 kB / 0.7834 GB, free: 13.78 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.002141/0.0105, allocations: 1.448 MB / 0.7848 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.01067, allocations: 155.3 kB / 0.785 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.01071, allocations: 11.48 kB / 0.785 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.01078, allocations: 83.8 kB / 0.785 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.01087, allocations: 62.42 kB / 0.7851 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.01089, allocations: 7.938 kB / 0.7851 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.0135, allocations: 2.581 MB / 0.7876 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.01365, allocations: 263.2 kB / 0.7879 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.01375, allocations: 136.1 kB / 0.788 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.01565, allocations: 2.381 MB / 0.7903 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.01566, allocations: 0 / 0.7903 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.01566, allocations: 3.938 kB / 0.7903 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.01566, allocations: 2.438 kB / 0.7903 GB, free: 6.668 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.00108/0.01674, allocations: 1.263 MB / 0.7916 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.01677, allocations: 9.344 kB / 0.7916 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.01695, allocations: 36.89 kB / 0.7916 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.01723, allocations: 346.2 kB / 0.792 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.01724, allocations: 4.375 kB / 0.792 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.01726, allocations: 8.375 kB / 0.792 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.01744, allocations: 220.5 kB / 0.7922 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.01744, allocations: 1.125 kB / 0.7922 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.01745, allocations: 384 / 0.7922 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.01745, allocations: 3.938 kB / 0.7922 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01757, allocations: 204.8 kB / 0.7924 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.01776, allocations: 260.6 kB / 0.7926 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.01794, allocations: 280 kB / 0.7929 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.01803, allocations: 153.7 kB / 0.793 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.01829, allocations: 132.3 kB / 0.7932 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.01846, allocations: 225 kB / 0.7934 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.01846, allocations: 0 / 0.7934 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000355/0.01881, allocations: 498.5 kB / 0.7939 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01884, allocations: 81.7 kB / 0.7939 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.01939, allocations: 1.053 MB / 0.795 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01942, allocations: 30.42 kB / 0.795 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01953, allocations: 273.7 kB / 0.7952 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.01956, allocations: 20.5 kB / 0.7953 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.01976, allocations: 343.2 kB / 0.7956 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.01983, allocations: 322.5 kB / 0.7959 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.02016, allocations: 0.5154 MB / 0.7964 GB, free: 284 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.02051, allocations: 0.6108 MB / 0.797 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.02196, allocations: 2.236 MB / 0.7992 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02196, allocations: 1.062 kB / 0.7992 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002511/0.02447, allocations: 3.721 MB / 0.8028 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.02449, allocations: 12.31 kB / 0.8028 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.0245, allocations: 0 / 0.8028 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.02451, allocations: 0 / 0.8028 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.02459, allocations: 23.98 kB / 0.8029 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.02459, allocations: 0 / 0.8029 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.02483, allocations: 249.9 kB / 0.8031 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.02485, allocations: 21.84 kB / 0.8031 GB, free: 9.285 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.0001205/0.02498, allocations: 124.6 kB / 0.8032 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.025, allocations: 11.98 kB / 0.8032 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.02529, allocations: 380.2 kB / 0.8036 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.0253, allocations: 4.984 kB / 0.8036 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.0253, allocations: 0 / 0.8036 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.02536, allocations: 88.19 kB / 0.8037 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.02539, allocations: 3.938 kB / 0.8037 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.02546, allocations: 4.781 kB / 0.8037 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.02548, allocations: 7.984 kB / 0.8037 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002454/0.02572, allocations: 0.4893 MB / 0.8042 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002796/0.026, allocations: 0.5785 MB / 0.8048 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001053/0.02611, allocations: 164.7 kB / 0.8049 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000264/0.02637, allocations: 427.8 kB / 0.8053 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of Backend: time 1.9e-07/0.02637, allocations: 0 / 0.8053 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.02837, allocations: 1.614 MB / 0.8069 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of SimCode: time 0.001294/0.02966, allocations: 1.825 MB / 0.8087 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of Templates: time 0.01696/0.04662, allocations: 16.71 MB / 0.825 GB, free: 3.027 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.501023708842695]