Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009754/0.0009751, 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.4857/0.4857, allocations: 90.91 MB / 99.34 MB, free: 2.176 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.366/1.366, allocations: 221.5 MB / 343.2 MB, free: 1.574 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.0008504/0.0008505, allocations: 103.1 kB / 416 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.614e-05, allocations: 4 kB / 494.5 MB, free: 52.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 72.32 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.6109, allocations: 124.3 MB / 0.6749 GB, free: 2.254 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.6112, allocations: 121.4 kB / 0.6751 GB, free: 2.18 MB / 474.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.1314/0.7426, allocations: 34.27 MB / 0.7085 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7427, allocations: 0 / 0.7085 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.835e-05/0.7428, allocations: 28.78 kB / 0.7085 GB, free: 4.469 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003322/0.7461, allocations: 1.586 MB / 0.7101 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7462, allocations: 12.03 kB / 0.7101 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.7467, allocations: 173.6 kB / 0.7103 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.748, allocations: 0.7812 MB / 0.711 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.7481, allocations: 4 kB / 0.711 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7482, allocations: 27.94 kB / 0.7111 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003709/0.7486, allocations: 430.6 kB / 0.7115 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.7489, allocations: 384.7 kB / 0.7118 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7489, allocations: 7.938 kB / 0.7118 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.749, allocations: 7.969 kB / 0.7119 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.749, allocations: 0 / 0.7119 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.7503, allocations: 1.138 MB / 0.713 GB, free: 92 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.7507, allocations: 0.5547 MB / 0.7135 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.751, allocations: 332.5 kB / 0.7138 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009478/0.7519, allocations: 1.032 MB / 0.7148 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.7523, allocations: 399.1 kB / 0.7152 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.7523, allocations: 4 kB / 0.7152 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001005/0.7533, allocations: 1.039 MB / 0.7162 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.7534, allocations: 89.05 kB / 0.7163 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.7553, allocations: 1.839 MB / 0.7181 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.7554, allocations: 33.7 kB / 0.7181 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.7559, allocations: 0.5268 MB / 0.7187 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.7559, allocations: 19.72 kB / 0.7187 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.756, allocations: 4 kB / 0.7187 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.7562, allocations: 448.9 kB / 0.7191 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.7583, allocations: 2.058 MB / 0.7211 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.7604, allocations: 2.244 MB / 0.7233 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.7631, allocations: 2.848 MB / 0.7261 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7631, allocations: 0 / 0.7261 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006829/0.7699, allocations: 6.044 MB / 0.732 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.77, allocations: 8 kB / 0.732 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.7701, allocations: 56 kB / 0.7321 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.7701, allocations: 8.031 kB / 0.7321 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.7708, allocations: 151.7 kB / 0.7322 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7708, allocations: 4 kB / 0.7322 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009519/0.7718, allocations: 303.1 kB / 0.7325 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.772, allocations: 136 kB / 0.7326 GB, free: 12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,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],cluSiz[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.0002249/0.7722, allocations: 184.5 kB / 0.7328 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.7723, allocations: 141.7 kB / 0.7329 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.7734, allocations: 1.003 MB / 0.7339 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.7734, allocations: 3.984 kB / 0.7339 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7734, allocations: 0 / 0.7339 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7734, allocations: 0 / 0.7339 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008837/0.7743, allocations: 0.7493 MB / 0.7347 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7743, allocations: 0 / 0.7347 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.7744, allocations: 7.969 kB / 0.7347 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.7744, allocations: 8 kB / 0.7347 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.7744, allocations: 3.984 kB / 0.7347 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.7744, allocations: 0 / 0.7347 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7744, allocations: 0 / 0.7347 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008782/0.7753, allocations: 1.088 MB / 0.7357 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.7756, allocations: 230.7 kB / 0.736 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.7758, allocations: 8 kB / 0.736 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.7761, allocations: 7.984 kB / 0.736 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.7762, allocations: 4 kB / 0.736 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.7762, allocations: 11.97 kB / 0.736 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001459/0.7777, allocations: 1.181 MB / 0.7371 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7777, allocations: 0 / 0.7371 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002435/0.7802, allocations: 0.7296 MB / 0.7379 GB, free: 6.531 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003561/0.7837, allocations: 0.814 MB / 0.7387 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.787, allocations: 3.383 MB / 0.742 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7871, allocations: 0 / 0.742 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.7873, allocations: 331.8 kB / 0.7423 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.7878, allocations: 64.56 kB / 0.7423 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.791, allocations: 2.35 MB / 0.7446 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/0.7918, allocations: 1.265 MB / 0.7459 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000415/0.7923, allocations: 130.7 kB / 0.746 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.7924, allocations: 67.39 kB / 0.7461 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/0.7925, allocations: 0 / 0.7461 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of Templates: time 0.02848/0.8209, allocations: 15.12 MB / 0.7608 GB, free: 14.96 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)