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.001131/0.001131, allocations: 112.9 kB / 17.09 MB, free: 5.98 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.001172/0.001172, allocations: 193.6 kB / 18.03 MB, free: 5.062 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.305/1.305, 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.7747/0.7747, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.33 kB / 0.5738 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 78.7 MB / 0.6507 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002397/0.1326, allocations: 1.316 MB / 0.6519 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1347, allocations: 1.319 MB / 0.6532 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.1348, allocations: 0 / 0.6532 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.508e-05/0.1349, allocations: 0 / 0.6532 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1351, allocations: 40.84 kB / 0.6533 GB, free: 1.398 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.001039/0.1361, allocations: 366.9 kB / 0.6536 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.1362, allocations: 27.91 kB / 0.6536 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.1362, allocations: 11.92 kB / 0.6537 GB, free: 1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.1363, allocations: 15.94 kB / 0.6537 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.1364, allocations: 33.88 kB / 0.6537 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1364, allocations: 0 / 0.6537 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007851/0.1372, allocations: 0.5499 MB / 0.6542 GB, free: 408 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005908/0.1378, allocations: 0.5582 MB / 0.6548 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.138, allocations: 313.1 kB / 0.6551 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008954/0.1389, allocations: 0.9484 MB / 0.656 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1389, allocations: 0 / 0.656 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1389, allocations: 0 / 0.656 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1389, allocations: 0 / 0.656 GB, free: 14.58 MB / 0.4981 GB 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.001084/0.14, allocations: 1.302 MB / 0.6573 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1401, allocations: 12.03 kB / 0.6573 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1402, allocations: 112.1 kB / 0.6574 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1406, allocations: 488.6 kB / 0.6579 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-06/0.1406, allocations: 4.375 kB / 0.6579 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1406, allocations: 7.938 kB / 0.6579 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1408, allocations: 161.6 kB / 0.658 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1408, allocations: 4 kB / 0.658 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.1408, allocations: 0 / 0.658 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.1408, allocations: 0 / 0.658 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.141, allocations: 263.8 kB / 0.6583 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.1415, allocations: 0.5523 MB / 0.6588 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1416, allocations: 158.4 kB / 0.659 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1417, allocations: 144.8 kB / 0.6591 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.1418, allocations: 76.66 kB / 0.6592 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1418, allocations: 38.48 kB / 0.6592 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.1418, allocations: 0 / 0.6592 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004842/0.1423, allocations: 0.5319 MB / 0.6597 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.1423, allocations: 55.41 kB / 0.6598 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.1436, allocations: 1.388 MB / 0.6612 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1437, allocations: 29.7 kB / 0.6612 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.144, allocations: 449.7 kB / 0.6616 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.144, allocations: 4 kB / 0.6616 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.1441, allocations: 117.6 kB / 0.6617 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1442, allocations: 338 kB / 0.662 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.1446, allocations: 0.5906 MB / 0.6626 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.1451, allocations: 0.5906 MB / 0.6632 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.1459, allocations: 1.166 MB / 0.6643 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1459, allocations: 4.031 kB / 0.6643 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001244/0.1471, allocations: 1.405 MB / 0.6657 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1472, allocations: 5.562 kB / 0.6657 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.1472, allocations: 4 kB / 0.6657 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1472, allocations: 0 / 0.6657 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.549e-05/0.1472, allocations: 0 / 0.6657 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1472, allocations: 0 / 0.6657 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1474, allocations: 71.2 kB / 0.6658 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1474, allocations: 4 kB / 0.6658 GB, free: 4.156 MB / 0.4981 GB 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.0003783/0.1478, allocations: 386.1 kB / 0.6662 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.1479, allocations: 115.1 kB / 0.6663 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.1483, allocations: 412.6 kB / 0.6667 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1483, allocations: 4 kB / 0.6667 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1483, allocations: 0 / 0.6667 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1484, allocations: 176.3 kB / 0.6668 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.1485, allocations: 3.984 kB / 0.6668 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.1486, allocations: 4.031 kB / 0.6668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.1486, allocations: 0 / 0.6668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000246/0.1488, allocations: 380.8 kB / 0.6672 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003398/0.1492, allocations: 0.5709 MB / 0.6678 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001065/0.1493, allocations: 131.9 kB / 0.6679 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001249/0.1506, allocations: 0.9114 MB / 0.6688 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of Backend: time 5.31e-07/0.1506, allocations: 0 / 0.6688 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.1522, allocations: 1.178 MB / 0.6699 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00195/0.1542, allocations: 2.092 MB / 0.672 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.01066/0.1649, allocations: 4.691 MB / 0.6766 GB, free: 9.066 MB / 0.5137 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)