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.001066/0.001066, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.001052/0.001053, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6718/0.6718, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 66.05 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 76.19 MB / 0.6322 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002196/0.1318, allocations: 1.411 MB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.1374, allocations: 4.192 MB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.1374, allocations: 0 / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.604e-05/0.1376, allocations: 11.86 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.1378, allocations: 43.77 kB / 0.6377 GB, free: 14.64 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.003081/0.1409, allocations: 1.503 MB / 0.6391 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.141, allocations: 95.73 kB / 0.6392 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.141, allocations: 4 kB / 0.6392 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.1411, allocations: 47.83 kB / 0.6393 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.1413, allocations: 165.6 kB / 0.6394 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.1413, allocations: 16 kB / 0.6395 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.1441, allocations: 2.204 MB / 0.6416 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006515/0.1448, allocations: 0.7536 MB / 0.6423 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.1452, allocations: 0.5118 MB / 0.6428 GB, free: 9.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.1477, allocations: 2.536 MB / 0.6453 GB, free: 6.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1477, allocations: 4 kB / 0.6453 GB, free: 6.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1477, allocations: 0 / 0.6453 GB, free: 6.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1477, allocations: 0 / 0.6453 GB, free: 6.785 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.007892/0.1556, allocations: 1.968 MB / 0.6472 GB, free: 4.758 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1557, allocations: 12.03 kB / 0.6473 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.1561, allocations: 166.5 kB / 0.6474 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.1568, allocations: 0.5658 MB / 0.648 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1568, allocations: 4.312 kB / 0.648 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.1568, allocations: 8.375 kB / 0.648 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.1573, allocations: 391.5 kB / 0.6484 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1574, allocations: 4 kB / 0.6484 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1574, allocations: 4 kB / 0.6484 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1574, allocations: 0 / 0.6484 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.1579, allocations: 439.7 kB / 0.6488 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.1587, allocations: 0.9335 MB / 0.6497 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.1593, allocations: 0.5633 MB / 0.6502 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.1596, allocations: 333.7 kB / 0.6506 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.1607, allocations: 1.032 MB / 0.6516 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.161, allocations: 404.8 kB / 0.652 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.1611, allocations: 0 / 0.652 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001341/0.1624, allocations: 1.37 MB / 0.6533 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1625, allocations: 81.11 kB / 0.6534 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.1644, allocations: 2.22 MB / 0.6555 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.1645, allocations: 29.7 kB / 0.6556 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.1649, allocations: 0.5212 MB / 0.6561 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1649, allocations: 23.7 kB / 0.6561 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.1653, allocations: 459.5 kB / 0.6565 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.1654, allocations: 301.1 kB / 0.6568 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.167, allocations: 2.057 MB / 0.6588 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.1688, allocations: 2.23 MB / 0.661 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/0.1763, allocations: 4.689 MB / 0.6656 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1763, allocations: 0 / 0.6656 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006184/0.1825, allocations: 6.239 MB / 0.6717 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1825, allocations: 8 kB / 0.6717 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.1826, allocations: 0 / 0.6717 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.1826, allocations: 4 kB / 0.6717 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1827, allocations: 19.98 kB / 0.6717 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1828, allocations: 4.031 kB / 0.6717 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.1833, allocations: 299.2 kB / 0.672 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.1834, allocations: 23.98 kB / 0.672 GB, free: 10.65 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.0005372/0.1839, allocations: 470.6 kB / 0.6725 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1841, allocations: 149.6 kB / 0.6726 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.1844, allocations: 151.9 kB / 0.6728 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1844, allocations: 4 kB / 0.6728 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1844, allocations: 0 / 0.6728 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1844, allocations: 0 / 0.6728 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.1851, allocations: 0.7711 MB / 0.6735 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1851, allocations: 0 / 0.6735 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.1851, allocations: 11.92 kB / 0.6735 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1851, allocations: 3.969 kB / 0.6735 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1852, allocations: 8 kB / 0.6735 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1852, allocations: 0 / 0.6735 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1852, allocations: 0 / 0.6735 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/0.1861, allocations: 1.076 MB / 0.6746 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.1863, allocations: 222.6 kB / 0.6748 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/0.1864, allocations: 4 kB / 0.6748 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1866, allocations: 11.98 kB / 0.6748 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1866, allocations: 4 kB / 0.6748 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.1866, allocations: 15.97 kB / 0.6748 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001317/0.188, allocations: 1.301 MB / 0.6761 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.188, allocations: 4 kB / 0.6761 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001635/0.1896, allocations: 0.6248 MB / 0.6767 GB, free: 5.707 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.001563/0.1912, allocations: 0.692 MB / 0.6774 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002973/0.1942, allocations: 3.552 MB / 0.6809 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1942, allocations: 0 / 0.6809 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.1945, allocations: 339.8 kB / 0.6812 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1949, allocations: 65.2 kB / 0.6813 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.1981, allocations: 2.906 MB / 0.6841 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.1989, allocations: 1.235 MB / 0.6853 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.199, allocations: 36.55 kB / 0.6853 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.1991, allocations: 23.42 kB / 0.6854 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1991, allocations: 0 / 0.6854 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.02333/0.2224, allocations: 14.42 MB / 0.6994 GB, free: 14.41 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)