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.001107/0.001107, allocations: 95.95 kB / 15.69 MB, free: 476 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.00136/0.001361, allocations: 176 kB / 16.57 MB, free: 6.855 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.429/1.429, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 493.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.167, allocations: 77.15 MB / 0.5569 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001288/0.1683, allocations: 1.023 MB / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1701, allocations: 1.185 MB / 0.559 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.1701, allocations: 0 / 0.559 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.188e-05/0.1702, allocations: 15.94 kB / 0.559 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1704, allocations: 27.91 kB / 0.5591 GB, free: 9.301 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.0007012/0.1711, allocations: 266.7 kB / 0.5593 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.1712, allocations: 27.91 kB / 0.5594 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.1712, allocations: 7.984 kB / 0.5594 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.1713, allocations: 16 kB / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.1713, allocations: 27.92 kB / 0.5594 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1713, allocations: 0 / 0.5594 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.1719, allocations: 399.4 kB / 0.5598 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.1724, allocations: 0.495 MB / 0.5603 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.1725, allocations: 137.1 kB / 0.5604 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.1731, allocations: 0.6083 MB / 0.561 GB, free: 7.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1731, allocations: 0 / 0.561 GB, free: 7.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1731, allocations: 3.938 kB / 0.561 GB, free: 7.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.1731, allocations: 4 kB / 0.561 GB, free: 7.32 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.001033/0.1741, allocations: 1.179 MB / 0.5622 GB, free: 6.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1742, allocations: 20 kB / 0.5622 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.1743, allocations: 102.5 kB / 0.5623 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.1747, allocations: 427.4 kB / 0.5627 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.1747, allocations: 4 kB / 0.5627 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1747, allocations: 3.938 kB / 0.5627 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1749, allocations: 161.6 kB / 0.5628 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1749, allocations: 8 kB / 0.5628 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1749, allocations: 0 / 0.5628 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1749, allocations: 0 / 0.5628 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.1751, allocations: 267.8 kB / 0.5631 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1756, allocations: 0.5559 MB / 0.5636 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1757, allocations: 154.4 kB / 0.5638 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/0.1758, allocations: 80.7 kB / 0.5639 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1758, allocations: 38.56 kB / 0.5639 GB, free: 4.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1758, allocations: 0 / 0.5639 GB, free: 4.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004546/0.1763, allocations: 0.5234 MB / 0.5644 GB, free: 3.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.1763, allocations: 55.34 kB / 0.5645 GB, free: 3.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1776, allocations: 1.38 MB / 0.5658 GB, free: 2.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1776, allocations: 29.7 kB / 0.5658 GB, free: 2.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.1779, allocations: 453.5 kB / 0.5663 GB, free: 1.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.1779, allocations: 3.906 kB / 0.5663 GB, free: 1.688 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.1779, allocations: 128 / 0.5663 GB, free: 1.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1781, allocations: 346 kB / 0.5666 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.1785, allocations: 0.5867 MB / 0.5672 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.1789, allocations: 0.5945 MB / 0.5678 GB, free: 168 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.1794, allocations: 0.6189 MB / 0.5684 GB, free: 15.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1794, allocations: 0 / 0.5684 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001224/0.1806, allocations: 1.384 MB / 0.5697 GB, free: 14.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1806, allocations: 8 kB / 0.5697 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.1806, allocations: 0 / 0.5697 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1807, allocations: 3.953 kB / 0.5697 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.786e-05/0.1807, allocations: 8.062 kB / 0.5697 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1807, allocations: 3.938 kB / 0.5697 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.1808, allocations: 70.88 kB / 0.5698 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1809, allocations: 0 / 0.5698 GB, free: 14.06 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 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003904/0.1813, allocations: 378.8 kB / 0.5702 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.1813, allocations: 110.4 kB / 0.5703 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.1817, allocations: 408.7 kB / 0.5707 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1817, allocations: 3.953 kB / 0.5707 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1817, allocations: 4 kB / 0.5707 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1817, allocations: 0 / 0.5707 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1821, allocations: 0.5448 MB / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1821, allocations: 0 / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.1821, allocations: 0 / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1822, allocations: 0 / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1822, allocations: 0 / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1822, allocations: 3.938 kB / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1822, allocations: 11.91 kB / 0.5712 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1825, allocations: 434.3 kB / 0.5716 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.1826, allocations: 171.5 kB / 0.5718 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.1827, allocations: 0 / 0.5718 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.1828, allocations: 3.984 kB / 0.5718 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1828, allocations: 7.938 kB / 0.5718 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1828, allocations: 3.953 kB / 0.5718 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008824/0.1837, allocations: 0.9074 MB / 0.5727 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1837, allocations: 0 / 0.5727 GB, free: 10.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.1842, allocations: 180 kB / 0.5729 GB, free: 10.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005719/0.1848, allocations: 283.9 kB / 0.5731 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.1856, allocations: 1.053 MB / 0.5742 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1856, allocations: 0 / 0.5742 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.1857, allocations: 127.9 kB / 0.5743 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1859, allocations: 41.2 kB / 0.5743 GB, free: 9.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1877, allocations: 1.77 MB / 0.5761 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.1882, allocations: 1.036 MB / 0.5771 GB, free: 6.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.1883, allocations: 7.922 kB / 0.5771 GB, free: 6.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.1883, allocations: 11.44 kB / 0.5771 GB, free: 6.449 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1883, allocations: 0 / 0.5771 GB, free: 6.449 MB / 446.1 MB Notification: Performance of Templates: time 0.00941/0.1977, allocations: 4.357 MB / 0.5813 GB, free: 2.137 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)