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.001236/0.001235, allocations: 104.3 kB / 16.4 MB, free: 6.43 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.001056/0.001056, allocations: 196 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.257/1.257, 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.7015/0.7015, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001149, allocations: 69.2 kB / 0.5573 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 76.17 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002007/0.1307, allocations: 1.318 MB / 0.6329 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1325, allocations: 1.309 MB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.1325, allocations: 0 / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.039e-05/0.1326, allocations: 4 kB / 0.6342 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1328, allocations: 24.86 kB / 0.6342 GB, free: 2.203 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.0008461/0.1336, allocations: 382.9 kB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.787e-05/0.1337, allocations: 27.92 kB / 0.6346 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.1337, allocations: 3.984 kB / 0.6346 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.1338, allocations: 19.86 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.1338, allocations: 33.89 kB / 0.6347 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1339, allocations: 0 / 0.6347 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/0.1347, allocations: 0.546 MB / 0.6352 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004586/0.1351, allocations: 0.5622 MB / 0.6358 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1353, allocations: 305.1 kB / 0.6361 GB, free: 344 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007805/0.1361, allocations: 0.9453 MB / 0.637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1361, allocations: 0 / 0.637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1361, allocations: 0 / 0.637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1361, allocations: 0 / 0.637 GB, free: 15.39 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.00109/0.1372, allocations: 1.256 MB / 0.6382 GB, free: 14.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1373, allocations: 8.031 kB / 0.6382 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.1373, allocations: 30.75 kB / 0.6382 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.1374, allocations: 115.3 kB / 0.6384 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1378, allocations: 471.7 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1378, allocations: 8.297 kB / 0.6388 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1378, allocations: 8.375 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.138, allocations: 169.6 kB / 0.639 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.138, allocations: 0 / 0.639 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.138, allocations: 0 / 0.639 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1381, allocations: 4 kB / 0.639 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.1383, allocations: 259.9 kB / 0.6392 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.1387, allocations: 0.552 MB / 0.6398 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1388, allocations: 154.5 kB / 0.6399 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.1389, allocations: 136.8 kB / 0.64 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.139, allocations: 88.64 kB / 0.6401 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.139, allocations: 38.44 kB / 0.6402 GB, free: 11.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.139, allocations: 0 / 0.6402 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004094/0.1394, allocations: 0.5233 MB / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1395, allocations: 51.41 kB / 0.6407 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.1406, allocations: 1.384 MB / 0.6421 GB, free: 9.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1407, allocations: 29.7 kB / 0.6421 GB, free: 9.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.1409, allocations: 453.5 kB / 0.6425 GB, free: 9.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.141, allocations: 4 kB / 0.6425 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.1411, allocations: 113.6 kB / 0.6427 GB, free: 9.332 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.1412, allocations: 345.9 kB / 0.643 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.1415, allocations: 0.5867 MB / 0.6436 GB, free: 8.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.142, allocations: 0.5906 MB / 0.6441 GB, free: 7.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.1427, allocations: 1.17 MB / 0.6453 GB, free: 6.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.1427, allocations: 8.031 kB / 0.6453 GB, free: 6.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001179/0.1439, allocations: 1.392 MB / 0.6466 GB, free: 5.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1439, allocations: 7.984 kB / 0.6467 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.144, allocations: 0 / 0.6467 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.144, allocations: 4 kB / 0.6467 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-05/0.144, allocations: 0 / 0.6467 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.144, allocations: 0 / 0.6467 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1441, allocations: 70.88 kB / 0.6467 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1442, allocations: 4 kB / 0.6467 GB, free: 4.988 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.0003417/0.1445, allocations: 378.9 kB / 0.6471 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.1446, allocations: 110.4 kB / 0.6472 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.1449, allocations: 416.6 kB / 0.6476 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1449, allocations: 0 / 0.6476 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1449, allocations: 0 / 0.6476 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1449, allocations: 0 / 0.6476 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.1454, allocations: 0.5487 MB / 0.6481 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1454, allocations: 4.031 kB / 0.6481 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.1454, allocations: 3.938 kB / 0.6481 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.1455, allocations: 4 kB / 0.6481 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.1455, allocations: 0 / 0.6481 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1455, allocations: 3.938 kB / 0.6481 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1455, allocations: 0 / 0.6481 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1458, allocations: 430.2 kB / 0.6486 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.1459, allocations: 179.5 kB / 0.6487 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.1459, allocations: 4.031 kB / 0.6487 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.146, allocations: 0 / 0.6487 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.146, allocations: 0 / 0.6487 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.146, allocations: 0 / 0.6487 GB, free: 2.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009069/0.147, allocations: 0.9113 MB / 0.6496 GB, free: 1.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.147, allocations: 0 / 0.6496 GB, free: 1.914 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004893/0.1475, allocations: 176 kB / 0.6498 GB, free: 1.742 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.001005/0.1485, allocations: 1.143 MB / 0.6509 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008995/0.1494, allocations: 1.057 MB / 0.6519 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1494, allocations: 0 / 0.6519 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.1495, allocations: 135.9 kB / 0.6521 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1499, allocations: 40.69 kB / 0.6521 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08731/0.2372, allocations: 16.09 MB / 0.6678 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.2378, allocations: 1.02 MB / 0.6688 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.2378, allocations: 3.984 kB / 0.6688 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.2381, allocations: 323.3 kB / 0.6691 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.2381, allocations: 0 / 0.6691 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.2832, allocations: 27.13 MB / 0.6956 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.057/9.34, allocations: 15.95 kB / 0.6956 GB, free: 2.801 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)