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.0007647/0.0007647, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00087/0.0008701, allocations: 182 kB / 16.91 MB, free: 6.914 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.675/0.675, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 17.98 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 77.53 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001272/0.1313, allocations: 1.049 MB / 0.561 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1333, allocations: 1.298 MB / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.1334, allocations: 0 / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.118e-05/0.1335, allocations: 7.938 kB / 0.5623 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1337, allocations: 28.92 kB / 0.5623 GB, free: 6.578 MB / 430.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.1345, allocations: 314.3 kB / 0.5626 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.1346, allocations: 56.78 kB / 0.5627 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.1347, allocations: 7.938 kB / 0.5627 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.1347, allocations: 11.98 kB / 0.5627 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1348, allocations: 101.8 kB / 0.5628 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1349, allocations: 0 / 0.5628 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.1357, allocations: 0.5109 MB / 0.5633 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005368/0.1362, allocations: 0.5631 MB / 0.5638 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.1365, allocations: 330.9 kB / 0.5642 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009487/0.1374, allocations: 0.9379 MB / 0.5651 GB, free: 3.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1374, allocations: 0 / 0.5651 GB, free: 3.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1374, allocations: 4 kB / 0.5651 GB, free: 3.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1375, allocations: 0 / 0.5651 GB, free: 3.746 MB / 430.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.001113/0.1386, allocations: 1.165 MB / 0.5662 GB, free: 2.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1386, allocations: 8.031 kB / 0.5662 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.1388, allocations: 103.4 kB / 0.5663 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.1391, allocations: 495.5 kB / 0.5668 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1392, allocations: 384 / 0.5668 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1392, allocations: 384 / 0.5668 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1393, allocations: 169.9 kB / 0.567 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.1394, allocations: 4 kB / 0.567 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1394, allocations: 0 / 0.567 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1394, allocations: 0 / 0.567 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.1396, allocations: 267.8 kB / 0.5672 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.1401, allocations: 0.5482 MB / 0.5678 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1402, allocations: 154.5 kB / 0.5679 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1403, allocations: 136.9 kB / 0.568 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/0.1404, allocations: 80.64 kB / 0.5681 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1404, allocations: 46.44 kB / 0.5682 GB, free: 424 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1404, allocations: 0 / 0.5682 GB, free: 424 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004775/0.1409, allocations: 0.5196 MB / 0.5687 GB, free: 15.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.141, allocations: 51.41 kB / 0.5687 GB, free: 15.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.1423, allocations: 1.384 MB / 0.5701 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1423, allocations: 33.69 kB / 0.5701 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.1427, allocations: 453.5 kB / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.1427, allocations: 4.125 kB / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1428, allocations: 101.6 kB / 0.5706 GB, free: 13.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1429, allocations: 345.9 kB / 0.571 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.1433, allocations: 0.5867 MB / 0.5715 GB, free: 12.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.1438, allocations: 0.5945 MB / 0.5721 GB, free: 12.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.1446, allocations: 1.17 MB / 0.5733 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1447, allocations: 0 / 0.5733 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001241/0.1459, allocations: 1.381 MB / 0.5746 GB, free: 9.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1459, allocations: 19.86 kB / 0.5746 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.146, allocations: 8.047 kB / 0.5746 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.146, allocations: 0 / 0.5746 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.375e-05/0.146, allocations: 3.984 kB / 0.5746 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.146, allocations: 0 / 0.5746 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1462, allocations: 78.78 kB / 0.5747 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1462, allocations: 0 / 0.5747 GB, free: 9.488 MB / 446.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.0004112/0.1466, allocations: 378.8 kB / 0.5751 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.1467, allocations: 114.4 kB / 0.5752 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.147, allocations: 408.6 kB / 0.5756 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1471, allocations: 0 / 0.5756 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1471, allocations: 4 kB / 0.5756 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1471, allocations: 0 / 0.5756 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1475, allocations: 0.5448 MB / 0.5761 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1475, allocations: 0 / 0.5761 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-06/0.1475, allocations: 4 kB / 0.5761 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1475, allocations: 3.938 kB / 0.5761 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.1475, allocations: 0 / 0.5761 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1476, allocations: 4.031 kB / 0.5761 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1476, allocations: 0 / 0.5761 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1479, allocations: 438.2 kB / 0.5765 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.148, allocations: 175.5 kB / 0.5767 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.1481, allocations: 0 / 0.5767 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.1482, allocations: 0 / 0.5767 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.1482, allocations: 4 kB / 0.5767 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1482, allocations: 4.031 kB / 0.5767 GB, free: 7.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009976/0.1492, allocations: 0.9035 MB / 0.5776 GB, free: 6.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1492, allocations: 0 / 0.5776 GB, free: 6.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.1498, allocations: 180 kB / 0.5778 GB, free: 6.242 MB / 446.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.0007859/0.1506, allocations: 285.3 kB / 0.578 GB, free: 5.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008673/0.1515, allocations: 1.049 MB / 0.5791 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1515, allocations: 0 / 0.5791 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1516, allocations: 139.9 kB / 0.5792 GB, free: 4.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.152, allocations: 33.22 kB / 0.5792 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.1541, allocations: 1.896 MB / 0.5811 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.1547, allocations: 1.012 MB / 0.5821 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.1547, allocations: 0 / 0.5821 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.1547, allocations: 11.44 kB / 0.5821 GB, free: 1.777 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1547, allocations: 0 / 0.5821 GB, free: 1.777 MB / 446.1 MB Notification: Performance of Templates: time 0.2335/0.3882, allocations: 4.382 MB / 0.5864 GB, free: 30.07 MB / 446.1 MB 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)