Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 112.5 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 193.6 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.681/0.681, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.94 kB / 0.5584 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 76.17 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002371/0.1334, allocations: 1.425 MB / 0.6342 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005891/0.1394, allocations: 4.199 MB / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.1394, allocations: 0 / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1396, allocations: 15.86 kB / 0.6383 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.1398, allocations: 31.84 kB / 0.6383 GB, free: 14.67 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.1434, allocations: 1.498 MB / 0.6398 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1436, allocations: 91.72 kB / 0.6399 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1436, allocations: 4 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.1437, allocations: 51.83 kB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.1439, allocations: 169.5 kB / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.144, allocations: 16 kB / 0.6401 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.147, allocations: 2.204 MB / 0.6423 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.1477, allocations: 0.7575 MB / 0.643 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.1481, allocations: 0.4963 MB / 0.6435 GB, free: 9.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.151, allocations: 2.54 MB / 0.646 GB, free: 6.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.151, allocations: 3.984 kB / 0.646 GB, free: 6.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.151, allocations: 0 / 0.646 GB, free: 6.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.151, allocations: 0 / 0.646 GB, free: 6.82 MB / 494.1 MB 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.01078/0.1618, allocations: 1.976 MB / 0.6479 GB, free: 4.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1619, allocations: 8.031 kB / 0.6479 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.1623, allocations: 162.5 kB / 0.6481 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.1629, allocations: 0.5696 MB / 0.6486 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1629, allocations: 4.375 kB / 0.6486 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.163, allocations: 8.375 kB / 0.6486 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.1634, allocations: 391.5 kB / 0.649 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1634, allocations: 0 / 0.649 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1634, allocations: 3.984 kB / 0.649 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1634, allocations: 3.938 kB / 0.649 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.1639, allocations: 435.7 kB / 0.6494 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.1647, allocations: 0.9375 MB / 0.6504 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.1652, allocations: 0.5633 MB / 0.6509 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.1655, allocations: 337.7 kB / 0.6512 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.1665, allocations: 1.028 MB / 0.6522 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.1669, allocations: 404.8 kB / 0.6526 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1669, allocations: 0 / 0.6526 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001318/0.1683, allocations: 1.362 MB / 0.654 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1683, allocations: 85.11 kB / 0.654 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.1704, allocations: 2.22 MB / 0.6562 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.1705, allocations: 33.64 kB / 0.6562 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.1709, allocations: 0.529 MB / 0.6567 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1709, allocations: 19.72 kB / 0.6568 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/0.1713, allocations: 455.5 kB / 0.6572 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1714, allocations: 305.1 kB / 0.6575 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.1731, allocations: 2.057 MB / 0.6595 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.1749, allocations: 2.238 MB / 0.6617 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00751/0.1824, allocations: 4.682 MB / 0.6663 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.1824, allocations: 0 / 0.6663 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006382/0.1888, allocations: 6.231 MB / 0.6723 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.1889, allocations: 7.938 kB / 0.6724 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.1889, allocations: 4 kB / 0.6724 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.1889, allocations: 3.984 kB / 0.6724 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1891, allocations: 20.03 kB / 0.6724 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1891, allocations: 7.938 kB / 0.6724 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/0.1898, allocations: 295.1 kB / 0.6727 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.1898, allocations: 23.98 kB / 0.6727 GB, free: 10.68 MB / 0.5137 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 (cluSiz[5],cluSiz[4],cluSiz[3],cluSiz[2],cluSiz[1],labels[100],labels[99],labels[98],labels[97],labels[96],labels[95],labels[94],labels[93],labels[92],labels[91],labels[90],labels[89],labels[88],labels[87],labels[86],labels[85],labels[84],labels[83],labels[82],labels[81],labels[80],labels[79],labels[78],labels[77],labels[76],labels[75],labels[74],labels[73],labels[72],labels[71],labels[70],labels[69],labels[68],labels[67],labels[66],labels[65],labels[64],labels[63],labels[62],labels[61],labels[60],labels[59],labels[58],labels[57],labels[56],labels[55],labels[54],labels[53],labels[52],labels[51],labels[50],labels[49],labels[48],labels[47],labels[46],labels[45],labels[44],labels[43],labels[42],labels[41],labels[40],labels[39],labels[38],labels[37],labels[36],labels[35],labels[34],labels[33],labels[32],labels[31],labels[30],labels[29],labels[28],labels[27],labels[26],labels[25],labels[24],labels[23],labels[22],labels[21],labels[20],labels[19],labels[18],labels[17],labels[16],labels[15],labels[14],labels[13],labels[12],labels[11],labels[10],labels[9],labels[8],labels[7],labels[6],labels[5],labels[4],labels[3],labels[2],labels[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.0005779/0.1904, allocations: 466.7 kB / 0.6731 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.1906, allocations: 141.6 kB / 0.6733 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.1909, allocations: 159.9 kB / 0.6734 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1909, allocations: 0 / 0.6734 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1909, allocations: 0 / 0.6734 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1911, allocations: 222.7 kB / 0.6736 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.1912, allocations: 4 kB / 0.6736 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.1914, allocations: 4 kB / 0.6736 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1915, allocations: 12.02 kB / 0.6737 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009665/0.1925, allocations: 1.066 MB / 0.6747 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001002/0.1935, allocations: 1.291 MB / 0.676 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003236/0.1938, allocations: 339.8 kB / 0.6763 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001469/0.1953, allocations: 1.302 MB / 0.6776 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of Backend: time 6.41e-07/0.1953, allocations: 0 / 0.6776 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005105/0.2004, allocations: 3.916 MB / 0.6814 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003022/0.2034, allocations: 2.894 MB / 0.6842 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.02412/0.2276, allocations: 14.78 MB / 0.6986 GB, free: 4 kB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)