Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005191/0.005191, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001146/0.001146, allocations: 192 kB / 16.67 MB, free: 5.973 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.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.00158/0.00158, allocations: 64.12 kB / 0.7258 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5321, allocations: 104.7 MB / 0.8281 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002284/0.5344, allocations: 1.396 MB / 0.8295 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.5385, allocations: 3.076 MB / 0.8325 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.5386, allocations: 3.938 kB / 0.8325 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.5387, allocations: 11.92 kB / 0.8325 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.5389, allocations: 31.78 kB / 0.8325 GB, free: 14 MB / 0.6387 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 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-281: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.002058/0.541, allocations: 0.9926 MB / 0.8335 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.5411, allocations: 79.73 kB / 0.8336 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.5411, allocations: 8 kB / 0.8336 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.5412, allocations: 47.83 kB / 0.8336 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.5414, allocations: 139.6 kB / 0.8338 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.5415, allocations: 15.94 kB / 0.8338 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.5433, allocations: 1.377 MB / 0.8351 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.5435, allocations: 263.8 kB / 0.8354 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.5437, allocations: 278.3 kB / 0.8356 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.5453, allocations: 1.48 MB / 0.8371 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5454, allocations: 7.938 kB / 0.8371 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5454, allocations: 0 / 0.8371 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.5454, allocations: 0 / 0.8371 GB, free: 9.328 MB / 0.6387 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.009921/0.5553, allocations: 1.243 MB / 0.8383 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5554, allocations: 12.03 kB / 0.8383 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.5557, allocations: 100.2 kB / 0.8384 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5561, allocations: 353 kB / 0.8388 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5561, allocations: 8.359 kB / 0.8388 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.5561, allocations: 8.375 kB / 0.8388 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.5565, allocations: 387.5 kB / 0.8391 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5566, allocations: 0 / 0.8391 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5566, allocations: 0 / 0.8391 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5566, allocations: 0 / 0.8391 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.557, allocations: 443.7 kB / 0.8396 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.5576, allocations: 0.637 MB / 0.8402 GB, free: 6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.5581, allocations: 0.5634 MB / 0.8407 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.5584, allocations: 337.6 kB / 0.8411 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.5594, allocations: 1.025 MB / 0.8421 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.5598, allocations: 412.8 kB / 0.8424 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 3.957e-06/0.5598, allocations: 0 / 0.8424 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001415/0.5612, allocations: 1.293 MB / 0.8437 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.5613, allocations: 85.05 kB / 0.8438 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.5624, allocations: 1.21 MB / 0.845 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.5624, allocations: 29.7 kB / 0.845 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5626, allocations: 266 kB / 0.8453 GB, free: 496 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.5627, allocations: 27.78 kB / 0.8453 GB, free: 468 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.563, allocations: 347.5 kB / 0.8456 GB, free: 116 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5631, allocations: 306 kB / 0.8459 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.5642, allocations: 1.365 MB / 0.8472 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.5655, allocations: 1.493 MB / 0.8487 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006755/0.5722, allocations: 3.541 MB / 0.8522 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5722, allocations: 0 / 0.8522 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003983/0.5762, allocations: 3.968 MB / 0.856 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5763, allocations: 8 kB / 0.856 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.5763, allocations: 7.969 kB / 0.856 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5763, allocations: 0 / 0.856 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5764, allocations: 19.92 kB / 0.8561 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5765, allocations: 7.938 kB / 0.8561 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.5769, allocations: 241.3 kB / 0.8563 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.577, allocations: 23.98 kB / 0.8563 GB, free: 5 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.0002531/0.5772, allocations: 233.7 kB / 0.8565 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.5773, allocations: 75.27 kB / 0.8566 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.5776, allocations: 78.84 kB / 0.8567 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5776, allocations: 0 / 0.8567 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5776, allocations: 4 kB / 0.8567 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5776, allocations: 3.984 kB / 0.8567 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.578, allocations: 0.4889 MB / 0.8572 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.578, allocations: 0 / 0.8572 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.5781, allocations: 11.92 kB / 0.8572 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5781, allocations: 8.031 kB / 0.8572 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5781, allocations: 0 / 0.8572 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5781, allocations: 0 / 0.8572 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5781, allocations: 7.984 kB / 0.8572 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.579, allocations: 1.002 MB / 0.8582 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5791, allocations: 160.4 kB / 0.8583 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.5792, allocations: 4 kB / 0.8583 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.5793, allocations: 7.984 kB / 0.8584 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.5794, allocations: 3.984 kB / 0.8584 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.5794, allocations: 11.98 kB / 0.8584 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006724/0.5801, allocations: 0.6687 MB / 0.859 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5801, allocations: 0 / 0.859 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009834/0.5811, allocations: 403 kB / 0.8594 GB, free: 1.73 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.001196/0.5823, allocations: 487 kB / 0.8599 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002404/0.5847, allocations: 2.495 MB / 0.8623 GB, free: 14.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5847, allocations: 0 / 0.8623 GB, free: 14.74 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.5851, allocations: 343.7 kB / 0.8626 GB, free: 14.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.5854, allocations: 40.94 kB / 0.8627 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.5875, allocations: 1.759 MB / 0.8644 GB, free: 12.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.588, allocations: 0.9639 MB / 0.8653 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.5881, allocations: 32.56 kB / 0.8654 GB, free: 11.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.5882, allocations: 35.34 kB / 0.8654 GB, free: 11.51 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.5883, allocations: 0 / 0.8654 GB, free: 11.51 MB / 0.67 GB Notification: Performance of Templates: time 0.01585/0.6041, allocations: 9.539 MB / 0.8747 GB, free: 2.008 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)