Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001168/0.001167, allocations: 196.7 kB / 16.14 MB, free: 6.262 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.291/1.291, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 278.5 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 92.27 kB / 0.5945 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 86.98 MB / 0.6795 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002147/0.1379, allocations: 1.38 MB / 0.6808 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1399, allocations: 1.353 MB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.1399, allocations: 0 / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.937e-05/0.14, allocations: 3.938 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1402, allocations: 28.92 kB / 0.6822 GB, free: 14.35 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.141, allocations: 307.3 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.253e-05/0.1411, allocations: 60.83 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1411, allocations: 0 / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.1412, allocations: 15.98 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1413, allocations: 97.84 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1413, allocations: 3.938 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007486/0.1421, allocations: 0.511 MB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004933/0.1426, allocations: 0.5553 MB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.1428, allocations: 313.2 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.1436, allocations: 0.9417 MB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1437, allocations: 0 / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1437, allocations: 0 / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1437, allocations: 0 / 0.6849 GB, free: 11.55 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.001041/0.1447, allocations: 1.256 MB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1448, allocations: 8.031 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1449, allocations: 103.4 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1452, allocations: 483.6 kB / 0.6867 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1452, allocations: 384 / 0.6867 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.1453, allocations: 384 / 0.6867 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1454, allocations: 169.9 kB / 0.6869 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1454, allocations: 0 / 0.6869 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1455, allocations: 3.938 kB / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1455, allocations: 0 / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1457, allocations: 275.8 kB / 0.6871 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1461, allocations: 0.5559 MB / 0.6877 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1462, allocations: 146.5 kB / 0.6878 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.1463, allocations: 136.9 kB / 0.6879 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-05/0.1464, allocations: 80.64 kB / 0.688 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1464, allocations: 34.5 kB / 0.688 GB, free: 8.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1464, allocations: 4 kB / 0.6881 GB, free: 8.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004496/0.1469, allocations: 0.5312 MB / 0.6886 GB, free: 7.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.1469, allocations: 51.41 kB / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.1481, allocations: 1.388 MB / 0.69 GB, free: 6.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1482, allocations: 29.7 kB / 0.69 GB, free: 6.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.1484, allocations: 449.5 kB / 0.6904 GB, free: 5.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.1485, allocations: 0 / 0.6904 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.1486, allocations: 113.6 kB / 0.6905 GB, free: 5.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1487, allocations: 350.1 kB / 0.6909 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.1491, allocations: 0.5867 MB / 0.6914 GB, free: 4.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.1495, allocations: 0.5945 MB / 0.692 GB, free: 4.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.1502, allocations: 1.166 MB / 0.6932 GB, free: 2.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1502, allocations: 4 kB / 0.6932 GB, free: 2.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001168/0.1514, allocations: 1.392 MB / 0.6945 GB, free: 1.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1514, allocations: 11.94 kB / 0.6945 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1515, allocations: 0 / 0.6945 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1515, allocations: 0 / 0.6945 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.266e-05/0.1515, allocations: 0 / 0.6945 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1515, allocations: 4.062 kB / 0.6945 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1517, allocations: 74.78 kB / 0.6946 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1517, allocations: 0 / 0.6946 GB, free: 1.203 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.0003645/0.152, allocations: 379.5 kB / 0.695 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.1521, allocations: 110.4 kB / 0.6951 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.1524, allocations: 412.6 kB / 0.6955 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1525, allocations: 0 / 0.6955 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1525, allocations: 4 kB / 0.6955 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1525, allocations: 0 / 0.6955 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.1529, allocations: 0.5448 MB / 0.696 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1529, allocations: 0 / 0.696 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-06/0.1529, allocations: 0 / 0.696 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1529, allocations: 7.922 kB / 0.696 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1529, allocations: 0 / 0.696 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1529, allocations: 0 / 0.696 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1529, allocations: 0 / 0.696 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1532, allocations: 446.2 kB / 0.6964 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1534, allocations: 167.5 kB / 0.6966 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.1534, allocations: 0 / 0.6966 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.1535, allocations: 0 / 0.6966 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1535, allocations: 4 kB / 0.6966 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1535, allocations: 3.938 kB / 0.6966 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008652/0.1544, allocations: 0.9075 MB / 0.6975 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1544, allocations: 4.031 kB / 0.6975 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005185/0.1549, allocations: 184 kB / 0.6977 GB, free: 13.96 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.0006278/0.1556, allocations: 281.7 kB / 0.6979 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.1563, allocations: 1.053 MB / 0.699 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1564, allocations: 3.938 kB / 0.699 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.1564, allocations: 127.9 kB / 0.6991 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1568, allocations: 41.2 kB / 0.6991 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1586, allocations: 1.887 MB / 0.701 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.159, allocations: 1.012 MB / 0.702 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.1591, allocations: 11.92 kB / 0.702 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.1591, allocations: 7.438 kB / 0.702 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1591, allocations: 0 / 0.702 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of Templates: time 0.009313/0.1684, allocations: 4.47 MB / 0.7064 GB, free: 5.07 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)