Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001437, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.001553/0.001553, allocations: 194.7 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 68.28 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2201, allocations: 114.5 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002549/0.2227, allocations: 1.407 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3403/0.563, allocations: 3.065 MB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.5631, allocations: 2.625 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.5633, allocations: 13.97 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.5635, allocations: 28.92 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-295:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.5658, allocations: 0.9911 MB / 0.7902 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.5659, allocations: 85.16 kB / 0.7903 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.566, allocations: 5.062 kB / 0.7903 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.5661, allocations: 40.53 kB / 0.7903 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.5663, allocations: 159.8 kB / 0.7905 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.5663, allocations: 16.38 kB / 0.7905 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.568, allocations: 1.386 MB / 0.7918 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005473/0.5686, allocations: 0.6827 MB / 0.7925 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.5689, allocations: 441.7 kB / 0.7929 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.5705, allocations: 1.786 MB / 0.7947 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5705, allocations: 2.594 kB / 0.7947 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5705, allocations: 0 / 0.7947 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.5705, allocations: 0 / 0.7947 GB, free: 45.81 MB / 0.6544 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.008187/0.5787, allocations: 1.697 MB / 0.7963 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.5788, allocations: 8.5 kB / 0.7963 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.5791, allocations: 140.8 kB / 0.7965 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.5796, allocations: 0.5218 MB / 0.797 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5796, allocations: 8.766 kB / 0.797 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.5797, allocations: 9.875 kB / 0.797 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.58, allocations: 393.8 kB / 0.7974 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.5801, allocations: 0.5625 kB / 0.7974 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.5801, allocations: 1.266 kB / 0.7974 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5801, allocations: 3.125 kB / 0.7974 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.5805, allocations: 439.5 kB / 0.7978 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/0.5812, allocations: 0.8017 MB / 0.7986 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.5818, allocations: 0.5682 MB / 0.7991 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.5821, allocations: 341.1 kB / 0.7995 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008425/0.583, allocations: 1.023 MB / 0.8005 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.5835, allocations: 408.5 kB / 0.8008 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.5835, allocations: 1.188 kB / 0.8009 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001862/0.5853, allocations: 1.342 MB / 0.8022 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.5854, allocations: 84.11 kB / 0.8022 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.5876, allocations: 1.846 MB / 0.804 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.5876, allocations: 28.97 kB / 0.8041 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.588, allocations: 481.9 kB / 0.8045 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.588, allocations: 24.11 kB / 0.8046 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.5884, allocations: 347 kB / 0.8049 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.5885, allocations: 303.1 kB / 0.8052 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.59, allocations: 1.508 MB / 0.8066 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.5916, allocations: 1.648 MB / 0.8083 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/0.5987, allocations: 3.69 MB / 0.8119 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5988, allocations: 0 / 0.8119 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004653/0.6034, allocations: 4.325 MB / 0.8161 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6035, allocations: 6.859 kB / 0.8161 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.6035, allocations: 1.406 kB / 0.8161 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.6035, allocations: 1.438 kB / 0.8161 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.6037, allocations: 16.52 kB / 0.8161 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6037, allocations: 2.719 kB / 0.8161 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.6043, allocations: 230.1 kB / 0.8163 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.6044, allocations: 26.77 kB / 0.8164 GB, free: 36.78 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004893/0.6049, allocations: 370 kB / 0.8167 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.605, allocations: 123.8 kB / 0.8168 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.6053, allocations: 144.6 kB / 0.817 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.6053, allocations: 1.922 kB / 0.817 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6054, allocations: 1.344 kB / 0.817 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6054, allocations: 1.953 kB / 0.817 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.606, allocations: 0.6816 MB / 0.8176 GB, free: 36.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.606, allocations: 4.031 kB / 0.8176 GB, free: 36.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.6061, allocations: 13.05 kB / 0.8177 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6061, allocations: 1.344 kB / 0.8177 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.6061, allocations: 3.844 kB / 0.8177 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6061, allocations: 2.875 kB / 0.8177 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6061, allocations: 2.484 kB / 0.8177 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/0.6071, allocations: 1.06 MB / 0.8187 GB, free: 35.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.6072, allocations: 199 kB / 0.8189 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.6073, allocations: 3.156 kB / 0.8189 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.6076, allocations: 4.688 kB / 0.8189 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.6076, allocations: 6.156 kB / 0.8189 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.6076, allocations: 12.84 kB / 0.8189 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001239/0.6089, allocations: 1.111 MB / 0.82 GB, free: 35.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6089, allocations: 0 / 0.82 GB, free: 35.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001145/0.61, allocations: 431.5 kB / 0.8204 GB, free: 35.38 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/0.6112, allocations: 491.8 kB / 0.8209 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002593/0.6138, allocations: 2.644 MB / 0.8235 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6138, allocations: 1.062 kB / 0.8235 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.6142, allocations: 340.5 kB / 0.8238 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.6147, allocations: 56.59 kB / 0.8238 GB, free: 34.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.6178, allocations: 2.561 MB / 0.8263 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.6187, allocations: 1.151 MB / 0.8275 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000173/0.6188, allocations: 32.92 kB / 0.8275 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.6189, allocations: 25.52 kB / 0.8275 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.619, allocations: 0 / 0.8275 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.0192/0.6382, allocations: 10.12 MB / 0.8374 GB, free: 31.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)