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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.557/2.557, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.205/4.205, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005239, allocations: 11.98 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329/1.329, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00192/1.331, allocations: 1.128 MB / 0.982 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007219/1.338, allocations: 3.853 MB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/1.339, allocations: 3.938 kB / 0.9858 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/1.339, allocations: 3.938 kB / 0.9858 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004278/1.339, allocations: 35.89 kB / 0.9858 GB, free: 1.238 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.004307/1.344, allocations: 1.082 MB / 0.9869 GB, free: 164 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/1.344, allocations: 59.86 kB / 0.9869 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/1.344, allocations: 4 kB / 0.9869 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/1.344, allocations: 39.89 kB / 0.987 GB, free: 60 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/1.344, allocations: 151.8 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/1.344, allocations: 12 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003992/1.348, allocations: 1.864 MB / 0.9889 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008886/1.349, allocations: 0.6664 MB / 0.9896 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/1.349, allocations: 204.8 kB / 0.9898 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00363/1.353, allocations: 1.674 MB / 0.9914 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.353, allocations: 0 / 0.9914 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.715e-06/1.353, allocations: 4 kB / 0.9914 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.614e-05/1.353, allocations: 0 / 0.9914 GB, free: 11.48 MB / 0.7481 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.01268/1.366, allocations: 1.867 MB / 0.9932 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/1.366, allocations: 11.98 kB / 0.9933 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.466e-05/1.366, allocations: 42.55 kB / 0.9933 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/1.367, allocations: 157.6 kB / 0.9935 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.368, allocations: 0.5494 MB / 0.994 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/1.368, allocations: 7.984 kB / 0.994 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/1.368, allocations: 8 kB / 0.994 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/1.369, allocations: 387.1 kB / 0.9944 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.369, allocations: 0 / 0.9944 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/1.369, allocations: 11.98 kB / 0.9944 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.369, allocations: 0 / 0.9944 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/1.37, allocations: 439.7 kB / 0.9948 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/1.371, allocations: 0.9219 MB / 0.9957 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/1.372, allocations: 0.5594 MB / 0.9962 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/1.374, allocations: 1.044 MB / 0.9973 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/1.375, allocations: 396.9 kB / 0.9976 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 3.547e-06/1.375, allocations: 4 kB / 0.9977 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.002603/1.377, allocations: 1.362 MB / 0.999 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/1.377, allocations: 89.09 kB / 0.9991 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.381, allocations: 2.204 MB / 1.001 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/1.381, allocations: 29.7 kB / 1.001 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007555/1.382, allocations: 0.5329 MB / 1.002 GB, free: 360 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/1.382, allocations: 15.81 kB / 1.002 GB, free: 344 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/1.382, allocations: 3.984 kB / 1.002 GB, free: 340 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0004531/1.383, allocations: 444.9 kB / 1.002 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/1.386, allocations: 2.053 MB / 1.004 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/1.389, allocations: 2.238 MB / 1.006 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/1.394, allocations: 2.992 MB / 1.009 GB, free: 8.547 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.394, allocations: 3.938 kB / 1.009 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.0127/1.406, allocations: 6.2 MB / 1.015 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/1.407, allocations: 4 kB / 1.015 GB, free: 2.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-05/1.407, allocations: 7.938 kB / 1.015 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/1.407, allocations: 7.891 kB / 1.015 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.407, allocations: 15.98 kB / 1.015 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/1.407, allocations: 8.031 kB / 1.015 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.409, allocations: 303.1 kB / 1.016 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/1.409, allocations: 19.98 kB / 1.016 GB, free: 1.871 MB / 0.7637 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * 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.001264/1.41, allocations: 470.7 kB / 1.016 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/1.41, allocations: 145.6 kB / 1.016 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007749/1.411, allocations: 148 kB / 1.016 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.411, allocations: 0 / 1.016 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/1.411, allocations: 7.953 kB / 1.016 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/1.411, allocations: 0 / 1.016 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/1.413, allocations: 0.7633 MB / 1.017 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.413, allocations: 8 kB / 1.017 GB, free: 276 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/1.413, allocations: 7.984 kB / 1.017 GB, free: 268 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/1.413, allocations: 4.031 kB / 1.017 GB, free: 264 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/1.413, allocations: 4 kB / 1.017 GB, free: 260 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/1.413, allocations: 3.984 kB / 1.017 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.413, allocations: 0 / 1.017 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/1.415, allocations: 1.104 MB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/1.416, allocations: 218.7 kB / 1.019 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.416, allocations: 3.984 kB / 1.019 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/1.416, allocations: 4 kB / 1.019 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/1.417, allocations: 11.94 kB / 1.019 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/1.417, allocations: 15.98 kB / 1.019 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003424/1.42, allocations: 1.29 MB / 1.02 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.12e-07/1.42, allocations: 0 / 1.02 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00334/1.423, allocations: 0.6247 MB / 1.02 GB, free: 12.91 MB / 0.7794 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) * Number of clocked states: 0 () * 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.006582/1.43, allocations: 2.294 MB / 1.023 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00671/1.437, allocations: 3.556 MB / 1.026 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.437, allocations: 0 / 1.026 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/1.438, allocations: 335.8 kB / 1.026 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/1.439, allocations: 67.73 kB / 1.027 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.45, allocations: 4.065 MB / 1.03 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/1.451, allocations: 1.262 MB / 1.032 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004531/1.452, allocations: 36.55 kB / 1.032 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/1.453, allocations: 0.5188 MB / 1.032 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of SimCode: time 2.265e-06/1.453, allocations: 0 / 1.032 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.553, allocations: 28.2 MB / 1.06 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004095/1.553, allocations: 301.4 kB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.34/6.893, allocations: 0 / 1.06 GB, free: 4.32 MB / 0.8106 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) Environment - environmentSimulation: