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.001612/0.001612, allocations: 101.6 kB / 16.4 MB, free: 6.508 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.001807/0.001807, allocations: 196 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1425, allocations: 76.18 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002373/0.1449, allocations: 1.305 MB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.147, allocations: 1.302 MB / 0.6347 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.1471, allocations: 0 / 0.6347 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1473, allocations: 11.92 kB / 0.6347 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.1475, allocations: 36.84 kB / 0.6347 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.001182/0.1487, allocations: 366.9 kB / 0.6351 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.1488, allocations: 27.91 kB / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1488, allocations: 4 kB / 0.6351 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.1489, allocations: 15.92 kB / 0.6351 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.149, allocations: 37.89 kB / 0.6352 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.149, allocations: 0 / 0.6352 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008896/0.1499, allocations: 0.5538 MB / 0.6357 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.1504, allocations: 0.5622 MB / 0.6363 GB, free: 136 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.1507, allocations: 305.2 kB / 0.6365 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1518, allocations: 0.9376 MB / 0.6375 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1518, allocations: 7.984 kB / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1518, allocations: 0 / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.1519, 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.001361/0.1532, allocations: 1.252 MB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1533, allocations: 8.031 kB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1534, allocations: 119.3 kB / 0.6388 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.1539, allocations: 479.6 kB / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1539, allocations: 384 / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1539, allocations: 4.375 kB / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1541, allocations: 165.9 kB / 0.6394 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1541, allocations: 0 / 0.6394 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1542, allocations: 7.938 kB / 0.6394 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1542, allocations: 0 / 0.6394 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.1544, allocations: 263.8 kB / 0.6397 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1549, allocations: 0.5522 MB / 0.6402 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1551, allocations: 150.5 kB / 0.6404 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.1553, allocations: 136.8 kB / 0.6405 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.283e-05/0.1553, allocations: 84.64 kB / 0.6406 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1554, allocations: 34.5 kB / 0.6406 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1554, allocations: 0 / 0.6406 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005061/0.1559, allocations: 0.535 MB / 0.6411 GB, free: 10.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1559, allocations: 55.41 kB / 0.6412 GB, free: 10.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.1573, allocations: 1.38 MB / 0.6425 GB, free: 9.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1573, allocations: 25.7 kB / 0.6426 GB, free: 9.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.1577, allocations: 453.5 kB / 0.643 GB, free: 8.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.1577, allocations: 3.938 kB / 0.643 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1578, allocations: 117.6 kB / 0.6431 GB, free: 8.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1579, allocations: 345.9 kB / 0.6434 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.1584, allocations: 0.5868 MB / 0.644 GB, free: 7.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.1588, allocations: 0.5945 MB / 0.6446 GB, free: 7.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.1597, allocations: 1.162 MB / 0.6457 GB, free: 6.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1597, allocations: 0 / 0.6457 GB, free: 6.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001313/0.161, allocations: 1.4 MB / 0.6471 GB, free: 4.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1611, allocations: 9.5 kB / 0.6471 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.1611, allocations: 4 kB / 0.6471 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1611, allocations: 0 / 0.6471 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.1611, allocations: 0 / 0.6471 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1611, allocations: 0 / 0.6471 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.1613, allocations: 70.94 kB / 0.6472 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1613, allocations: 4 kB / 0.6472 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.000398/0.1617, allocations: 378.8 kB / 0.6475 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/0.1618, allocations: 106.4 kB / 0.6476 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1622, allocations: 412.6 kB / 0.648 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1622, allocations: 4.031 kB / 0.648 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1622, allocations: 0 / 0.648 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1622, allocations: 0 / 0.648 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.1627, allocations: 0.5448 MB / 0.6486 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1627, allocations: 0 / 0.6486 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.1627, allocations: 7.938 kB / 0.6486 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1627, allocations: 3.938 kB / 0.6486 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1628, allocations: 0 / 0.6486 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1628, allocations: 0 / 0.6486 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1628, allocations: 4 kB / 0.6486 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.1631, allocations: 434.2 kB / 0.649 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1633, allocations: 179.5 kB / 0.6492 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.1633, allocations: 0 / 0.6492 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1635, allocations: 0 / 0.6492 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.1635, allocations: 3.938 kB / 0.6492 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1635, allocations: 0 / 0.6492 GB, free: 2.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009907/0.1645, allocations: 0.9114 MB / 0.6501 GB, free: 1.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1645, allocations: 0 / 0.6501 GB, free: 1.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005957/0.1651, allocations: 180 kB / 0.6502 GB, free: 1.277 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.0007822/0.1659, allocations: 287.8 kB / 0.6505 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008385/0.1667, allocations: 1.045 MB / 0.6515 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1668, allocations: 8.062 kB / 0.6515 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.1669, allocations: 131.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.0003674/0.1672, allocations: 41.2 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.002003/0.1693, allocations: 1.655 MB / 0.6533 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.1698, allocations: 1.02 MB / 0.6543 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.1699, allocations: 7.984 kB / 0.6543 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.1699, allocations: 11.44 kB / 0.6543 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1699, allocations: 0 / 0.6543 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.01051/0.1804, allocations: 4.481 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)