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.001155/0.001155, allocations: 113.6 kB / 17.09 MB, free: 5.965 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.001642/0.001642, allocations: 193.5 kB / 18.02 MB, free: 5.047 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.24/1.24, allocations: 222.9 MB / 241.7 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.6672/0.6672, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 65.36 kB / 0.5584 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 76.18 MB / 0.6328 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002202/0.1398, allocations: 1.309 MB / 0.6341 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1418, allocations: 1.314 MB / 0.6354 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.1418, allocations: 0 / 0.6354 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.398e-05/0.1419, allocations: 3.938 kB / 0.6354 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1421, allocations: 36.91 kB / 0.6354 GB, free: 1.73 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.0009518/0.1431, allocations: 368.6 kB / 0.6357 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.1432, allocations: 35.84 kB / 0.6358 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1432, allocations: 3.984 kB / 0.6358 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.1432, allocations: 11.94 kB / 0.6358 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1433, allocations: 37.89 kB / 0.6358 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1433, allocations: 0 / 0.6358 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.1441, allocations: 0.5538 MB / 0.6364 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.1446, allocations: 0.5583 MB / 0.6369 GB, free: 176 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.1448, allocations: 301.2 kB / 0.6372 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008536/0.1457, allocations: 0.9454 MB / 0.6381 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1457, allocations: 0 / 0.6381 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1457, allocations: 0 / 0.6381 GB, free: 14.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1457, allocations: 0 / 0.6381 GB, free: 14.93 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.001028/0.1468, allocations: 1.256 MB / 0.6394 GB, free: 13.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1468, allocations: 8.031 kB / 0.6394 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1469, allocations: 111.3 kB / 0.6395 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1473, allocations: 475.6 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1473, allocations: 8.375 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1473, allocations: 384 / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1475, allocations: 165.9 kB / 0.6401 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1475, allocations: 0 / 0.6401 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1475, allocations: 3.938 kB / 0.6401 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1475, allocations: 0 / 0.6401 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1477, allocations: 271.8 kB / 0.6404 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1481, allocations: 0.5444 MB / 0.6409 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1483, allocations: 158.4 kB / 0.641 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.219e-05/0.1484, allocations: 140.8 kB / 0.6412 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.1484, allocations: 80.64 kB / 0.6412 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1485, allocations: 42.5 kB / 0.6413 GB, free: 11.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1485, allocations: 0 / 0.6413 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004279/0.1489, allocations: 0.5194 MB / 0.6418 GB, free: 10.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.1489, allocations: 51.41 kB / 0.6418 GB, free: 10.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.1501, allocations: 1.388 MB / 0.6432 GB, free: 9.516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1501, allocations: 29.7 kB / 0.6432 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.1505, allocations: 457.4 kB / 0.6437 GB, free: 9.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.1505, allocations: 15.86 kB / 0.6437 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.1506, allocations: 109.6 kB / 0.6438 GB, free: 8.898 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1507, allocations: 342 kB / 0.6441 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.1511, allocations: 0.5906 MB / 0.6447 GB, free: 7.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.1515, allocations: 0.5906 MB / 0.6453 GB, free: 7.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.1522, allocations: 1.166 MB / 0.6464 GB, free: 6.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1522, allocations: 0 / 0.6464 GB, free: 6.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001194/0.1534, allocations: 1.396 MB / 0.6478 GB, free: 4.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1534, allocations: 11.94 kB / 0.6478 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1535, allocations: 0 / 0.6478 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1535, allocations: 0 / 0.6478 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.635e-05/0.1535, allocations: 0 / 0.6478 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1535, allocations: 3.938 kB / 0.6478 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1537, allocations: 70.88 kB / 0.6478 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1537, allocations: 4 kB / 0.6479 GB, free: 4.559 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.00035/0.154, allocations: 378.9 kB / 0.6482 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.1541, allocations: 110.4 kB / 0.6483 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.1544, allocations: 408.7 kB / 0.6487 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1545, allocations: 4 kB / 0.6487 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1545, allocations: 0 / 0.6487 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1546, allocations: 171.5 kB / 0.6489 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.1547, allocations: 4.031 kB / 0.6489 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.1548, allocations: 0 / 0.6489 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.1548, allocations: 4 kB / 0.6489 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002204/0.155, allocations: 372.8 kB / 0.6492 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003287/0.1553, allocations: 0.5625 MB / 0.6498 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.705e-05/0.1555, allocations: 136 kB / 0.6499 GB, free: 2.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008455/0.1563, allocations: 0.9114 MB / 0.6508 GB, free: 1.465 MB / 494.1 MB Notification: Performance of Backend: time 3.3e-07/0.1563, allocations: 0 / 0.6508 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.1579, allocations: 1.18 MB / 0.652 GB, free: 304 kB / 494.1 MB Notification: Performance of SimCode: time 0.00192/0.1599, allocations: 2.047 MB / 0.654 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.009834/0.1697, allocations: 4.704 MB / 0.6586 GB, free: 9.539 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)