Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 180.8 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009159, allocations: 91.94 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.336e-05, allocations: 5.797 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.258, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9789/1.237, allocations: 172.8 MB / 1.381 GB, free: 15.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.237, allocations: 114.9 kB / 1.381 GB, free: 15.06 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.1267/1.364, allocations: 34.27 MB / 1.415 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/1.364, allocations: 0 / 1.415 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.269e-05/1.364, allocations: 27.94 kB / 1.415 GB, free: 10.44 MB / 0.8386 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.003179/1.367, allocations: 1.591 MB / 1.416 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.367, allocations: 8.031 kB / 1.416 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/1.368, allocations: 181.3 kB / 1.417 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/1.369, allocations: 0.7855 MB / 1.417 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/1.369, allocations: 0 / 1.417 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.369, allocations: 28 kB / 1.417 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00036/1.369, allocations: 423.1 kB / 1.418 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/1.37, allocations: 382.8 kB / 1.418 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.37, allocations: 0 / 1.418 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.37, allocations: 3.984 kB / 1.418 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.37, allocations: 7.891 kB / 1.418 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/1.371, allocations: 1.142 MB / 1.419 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/1.371, allocations: 0.5575 MB / 1.42 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/1.372, allocations: 329 kB / 1.42 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009327/1.373, allocations: 1.04 MB / 1.421 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/1.373, allocations: 398.2 kB / 1.421 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/1.373, allocations: 0 / 1.421 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001036/1.374, allocations: 1.041 MB / 1.422 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.374, allocations: 85.09 kB / 1.423 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.376, allocations: 1.839 MB / 1.424 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.376, allocations: 37.64 kB / 1.424 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/1.376, allocations: 0.5229 MB / 1.425 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/1.376, allocations: 18 kB / 1.425 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/1.376, allocations: 8 kB / 1.425 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.377, allocations: 449.9 kB / 1.425 GB, free: 184 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/1.379, allocations: 2.057 MB / 1.427 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/1.381, allocations: 2.247 MB / 1.43 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/1.383, allocations: 2.849 MB / 1.432 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.383, allocations: 0 / 1.432 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006518/1.39, allocations: 6.047 MB / 1.438 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.39, allocations: 7.938 kB / 1.438 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/1.39, allocations: 60.03 kB / 1.438 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/1.39, allocations: 4 kB / 1.438 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/1.391, allocations: 147.7 kB / 1.438 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.391, allocations: 4 kB / 1.438 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/1.392, allocations: 299.2 kB / 1.439 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/1.392, allocations: 143.3 kB / 1.439 GB, free: 5.09 MB / 0.8542 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.0002262/1.392, allocations: 185.8 kB / 1.439 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008585/1.393, allocations: 1.029 MB / 1.44 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.393, allocations: 137.7 kB / 1.44 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.394, allocations: 0.9979 MB / 1.441 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.394, allocations: 4 kB / 1.441 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.394, allocations: 0 / 1.441 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.394, allocations: 0 / 1.441 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/1.395, allocations: 0.7465 MB / 1.442 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.395, allocations: 4 kB / 1.442 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/1.395, allocations: 11.98 kB / 1.442 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.395, allocations: 0 / 1.442 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.395, allocations: 11.56 kB / 1.442 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.395, allocations: 0 / 1.442 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.395, allocations: 0 / 1.442 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/1.396, allocations: 1.083 MB / 1.443 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/1.396, allocations: 234.6 kB / 1.443 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.396, allocations: 3.984 kB / 1.443 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/1.397, allocations: 4 kB / 1.443 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/1.397, allocations: 7.984 kB / 1.443 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/1.397, allocations: 19.66 kB / 1.443 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001315/1.398, allocations: 1.18 MB / 1.444 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/1.398, allocations: 4 kB / 1.444 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002421/1.401, allocations: 0.7333 MB / 1.445 GB, free: 15.05 MB / 0.8698 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.00376/1.404, allocations: 2.399 MB / 1.447 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002904/1.407, allocations: 3.385 MB / 1.451 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.407, allocations: 4.062 kB / 1.451 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/1.408, allocations: 335.2 kB / 1.451 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/1.408, allocations: 66.86 kB / 1.451 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/1.413, allocations: 2.908 MB / 1.454 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/1.414, allocations: 1.265 MB / 1.455 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004646/1.414, allocations: 130.3 kB / 1.455 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/1.415, allocations: 0.5602 MB / 1.456 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/1.415, allocations: 0 / 1.456 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06255/1.478, allocations: 29.31 MB / 1.485 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.478, allocations: 255.8 kB / 1.485 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/4.755, allocations: 3.875 kB / 1.485 GB, free: 8.062 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)