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.001203/0.001203, allocations: 102.6 kB / 16.4 MB, free: 6.449 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.001203/0.001203, allocations: 196 kB / 17.34 MB, free: 5.719 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.247/1.247, 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.6705/0.6705, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 65.17 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1132, allocations: 76.18 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001995/0.1152, allocations: 1.311 MB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.117, allocations: 1.298 MB / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.1171, allocations: 3.938 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.152e-05/0.1172, allocations: 7.984 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1174, allocations: 36.84 kB / 0.6347 GB, free: 1.688 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.0008442/0.1182, allocations: 373.3 kB / 0.6351 GB, free: 1.324 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.1183, allocations: 27.92 kB / 0.6351 GB, free: 1.297 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.1183, allocations: 4 kB / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.1184, allocations: 19.86 kB / 0.6351 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.1184, allocations: 37.88 kB / 0.6352 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1185, allocations: 0 / 0.6352 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007479/0.1192, allocations: 0.5538 MB / 0.6357 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.1197, allocations: 0.5544 MB / 0.6363 GB, free: 132 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.12, allocations: 313.2 kB / 0.6366 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008222/0.1208, allocations: 0.9415 MB / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1208, allocations: 0 / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1208, allocations: 0 / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1208, allocations: 0 / 0.6375 GB, free: 14.88 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.001045/0.1219, allocations: 1.248 MB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1219, allocations: 12.03 kB / 0.6387 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.122, allocations: 111.3 kB / 0.6388 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.1224, allocations: 479.7 kB / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.1224, allocations: 384 / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.1224, allocations: 384 / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1226, allocations: 165.9 kB / 0.6394 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1226, allocations: 0 / 0.6394 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1226, allocations: 3.938 kB / 0.6394 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1226, allocations: 3.938 kB / 0.6394 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.1228, allocations: 271.8 kB / 0.6397 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1232, allocations: 0.5483 MB / 0.6402 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1233, allocations: 154.4 kB / 0.6404 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.1234, allocations: 136.9 kB / 0.6405 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/0.1235, allocations: 80.64 kB / 0.6406 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1235, allocations: 34.5 kB / 0.6406 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1236, allocations: 0 / 0.6406 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004334/0.124, allocations: 0.5389 MB / 0.6411 GB, free: 10.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.124, allocations: 51.41 kB / 0.6412 GB, free: 10.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1252, allocations: 1.388 MB / 0.6425 GB, free: 9.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1253, allocations: 25.7 kB / 0.6426 GB, free: 9.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.1256, allocations: 453.5 kB / 0.643 GB, free: 8.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.1256, allocations: 3.938 kB / 0.643 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.1257, allocations: 113.6 kB / 0.6431 GB, free: 8.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1258, allocations: 341.9 kB / 0.6434 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.1262, allocations: 0.5946 MB / 0.644 GB, free: 7.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.1266, allocations: 0.5945 MB / 0.6446 GB, free: 7.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.1273, allocations: 1.162 MB / 0.6457 GB, free: 6.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1274, allocations: 0 / 0.6457 GB, free: 6.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00118/0.1285, allocations: 1.396 MB / 0.6471 GB, free: 4.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1286, allocations: 11.94 kB / 0.6471 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1286, allocations: 0 / 0.6471 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1286, allocations: 0 / 0.6471 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/0.1286, allocations: 0 / 0.6471 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1286, allocations: 0 / 0.6471 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1288, allocations: 74.94 kB / 0.6472 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1288, allocations: 0 / 0.6472 GB, free: 4.52 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.0003533/0.1292, allocations: 379.5 kB / 0.6475 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.1292, allocations: 110.4 kB / 0.6477 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.1296, allocations: 408.6 kB / 0.648 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1296, allocations: 32 / 0.648 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1296, allocations: 4 kB / 0.648 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1296, allocations: 0 / 0.648 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.13, allocations: 0.5448 MB / 0.6486 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.13, allocations: 4 kB / 0.6486 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.13, allocations: 0 / 0.6486 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.13, allocations: 3.938 kB / 0.6486 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.13, allocations: 4 kB / 0.6486 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.13, allocations: 0 / 0.6486 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1301, allocations: 0 / 0.6486 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1303, allocations: 442.2 kB / 0.649 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1305, allocations: 171.5 kB / 0.6492 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.1305, allocations: 0 / 0.6492 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.1306, allocations: 0 / 0.6492 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1307, allocations: 0 / 0.6492 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1307, allocations: 4 kB / 0.6492 GB, free: 2.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008769/0.1315, allocations: 0.9075 MB / 0.6501 GB, free: 1.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1316, allocations: 0 / 0.6501 GB, free: 1.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.132, allocations: 188 kB / 0.6502 GB, free: 1.273 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.0005638/0.1326, allocations: 284.6 kB / 0.6505 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.1333, allocations: 1.049 MB / 0.6515 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1333, allocations: 4.062 kB / 0.6515 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.1334, allocations: 127.9 kB / 0.6517 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.0003008/0.1337, allocations: 43.55 kB / 0.6517 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1353, allocations: 1.658 MB / 0.6533 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.1358, allocations: 1.016 MB / 0.6543 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.1359, allocations: 8 kB / 0.6543 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.1359, allocations: 7.438 kB / 0.6543 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1359, allocations: 0 / 0.6543 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.009193/0.1451, allocations: 4.484 MB / 0.6587 GB, free: 8.602 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)