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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 109 kB / 16.41 MB, free: 6.445 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.2 kB / 17.34 MB, free: 5.707 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.686/0.686, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.14 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 76.19 MB / 0.6317 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002173/0.1415, allocations: 1.301 MB / 0.6329 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1434, allocations: 1.305 MB / 0.6342 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.1435, allocations: 3.938 kB / 0.6342 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.063e-05/0.1436, allocations: 0 / 0.6342 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.1438, allocations: 32.86 kB / 0.6342 GB, free: 2.234 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.0009554/0.1447, allocations: 382.9 kB / 0.6346 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.1448, allocations: 31.91 kB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1449, allocations: 0 / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.1449, allocations: 23.84 kB / 0.6347 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.145, allocations: 37.89 kB / 0.6347 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.145, allocations: 0 / 0.6347 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007377/0.1458, allocations: 0.546 MB / 0.6352 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.1463, allocations: 0.5583 MB / 0.6358 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1465, allocations: 313.1 kB / 0.6361 GB, free: 364 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007987/0.1473, allocations: 0.9397 MB / 0.637 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1473, allocations: 0 / 0.637 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1473, allocations: 0 / 0.637 GB, free: 15.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1473, allocations: 0 / 0.637 GB, free: 15.42 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.001098/0.1484, allocations: 1.256 MB / 0.6382 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1485, allocations: 8.031 kB / 0.6382 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.1485, allocations: 30.75 kB / 0.6382 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1486, allocations: 115.3 kB / 0.6384 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.149, allocations: 475.7 kB / 0.6388 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.149, allocations: 384 / 0.6388 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.149, allocations: 4.312 kB / 0.6388 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1492, allocations: 169.7 kB / 0.639 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1492, allocations: 0 / 0.639 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1492, allocations: 3.984 kB / 0.639 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1492, allocations: 0 / 0.639 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.1494, allocations: 263.9 kB / 0.6392 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1498, allocations: 0.556 MB / 0.6398 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.15, allocations: 150.5 kB / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.1501, allocations: 140.8 kB / 0.6401 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-05/0.1501, allocations: 84.64 kB / 0.6401 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1502, allocations: 38.44 kB / 0.6402 GB, free: 11.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1502, allocations: 0 / 0.6402 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004378/0.1506, allocations: 0.5234 MB / 0.6407 GB, free: 11.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1507, allocations: 55.41 kB / 0.6407 GB, free: 11.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.1518, allocations: 1.384 MB / 0.6421 GB, free: 9.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1519, allocations: 25.7 kB / 0.6421 GB, free: 9.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.1522, allocations: 457.5 kB / 0.6425 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.1522, allocations: 3.938 kB / 0.6425 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.1523, allocations: 113.6 kB / 0.6427 GB, free: 9.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1524, allocations: 341.9 kB / 0.643 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.1528, allocations: 0.5945 MB / 0.6436 GB, free: 8.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.1532, allocations: 0.5906 MB / 0.6441 GB, free: 7.836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007382/0.1539, allocations: 1.17 MB / 0.6453 GB, free: 6.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1539, allocations: 0 / 0.6453 GB, free: 6.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001107/0.155, allocations: 1.392 MB / 0.6466 GB, free: 5.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1551, allocations: 4 kB / 0.6466 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.1551, allocations: 7.984 kB / 0.6467 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1551, allocations: 0 / 0.6467 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-05/0.1551, allocations: 4 kB / 0.6467 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1551, allocations: 0 / 0.6467 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.1553, allocations: 70.94 kB / 0.6467 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1553, allocations: 0 / 0.6467 GB, free: 5.02 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.0003532/0.1557, allocations: 382.8 kB / 0.6471 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.1557, allocations: 106.4 kB / 0.6472 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.1561, allocations: 412.6 kB / 0.6476 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1561, allocations: 0 / 0.6476 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1561, allocations: 4.031 kB / 0.6476 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1561, allocations: 0 / 0.6476 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.1565, allocations: 0.5487 MB / 0.6481 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1565, allocations: 0 / 0.6481 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.1565, allocations: 3.938 kB / 0.6481 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1565, allocations: 0 / 0.6481 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1565, allocations: 4 kB / 0.6481 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1565, allocations: 0 / 0.6481 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1565, allocations: 0 / 0.6481 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1568, allocations: 438.2 kB / 0.6486 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.157, allocations: 171.5 kB / 0.6487 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.157, allocations: 3.984 kB / 0.6487 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.1571, allocations: 0 / 0.6487 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.1571, allocations: 3.984 kB / 0.6487 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1571, allocations: 0 / 0.6487 GB, free: 2.859 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.158, allocations: 0.9075 MB / 0.6496 GB, free: 1.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.158, allocations: 3.938 kB / 0.6496 GB, free: 1.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.1585, allocations: 176 kB / 0.6498 GB, free: 1.777 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.001025/0.1595, allocations: 1.149 MB / 0.6509 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007434/0.1603, allocations: 1.053 MB / 0.6519 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1603, allocations: 0 / 0.6519 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.1604, allocations: 131.9 kB / 0.6521 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1607, allocations: 42.89 kB / 0.6521 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08575/0.2464, allocations: 16.09 MB / 0.6678 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.247, allocations: 1.016 MB / 0.6688 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.2471, allocations: 3.938 kB / 0.6688 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.2473, allocations: 323.3 kB / 0.6691 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.2473, allocations: 0 / 0.6691 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04671/0.294, allocations: 27.29 MB / 0.6958 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.048/9.342, allocations: 21.38 kB / 0.6958 GB, free: 2.672 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)