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.001173/0.001173, allocations: 109.1 kB / 16.41 MB, free: 6.484 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.001159/0.001159, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6713/0.6713, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 70.77 kB / 0.5578 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1147, allocations: 76.18 MB / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002173/0.1169, allocations: 1.418 MB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.1224, allocations: 4.196 MB / 0.6376 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.1225, allocations: 0 / 0.6376 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.356e-05/0.1226, allocations: 15.86 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1228, allocations: 39.72 kB / 0.6377 GB, free: 14.65 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.002884/0.1257, allocations: 1.495 MB / 0.6391 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1258, allocations: 99.73 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.1259, allocations: 4 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.1259, allocations: 51.83 kB / 0.6393 GB, free: 13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.1261, allocations: 161.6 kB / 0.6394 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.1262, allocations: 12 kB / 0.6395 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.1288, allocations: 2.204 MB / 0.6416 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006433/0.1295, allocations: 0.7575 MB / 0.6423 GB, free: 9.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.1298, allocations: 0.5002 MB / 0.6428 GB, free: 9.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.1322, allocations: 2.547 MB / 0.6453 GB, free: 6.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1322, allocations: 4 kB / 0.6453 GB, free: 6.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1322, allocations: 0 / 0.6453 GB, free: 6.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1322, allocations: 3.938 kB / 0.6453 GB, free: 6.793 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.01021/0.1424, allocations: 1.96 MB / 0.6472 GB, free: 4.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1425, allocations: 12.03 kB / 0.6473 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.1429, allocations: 162.5 kB / 0.6474 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.1434, allocations: 0.5696 MB / 0.648 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1434, allocations: 12.36 kB / 0.648 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1434, allocations: 4.375 kB / 0.648 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.1438, allocations: 395.4 kB / 0.6484 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1438, allocations: 0 / 0.6484 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1439, allocations: 4 kB / 0.6484 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1439, allocations: 3.984 kB / 0.6484 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.1443, allocations: 435.8 kB / 0.6488 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.145, allocations: 0.9258 MB / 0.6497 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.1454, allocations: 0.5672 MB / 0.6502 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.1457, allocations: 337.7 kB / 0.6506 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009712/0.1467, allocations: 1.025 MB / 0.6516 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003661/0.1471, allocations: 412.8 kB / 0.652 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1471, allocations: 0 / 0.652 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001228/0.1483, allocations: 1.362 MB / 0.6533 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1484, allocations: 85.09 kB / 0.6534 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.1503, allocations: 2.216 MB / 0.6555 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.1503, allocations: 37.69 kB / 0.6556 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.1507, allocations: 0.5213 MB / 0.6561 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1507, allocations: 23.7 kB / 0.6561 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.1511, allocations: 459.4 kB / 0.6565 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.1512, allocations: 301.1 kB / 0.6568 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.1528, allocations: 2.053 MB / 0.6588 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.1544, allocations: 2.242 MB / 0.661 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007213/0.1616, allocations: 4.681 MB / 0.6656 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1616, allocations: 0 / 0.6656 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005498/0.1671, allocations: 6.243 MB / 0.6717 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1672, allocations: 5.562 kB / 0.6717 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.1672, allocations: 8.031 kB / 0.6717 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1672, allocations: 0 / 0.6717 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1673, allocations: 15.98 kB / 0.6717 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1674, allocations: 3.938 kB / 0.6717 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.1679, allocations: 291.2 kB / 0.672 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.168, allocations: 27.98 kB / 0.672 GB, free: 10.67 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.0005168/0.1685, allocations: 470.7 kB / 0.6725 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1686, allocations: 145.6 kB / 0.6726 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.1689, allocations: 148.3 kB / 0.6728 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.1689, allocations: 11.92 kB / 0.6728 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1689, allocations: 3.938 kB / 0.6728 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1689, allocations: 0 / 0.6728 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.1695, allocations: 0.7673 MB / 0.6735 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1696, allocations: 4 kB / 0.6735 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.1696, allocations: 11.92 kB / 0.6735 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1696, allocations: 4 kB / 0.6735 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1697, allocations: 4 kB / 0.6735 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1697, allocations: 0 / 0.6735 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1697, allocations: 7.938 kB / 0.6735 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.1705, allocations: 1.076 MB / 0.6746 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.1707, allocations: 222.6 kB / 0.6748 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.1708, allocations: 4 kB / 0.6748 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.171, allocations: 3.984 kB / 0.6748 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.1711, allocations: 8 kB / 0.6748 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.1711, allocations: 15.97 kB / 0.6748 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001305/0.1724, allocations: 1.305 MB / 0.6761 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1724, allocations: 0 / 0.6761 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0013/0.1737, allocations: 0.6209 MB / 0.6767 GB, free: 5.723 MB / 0.5137 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.001568/0.1753, allocations: 0.6896 MB / 0.6774 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002808/0.1781, allocations: 3.555 MB / 0.6809 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1781, allocations: 4.062 kB / 0.6809 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.1784, allocations: 343.8 kB / 0.6812 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1788, allocations: 63.36 kB / 0.6813 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.1817, allocations: 2.898 MB / 0.6841 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.1824, allocations: 1.235 MB / 0.6853 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.1825, allocations: 32.56 kB / 0.6853 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.1826, allocations: 27.41 kB / 0.6854 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1826, allocations: 4 kB / 0.6854 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.02152/0.2041, allocations: 14.43 MB / 0.6994 GB, free: 14.42 MB / 0.545 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)