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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 178.8 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.4789/0.4789, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.353/1.353, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009657/0.0009654, allocations: 105.8 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.433e-05, allocations: 4 kB / 0.4898 GB, free: 5.207 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3541, allocations: 72.3 MB / 0.5604 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4808, allocations: 106.8 MB / 0.6646 GB, free: 13.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.4812, allocations: 103.9 kB / 0.6647 GB, free: 13.41 MB / 490.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.05502/0.5363, allocations: 13.22 MB / 0.6776 GB, free: 180 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5363, allocations: 0 / 0.6776 GB, free: 180 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.39e-05/0.5364, allocations: 16 kB / 0.6777 GB, free: 164 kB / 490.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.001344/0.5377, allocations: 1.006 MB / 0.6786 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5378, allocations: 12.03 kB / 0.6786 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.5378, allocations: 42.44 kB / 0.6787 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.538, allocations: 106.5 kB / 0.6788 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.5389, allocations: 0.5463 MB / 0.6793 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.5389, allocations: 0 / 0.6793 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.539, allocations: 4 kB / 0.6793 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.5394, allocations: 249.3 kB / 0.6796 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5394, allocations: 3.984 kB / 0.6796 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.5394, allocations: 0 / 0.6796 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5394, allocations: 3.953 kB / 0.6796 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.5399, allocations: 347.5 kB / 0.6799 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.5406, allocations: 0.6032 MB / 0.6805 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.5409, allocations: 198.5 kB / 0.6807 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.5412, allocations: 176.7 kB / 0.6809 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.5412, allocations: 28.72 kB / 0.6809 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.5413, allocations: 38.55 kB / 0.6809 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5413, allocations: 0 / 0.6809 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0008137/0.5421, allocations: 0.5059 MB / 0.6814 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.5421, allocations: 59.36 kB / 0.6815 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.5435, allocations: 1.207 MB / 0.6826 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.5436, allocations: 25.7 kB / 0.6827 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.544, allocations: 461.5 kB / 0.6831 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.544, allocations: 8.031 kB / 0.6831 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.5441, allocations: 0 / 0.6831 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5442, allocations: 345.9 kB / 0.6834 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/0.545, allocations: 0.6841 MB / 0.6841 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.5458, allocations: 0.6841 MB / 0.6848 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.5467, allocations: 0.7144 MB / 0.6855 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5467, allocations: 0 / 0.6855 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002134/0.5488, allocations: 1.622 MB / 0.6871 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5489, allocations: 9.406 kB / 0.6871 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.698e-05/0.5489, allocations: 32.06 kB / 0.6871 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.549, allocations: 3.984 kB / 0.6871 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.549, allocations: 15.97 kB / 0.6871 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.549, allocations: 0 / 0.6871 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.5495, allocations: 78.83 kB / 0.6872 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5496, allocations: 83.89 kB / 0.6873 GB, free: 6.059 MB / 0.4948 GB 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.0001996/0.5498, allocations: 166.2 kB / 0.6874 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5499, allocations: 110.4 kB / 0.6875 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.5515, allocations: 0.6836 MB / 0.6882 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.5515, allocations: 0 / 0.6882 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5515, allocations: 4 kB / 0.6882 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5515, allocations: 0 / 0.6882 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.5521, allocations: 0.533 MB / 0.6887 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5521, allocations: 0.8438 kB / 0.6887 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.5522, allocations: 15.97 kB / 0.6888 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5522, allocations: 0 / 0.6888 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.5522, allocations: 19.98 kB / 0.6888 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5523, allocations: 4 kB / 0.6888 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5523, allocations: 0 / 0.6888 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.5531, allocations: 0.533 MB / 0.6893 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.5533, allocations: 179.6 kB / 0.6895 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.5534, allocations: 0 / 0.6895 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.5537, allocations: 2.062 kB / 0.6895 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.5538, allocations: 16 kB / 0.6895 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.5539, allocations: 47.95 kB / 0.6895 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001211/0.5551, allocations: 0.9022 MB / 0.6904 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5551, allocations: 0 / 0.6904 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008252/0.556, allocations: 247.8 kB / 0.6906 GB, free: 2.5 MB / 0.4948 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 () * 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.002084/0.558, allocations: 1.291 MB / 0.6919 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.5594, allocations: 1.084 MB / 0.693 GB, free: 120 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5594, allocations: 0 / 0.693 GB, free: 120 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.5597, allocations: 195.6 kB / 0.6932 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.56, allocations: 59 kB / 0.6932 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.5629, allocations: 1.592 MB / 0.6948 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.5637, allocations: 1.033 MB / 0.6958 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004525/0.5641, allocations: 175.3 kB / 0.6959 GB, free: 13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.5646, allocations: 383.2 kB / 0.6963 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.754e-06/0.5646, allocations: 4 kB / 0.6963 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3185/0.8831, allocations: 17.19 MB / 0.7131 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.8833, allocations: 268.2 kB / 0.7133 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.118, allocations: 0 / 0.7133 GB, free: 137.6 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)