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.001333/0.001333, allocations: 103.8 kB / 16.4 MB, free: 6.41 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.001451/0.001451, allocations: 191.5 kB / 17.34 MB, free: 5.695 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.338/1.338, 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.837/0.837, allocations: 122.9 MB / 414.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.38 kB / 0.5685 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 77.95 MB / 0.6447 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002454/0.1337, allocations: 1.301 MB / 0.6459 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1357, allocations: 1.315 MB / 0.6472 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.1357, allocations: 0 / 0.6472 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.065e-05/0.1359, allocations: 7.938 kB / 0.6472 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.136, allocations: 24.92 kB / 0.6473 GB, free: 6.262 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.0009205/0.137, allocations: 378.8 kB / 0.6476 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.1371, allocations: 27.92 kB / 0.6476 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1371, allocations: 3.984 kB / 0.6476 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.1372, allocations: 15.92 kB / 0.6477 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.1372, allocations: 33.89 kB / 0.6477 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1373, allocations: 0 / 0.6477 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.1381, allocations: 0.5577 MB / 0.6482 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005265/0.1386, allocations: 0.5583 MB / 0.6488 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.1388, allocations: 301.1 kB / 0.6491 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008902/0.1397, allocations: 0.9523 MB / 0.65 GB, free: 3.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1398, allocations: 0 / 0.65 GB, free: 3.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1398, allocations: 0 / 0.65 GB, free: 3.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1398, allocations: 0 / 0.65 GB, free: 3.441 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.001087/0.1409, allocations: 1.302 MB / 0.6513 GB, free: 2.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1409, allocations: 8.625 kB / 0.6513 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.141, allocations: 124 kB / 0.6514 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.1414, allocations: 484.7 kB / 0.6519 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1414, allocations: 8.312 kB / 0.6519 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1414, allocations: 384 / 0.6519 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1416, allocations: 165.9 kB / 0.652 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1416, allocations: 0 / 0.652 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1416, allocations: 0 / 0.652 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1417, allocations: 0 / 0.652 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1418, allocations: 271.8 kB / 0.6523 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1423, allocations: 0.5484 MB / 0.6528 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1424, allocations: 158.4 kB / 0.653 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.1425, allocations: 140.8 kB / 0.6531 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.1426, allocations: 84.64 kB / 0.6532 GB, free: 0 / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1427, allocations: 34.5 kB / 0.6532 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1427, allocations: 0 / 0.6532 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004675/0.1431, allocations: 0.528 MB / 0.6537 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1432, allocations: 55.34 kB / 0.6538 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.1445, allocations: 1.396 MB / 0.6551 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1445, allocations: 25.7 kB / 0.6552 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.1448, allocations: 449.7 kB / 0.6556 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.1448, allocations: 11.88 kB / 0.6556 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.1449, allocations: 117.6 kB / 0.6557 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.145, allocations: 334 kB / 0.656 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.1454, allocations: 0.5945 MB / 0.6566 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.1458, allocations: 0.5906 MB / 0.6572 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.1466, allocations: 1.166 MB / 0.6583 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1466, allocations: 0 / 0.6583 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001223/0.1479, allocations: 1.401 MB / 0.6597 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1479, allocations: 7.938 kB / 0.6597 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.1479, allocations: 0 / 0.6597 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1479, allocations: 0 / 0.6597 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.455e-05/0.1479, allocations: 0 / 0.6597 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.148, allocations: 4 kB / 0.6597 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.1481, allocations: 71.2 kB / 0.6598 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1481, allocations: 0 / 0.6598 GB, free: 9.008 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.000368/0.1485, allocations: 386.9 kB / 0.6602 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.1486, allocations: 115.1 kB / 0.6603 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.1489, allocations: 408.7 kB / 0.6607 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1489, allocations: 0 / 0.6607 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.149, allocations: 0 / 0.6607 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.149, allocations: 0 / 0.6607 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.1494, allocations: 0.5488 MB / 0.6612 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1494, allocations: 0 / 0.6612 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-06/0.1494, allocations: 3.938 kB / 0.6612 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1494, allocations: 7.922 kB / 0.6612 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.1494, allocations: 0 / 0.6612 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1494, allocations: 4 kB / 0.6612 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1494, allocations: 4 kB / 0.6612 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.1497, allocations: 435 kB / 0.6616 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1499, allocations: 180.2 kB / 0.6618 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.1499, allocations: 4 kB / 0.6618 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.15, allocations: 0 / 0.6618 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.15, allocations: 0 / 0.6618 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.15, allocations: 0 / 0.6618 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009108/0.151, allocations: 0.9152 MB / 0.6627 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.151, allocations: 0 / 0.6627 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005038/0.1515, allocations: 183.7 kB / 0.6629 GB, free: 5.734 MB / 0.4981 GB 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.000609/0.1521, allocations: 280.6 kB / 0.6631 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007739/0.1529, allocations: 1.053 MB / 0.6642 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1529, allocations: 0 / 0.6642 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.153, allocations: 136 kB / 0.6643 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1533, allocations: 41.28 kB / 0.6643 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1551, allocations: 1.695 MB / 0.666 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.1556, allocations: 1.012 MB / 0.667 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.1556, allocations: 0 / 0.667 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.1557, allocations: 11.44 kB / 0.667 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1557, allocations: 0 / 0.667 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.009993/0.1657, allocations: 4.504 MB / 0.6714 GB, free: 13.02 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)