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.001014/0.001014, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.493/0.493, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009561, allocations: 99.12 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.555e-05, allocations: 4 kB / 494.5 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5126/0.6547, allocations: 106.1 MB / 0.6572 GB, free: 4.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.655, allocations: 107.6 kB / 0.6573 GB, free: 4.113 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.05205/0.7071, allocations: 13.12 MB / 0.6701 GB, free: 8.777 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7071, allocations: 0 / 0.6701 GB, free: 8.777 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.7071, allocations: 12 kB / 0.6701 GB, free: 8.766 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.001172/0.7083, allocations: 1.011 MB / 0.6711 GB, free: 7.762 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.7084, allocations: 12.03 kB / 0.6711 GB, free: 7.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.7086, allocations: 114.5 kB / 0.6712 GB, free: 7.637 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.7093, allocations: 0.5496 MB / 0.6718 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.7094, allocations: 0 / 0.6718 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.7094, allocations: 4 kB / 0.6718 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000491/0.7099, allocations: 347.5 kB / 0.6721 GB, free: 6.699 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.7103, allocations: 245.2 kB / 0.6723 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.7103, allocations: 0 / 0.6723 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.7103, allocations: 3.953 kB / 0.6723 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7103, allocations: 0 / 0.6723 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.7109, allocations: 0.5846 MB / 0.6729 GB, free: 5.938 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.7112, allocations: 190.3 kB / 0.6731 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.7114, allocations: 176.7 kB / 0.6733 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.7115, allocations: 24.72 kB / 0.6733 GB, free: 5.539 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.7115, allocations: 37.86 kB / 0.6733 GB, free: 5.496 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.745e-06/0.7115, allocations: 0 / 0.6733 GB, free: 5.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0007925/0.7123, allocations: 0.5112 MB / 0.6738 GB, free: 4.977 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7123, allocations: 59.38 kB / 0.6739 GB, free: 4.906 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.7134, allocations: 1.133 MB / 0.675 GB, free: 3.969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.7135, allocations: 29.7 kB / 0.675 GB, free: 3.934 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.7138, allocations: 455.2 kB / 0.6755 GB, free: 3.723 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.7139, allocations: 3.984 kB / 0.6755 GB, free: 3.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.7139, allocations: 4 kB / 0.6755 GB, free: 3.715 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.714, allocations: 343.8 kB / 0.6758 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.7148, allocations: 0.6779 MB / 0.6765 GB, free: 2.836 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.7154, allocations: 0.6864 MB / 0.6771 GB, free: 2.273 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.7162, allocations: 0.7144 MB / 0.6778 GB, free: 1.691 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7162, allocations: 0 / 0.6778 GB, free: 1.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001913/0.7182, allocations: 1.624 MB / 0.6794 GB, free: 316 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7182, allocations: 4.781 kB / 0.6794 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-05/0.7183, allocations: 35.75 kB / 0.6794 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7183, allocations: 0 / 0.6794 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.7183, allocations: 15.97 kB / 0.6795 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7184, allocations: 0 / 0.6795 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.7187, allocations: 70.88 kB / 0.6795 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.7188, allocations: 79.89 kB / 0.6796 GB, free: 116 kB / 474.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.0002053/0.719, allocations: 169 kB / 0.6798 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.7192, allocations: 118.3 kB / 0.6799 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.7205, allocations: 0.6885 MB / 0.6805 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7206, allocations: 0 / 0.6805 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7206, allocations: 4 kB / 0.6806 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7206, allocations: 8.031 kB / 0.6806 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.721, allocations: 0.5081 MB / 0.6811 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7211, allocations: 0 / 0.6811 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.7211, allocations: 15.95 kB / 0.6811 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7211, allocations: 4 kB / 0.6811 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.7211, allocations: 11.97 kB / 0.6811 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7211, allocations: 0 / 0.6811 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7211, allocations: 0 / 0.6811 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.7218, allocations: 0.54 MB / 0.6816 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.722, allocations: 179.5 kB / 0.6818 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.7221, allocations: 0 / 0.6818 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.7224, allocations: 0 / 0.6818 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.7224, allocations: 19.95 kB / 0.6818 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.7225, allocations: 39.97 kB / 0.6818 GB, free: 13.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008615/0.7233, allocations: 0.8373 MB / 0.6827 GB, free: 13.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7233, allocations: 0 / 0.6827 GB, free: 13.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008366/0.7242, allocations: 251.3 kB / 0.6829 GB, free: 12.96 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.000752/0.7249, allocations: 300.9 kB / 0.6832 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.726, allocations: 1.089 MB / 0.6843 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.726, allocations: 4.062 kB / 0.6843 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.7263, allocations: 186.8 kB / 0.6844 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.7266, allocations: 59.06 kB / 0.6845 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.7284, allocations: 1.359 MB / 0.6858 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.7291, allocations: 1.037 MB / 0.6868 GB, free: 9.238 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.7295, allocations: 171.3 kB / 0.687 GB, free: 9.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.7297, allocations: 78.25 kB / 0.6871 GB, free: 9 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7297, allocations: 0 / 0.6871 GB, free: 9 MB / 490.7 MB Notification: Performance of Templates: time 0.01414/0.7439, allocations: 6.955 MB / 0.6939 GB, free: 2.074 MB / 490.7 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)