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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5328/0.5328, allocations: 90.81 MB / 104.5 MB, free: 13.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 88.44 kB / 421.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/3.006e-05, allocations: 4 kB / 0.4897 GB, free: 46.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 72.31 MB / 0.5603 GB, free: 6.375 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5969, allocations: 106.8 MB / 0.6645 GB, free: 1.156 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5972, allocations: 109.1 kB / 0.6647 GB, free: 1.086 MB / 458.7 MB [/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 FrontEnd - DAE generated: time 0.05271/0.6499, allocations: 13.21 MB / 0.6776 GB, free: 4.965 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.65, allocations: 0 / 0.6776 GB, free: 4.965 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.65, allocations: 16 kB / 0.6776 GB, free: 4.949 MB / 474.7 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.0011/0.6511, allocations: 1.008 MB / 0.6786 GB, free: 3.895 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6512, allocations: 11.98 kB / 0.6786 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.6513, allocations: 114.5 kB / 0.6787 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/0.6522, allocations: 0.5463 MB / 0.6792 GB, free: 3.176 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6522, allocations: 0 / 0.6792 GB, free: 3.176 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.6523, allocations: 7.938 kB / 0.6792 GB, free: 3.168 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.6527, allocations: 245.3 kB / 0.6794 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6527, allocations: 0 / 0.6794 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.6527, allocations: 4 kB / 0.6795 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6528, allocations: 3.953 kB / 0.6795 GB, free: 2.914 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.6532, allocations: 343.5 kB / 0.6798 GB, free: 2.578 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.6538, allocations: 0.6104 MB / 0.6804 GB, free: 1.914 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.6541, allocations: 190.6 kB / 0.6806 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.6544, allocations: 184.6 kB / 0.6807 GB, free: 1.535 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.6544, allocations: 24.72 kB / 0.6808 GB, free: 1.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.6545, allocations: 42.56 kB / 0.6808 GB, free: 1.457 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.6545, allocations: 0 / 0.6808 GB, free: 1.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0007628/0.6552, allocations: 0.4996 MB / 0.6813 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.6553, allocations: 51.41 kB / 0.6813 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.6565, allocations: 1.207 MB / 0.6825 GB, free: 15.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.6565, allocations: 33.7 kB / 0.6825 GB, free: 15.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.6569, allocations: 457.5 kB / 0.683 GB, free: 15.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.6569, allocations: 3.906 kB / 0.683 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.657, allocations: 15.91 kB / 0.683 GB, free: 15.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6571, allocations: 341.9 kB / 0.6833 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.6578, allocations: 0.6802 MB / 0.684 GB, free: 14.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007447/0.6586, allocations: 0.6879 MB / 0.6847 GB, free: 13.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008271/0.6594, allocations: 0.7144 MB / 0.6854 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6594, allocations: 0 / 0.6854 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002/0.6614, allocations: 1.622 MB / 0.6869 GB, free: 11.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6615, allocations: 4 kB / 0.687 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.371e-05/0.6615, allocations: 32 kB / 0.687 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6616, allocations: 4.062 kB / 0.687 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.343e-05/0.6616, allocations: 19.95 kB / 0.687 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6616, allocations: 0 / 0.687 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.662, allocations: 74.86 kB / 0.6871 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6621, allocations: 79.92 kB / 0.6872 GB, free: 10.89 MB / 490.7 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 () * 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.0001754/0.6623, allocations: 166.2 kB / 0.6873 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6624, allocations: 110.4 kB / 0.6874 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.6638, allocations: 0.6914 MB / 0.6881 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6638, allocations: 0 / 0.6881 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6639, allocations: 0 / 0.6881 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.6639, allocations: 0 / 0.6881 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.6643, allocations: 0.533 MB / 0.6886 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6643, allocations: 0 / 0.6886 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.6644, allocations: 15.95 kB / 0.6886 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6644, allocations: 0 / 0.6886 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.6644, allocations: 15.97 kB / 0.6886 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6644, allocations: 0 / 0.6886 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6644, allocations: 8.031 kB / 0.6887 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.6651, allocations: 0.5369 MB / 0.6892 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.6653, allocations: 183.5 kB / 0.6893 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.6654, allocations: 0 / 0.6893 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.6657, allocations: 0 / 0.6893 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.6658, allocations: 19.95 kB / 0.6894 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.6658, allocations: 39.97 kB / 0.6894 GB, free: 8.473 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009798/0.6668, allocations: 0.9061 MB / 0.6903 GB, free: 7.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6668, allocations: 0 / 0.6903 GB, free: 7.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007328/0.6676, allocations: 251.8 kB / 0.6905 GB, free: 7.32 MB / 490.7 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 () * 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.0006636/0.6682, allocations: 306.4 kB / 0.6908 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.6694, allocations: 1.092 MB / 0.6919 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6694, allocations: 0 / 0.6919 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.6697, allocations: 187.7 kB / 0.6921 GB, free: 5.754 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.6699, allocations: 58.73 kB / 0.6921 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.6717, allocations: 1.366 MB / 0.6935 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.6722, allocations: 1.037 MB / 0.6945 GB, free: 3.234 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.6726, allocations: 167.3 kB / 0.6946 GB, free: 3.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.6728, allocations: 75.31 kB / 0.6947 GB, free: 2.996 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6728, allocations: 0 / 0.6947 GB, free: 2.996 MB / 490.7 MB Notification: Performance of Templates: time 0.0138/0.6866, allocations: 7.466 MB / 0.702 GB, free: 11.55 MB / 0.4948 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)