Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_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.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 117.2 kB / 17.09 MB, free: 6.012 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.001793/0.001793, allocations: 195 kB / 18.02 MB, free: 5.094 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.539/1.539, 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.7857/0.7857, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.42 kB / 0.5584 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1861, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002957/0.1891, allocations: 1.316 MB / 0.6341 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.1916, allocations: 1.298 MB / 0.6353 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.1917, allocations: 3.938 kB / 0.6353 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.727e-05/0.1919, allocations: 3.984 kB / 0.6354 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1921, allocations: 40.84 kB / 0.6354 GB, free: 1.691 MB / 478.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.001267/0.1934, allocations: 366.9 kB / 0.6357 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.68e-05/0.1935, allocations: 27.92 kB / 0.6358 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.1936, allocations: 8 kB / 0.6358 GB, free: 1.297 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.1936, allocations: 15.92 kB / 0.6358 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.1937, allocations: 33.88 kB / 0.6358 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1937, allocations: 3.938 kB / 0.6358 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1948, allocations: 0.5538 MB / 0.6364 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.1954, allocations: 0.5583 MB / 0.6369 GB, free: 136 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.1958, allocations: 305.2 kB / 0.6372 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.197, allocations: 0.9415 MB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1971, allocations: 0 / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1971, allocations: 0 / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.1971, allocations: 0 / 0.6381 GB, free: 14.89 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001432/0.1985, allocations: 1.256 MB / 0.6394 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1986, allocations: 12.03 kB / 0.6394 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.1988, allocations: 107.3 kB / 0.6395 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.1992, allocations: 475.7 kB / 0.6399 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.1993, allocations: 4.312 kB / 0.6399 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1993, allocations: 384 / 0.6399 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1995, allocations: 169.9 kB / 0.6401 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1995, allocations: 0 / 0.6401 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1995, allocations: 0 / 0.6401 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1995, allocations: 11.92 kB / 0.6401 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.1998, allocations: 271.8 kB / 0.6404 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.2003, allocations: 0.5405 MB / 0.6409 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2005, allocations: 150.5 kB / 0.641 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2006, allocations: 144.8 kB / 0.6412 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.2007, allocations: 80.64 kB / 0.6412 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2007, allocations: 38.5 kB / 0.6413 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2008, allocations: 0 / 0.6413 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005242/0.2013, allocations: 0.535 MB / 0.6418 GB, free: 10.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2013, allocations: 51.41 kB / 0.6418 GB, free: 10.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.2028, allocations: 1.38 MB / 0.6432 GB, free: 9.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2028, allocations: 25.7 kB / 0.6432 GB, free: 9.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.2031, allocations: 457.5 kB / 0.6437 GB, free: 8.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2032, allocations: 3.938 kB / 0.6437 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2033, allocations: 117.8 kB / 0.6438 GB, free: 8.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2034, allocations: 341.9 kB / 0.6441 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.2039, allocations: 0.5867 MB / 0.6447 GB, free: 7.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.2043, allocations: 0.5984 MB / 0.6453 GB, free: 7.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008414/0.2052, allocations: 1.158 MB / 0.6464 GB, free: 6.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2052, allocations: 0 / 0.6464 GB, free: 6.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00135/0.2065, allocations: 1.396 MB / 0.6478 GB, free: 4.617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.2066, allocations: 17.95 kB / 0.6478 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.2066, allocations: 0 / 0.6478 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2066, allocations: 4.062 kB / 0.6478 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.2067, allocations: 4 kB / 0.6478 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2067, allocations: 0 / 0.6478 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.2069, allocations: 70.88 kB / 0.6478 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2069, allocations: 0 / 0.6478 GB, free: 4.523 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 105 (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],cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004227/0.2073, allocations: 378.8 kB / 0.6482 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.2074, allocations: 110.4 kB / 0.6483 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.2078, allocations: 412.6 kB / 0.6487 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2078, allocations: 0 / 0.6487 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2079, allocations: 0 / 0.6487 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2079, allocations: 4 kB / 0.6487 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.2084, allocations: 0.5448 MB / 0.6492 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2084, allocations: 0 / 0.6492 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.615e-06/0.2084, allocations: 0 / 0.6492 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2084, allocations: 7.875 kB / 0.6492 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2084, allocations: 0 / 0.6492 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2084, allocations: 0 / 0.6492 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2084, allocations: 4.031 kB / 0.6493 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.2088, allocations: 430.2 kB / 0.6497 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2089, allocations: 171.5 kB / 0.6498 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.209, allocations: 3.984 kB / 0.6498 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.2091, allocations: 0 / 0.6498 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.2091, allocations: 3.938 kB / 0.6498 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2091, allocations: 4 kB / 0.6498 GB, free: 2.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.2101, allocations: 0.9114 MB / 0.6507 GB, free: 1.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2102, allocations: 0 / 0.6507 GB, free: 1.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.2108, allocations: 180 kB / 0.6509 GB, free: 1.281 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0008573/0.2116, allocations: 298.6 kB / 0.6512 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.2125, allocations: 1.045 MB / 0.6522 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2125, allocations: 0 / 0.6522 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.2126, allocations: 131.9 kB / 0.6523 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.213, allocations: 37.22 kB / 0.6524 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.2151, allocations: 1.715 MB / 0.654 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.2158, allocations: 1.02 MB / 0.655 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.2158, allocations: 7.438 kB / 0.655 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.2158, allocations: 0 / 0.655 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.02057/0.2364, allocations: 10.6 MB / 0.6654 GB, free: 2.383 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)