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_100boreholes.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.001059/0.001059, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001637/0.001637, allocations: 170.5 kB / 25.18 MB, free: 8.328 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.9595/0.9595, allocations: 177.2 MB / 205.6 MB, free: 4.367 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.919/1.919, allocations: 389.6 MB / 0.6364 GB, free: 13.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.7757 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.454e-05, allocations: 2.312 kB / 0.7757 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002184/0.002208, allocations: 1.52 MB / 0.7771 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004903/0.007111, allocations: 4.034 MB / 0.7811 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.007181, allocations: 3.938 kB / 0.7811 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.0073, allocations: 7.922 kB / 0.7811 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.007544, allocations: 35.78 kB / 0.7811 GB, free: 8.824 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.003096/0.01064, allocations: 1.445 MB / 0.7825 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.01079, allocations: 99.66 kB / 0.7826 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.01083, allocations: 0 / 0.7826 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.579e-05/0.01091, allocations: 63.88 kB / 0.7827 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.01103, allocations: 67.14 kB / 0.7828 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.01105, allocations: 4 kB / 0.7828 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.01437, allocations: 2.584 MB / 0.7853 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0007238/0.0151, allocations: 0.7376 MB / 0.786 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.01529, allocations: 238.9 kB / 0.7862 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.01902, allocations: 2.725 MB / 0.7889 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.01902, allocations: 0 / 0.7889 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/0.01902, allocations: 4 kB / 0.7889 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.01904, allocations: 0 / 0.7889 GB, free: 0.8477 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.002191/0.02123, allocations: 1.887 MB / 0.7907 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.02127, allocations: 15.98 kB / 0.7908 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.02156, allocations: 56.86 kB / 0.7908 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.02197, allocations: 0.5092 MB / 0.7913 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.02198, allocations: 4.375 kB / 0.7913 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.02201, allocations: 4.375 kB / 0.7913 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.02225, allocations: 224.5 kB / 0.7915 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.02226, allocations: 192 / 0.7915 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.02227, allocations: 8.375 kB / 0.7915 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.02228, allocations: 7.875 kB / 0.7916 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.02247, allocations: 199.8 kB / 0.7917 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.02279, allocations: 288.2 kB / 0.792 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.02299, allocations: 285 kB / 0.7923 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.02308, allocations: 153.7 kB / 0.7924 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.02369, allocations: 143.7 kB / 0.7926 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.02388, allocations: 229 kB / 0.7928 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.02388, allocations: 0 / 0.7928 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0004328/0.02431, allocations: 0.513 MB / 0.7933 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.02436, allocations: 81.11 kB / 0.7934 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.02539, allocations: 1.716 MB / 0.795 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.02542, allocations: 25.7 kB / 0.7951 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.02562, allocations: 404 kB / 0.7955 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.02566, allocations: 27.77 kB / 0.7955 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.02593, allocations: 443 kB / 0.7959 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.02601, allocations: 301.1 kB / 0.7962 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.02641, allocations: 0.6405 MB / 0.7968 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.02684, allocations: 0.7502 MB / 0.7975 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/0.03085, allocations: 3.259 MB / 0.8007 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.03085, allocations: 0 / 0.8007 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.422/0.4528, allocations: 5.644 MB / 0.8062 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.4529, allocations: 6.531 kB / 0.8062 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.4529, allocations: 1.094 kB / 0.8062 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4529, allocations: 1.875 kB / 0.8063 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4531, allocations: 21.69 kB / 0.8063 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4531, allocations: 1.844 kB / 0.8063 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.4536, allocations: 308.7 kB / 0.8066 GB, free: 30.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.4536, allocations: 21.86 kB / 0.8066 GB, free: 30.81 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: 116 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4],cluSiz[5],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.0003198/0.454, allocations: 186.2 kB / 0.8068 GB, free: 30.69 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.4541, allocations: 37.52 kB / 0.8068 GB, free: 30.69 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.4546, allocations: 421.5 kB / 0.8072 GB, free: 30.63 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.4547, allocations: 2.891 kB / 0.8072 GB, free: 30.63 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4547, allocations: 5.062 kB / 0.8072 GB, free: 30.63 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4547, allocations: 2.047 kB / 0.8072 GB, free: 30.63 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.4553, allocations: 440.5 kB / 0.8076 GB, free: 30.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4553, allocations: 2.406 kB / 0.8076 GB, free: 30.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.4554, allocations: 10.39 kB / 0.8076 GB, free: 30.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4554, allocations: 1.688 kB / 0.8076 GB, free: 30.55 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4554, allocations: 5.422 kB / 0.8077 GB, free: 30.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4554, allocations: 6.453 kB / 0.8077 GB, free: 30.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4554, allocations: 1.156 kB / 0.8077 GB, free: 30.55 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.4559, allocations: 406 kB / 0.808 GB, free: 30.47 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.456, allocations: 157.7 kB / 0.8082 GB, free: 30.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.4561, allocations: 3.047 kB / 0.8082 GB, free: 30.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.4562, allocations: 7.25 kB / 0.8082 GB, free: 30.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4562, allocations: 6.859 kB / 0.8082 GB, free: 30.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.4563, allocations: 13.94 kB / 0.8082 GB, free: 30.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008557/0.4571, allocations: 0.7455 MB / 0.809 GB, free: 30.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.4571, allocations: 0 / 0.809 GB, free: 30.27 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001642/0.4588, allocations: 0.6319 MB / 0.8096 GB, free: 30.27 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.001731/0.4605, allocations: 0.8071 MB / 0.8104 GB, free: 30.15 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.462, allocations: 1.211 MB / 0.8115 GB, free: 30.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.101e-05/0.462, allocations: 21.88 kB / 0.8116 GB, free: 30.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.4622, allocations: 166.1 kB / 0.8117 GB, free: 30.06 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.4626, allocations: 62.98 kB / 0.8118 GB, free: 30.04 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.4659, allocations: 2.476 MB / 0.8142 GB, free: 29 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/0.4667, allocations: 0.5956 MB / 0.8148 GB, free: 28.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.4668, allocations: 74.52 kB / 0.8149 GB, free: 28.84 MB / 0.7605 GB Notification: Performance of SimCode: time 1.162e-06/0.4668, allocations: 0 / 0.8149 GB, free: 28.84 MB / 0.7605 GB Notification: Performance of Templates: time 0.03744/0.5043, allocations: 20.39 MB / 0.8348 GB, free: 22.93 MB / 0.7605 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.792307934723794]