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_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 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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001102/0.001102, allocations: 111.8 kB / 16.38 MB, free: 6.023 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.001267/0.001267, allocations: 192.4 kB / 17.31 MB, free: 5.617 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.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.00274/0.00274, allocations: 67.91 kB / 0.673 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2097, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002512/0.2122, allocations: 1.423 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3643/0.5766, allocations: 3.055 MB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.5767, allocations: 1.406 kB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.5769, allocations: 10.09 kB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.5771, allocations: 33.78 kB / 0.7893 GB, free: 46.53 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.002353/0.5795, allocations: 0.9993 MB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.5796, allocations: 82.67 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.5797, allocations: 7.312 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.5797, allocations: 38.5 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.5799, allocations: 143 kB / 0.7905 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.58, allocations: 13.12 kB / 0.7905 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.5818, allocations: 1.387 MB / 0.7919 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.582, allocations: 263.5 kB / 0.7921 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.5822, allocations: 273.2 kB / 0.7924 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.5837, allocations: 1.483 MB / 0.7938 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5837, allocations: 0 / 0.7938 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5837, allocations: 0 / 0.7938 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5837, allocations: 0 / 0.7938 GB, free: 46.06 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.01057/0.5943, allocations: 1.209 MB / 0.795 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5943, allocations: 11.06 kB / 0.795 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.5947, allocations: 86.98 kB / 0.7951 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.595, allocations: 362.6 kB / 0.7954 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.595, allocations: 8.141 kB / 0.7954 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.5951, allocations: 4.453 kB / 0.7955 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.5954, allocations: 394.6 kB / 0.7958 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.5955, allocations: 0 / 0.7958 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5955, allocations: 7.781 kB / 0.7958 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5955, allocations: 0 / 0.7958 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.5959, allocations: 433.8 kB / 0.7962 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.5964, allocations: 0.6325 MB / 0.7969 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.5968, allocations: 0.5595 MB / 0.7974 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.5971, allocations: 342.9 kB / 0.7977 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007581/0.5979, allocations: 1.025 MB / 0.7987 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/0.5983, allocations: 411.5 kB / 0.7991 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.5983, allocations: 1.312 kB / 0.7991 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001465/0.5998, allocations: 1.287 MB / 0.8004 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.5998, allocations: 87.34 kB / 0.8005 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.6011, allocations: 1.2 MB / 0.8016 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.6011, allocations: 32.03 kB / 0.8017 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6013, allocations: 255 kB / 0.8019 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.6013, allocations: 27.05 kB / 0.8019 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.6017, allocations: 351.6 kB / 0.8023 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.6017, allocations: 309.7 kB / 0.8026 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.603, allocations: 1.362 MB / 0.8039 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.6044, allocations: 1.491 MB / 0.8054 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006985/0.6114, allocations: 3.544 MB / 0.8088 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.6114, allocations: 1.438 kB / 0.8088 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003999/0.6154, allocations: 3.963 MB / 0.8127 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6155, allocations: 9.281 kB / 0.8127 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.6155, allocations: 1.859 kB / 0.8127 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.6155, allocations: 2.406 kB / 0.8127 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.6157, allocations: 23.67 kB / 0.8127 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6157, allocations: 3.781 kB / 0.8127 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.6162, allocations: 227.1 kB / 0.813 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.6163, allocations: 22.66 kB / 0.813 GB, free: 37.93 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.0002881/0.6166, allocations: 238.6 kB / 0.8132 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.6166, allocations: 67.81 kB / 0.8133 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.6169, allocations: 77.91 kB / 0.8133 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6169, allocations: 0.6094 kB / 0.8133 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6169, allocations: 1.734 kB / 0.8133 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.617, allocations: 153.2 kB / 0.8135 GB, free: 37.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.6171, allocations: 7.219 kB / 0.8135 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.6172, allocations: 8.094 kB / 0.8135 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.6173, allocations: 6.078 kB / 0.8135 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001269/0.6185, allocations: 1.069 MB / 0.8146 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001191/0.6197, allocations: 1.207 MB / 0.8157 GB, free: 37 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004235/0.6202, allocations: 344.1 kB / 0.8161 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008471/0.621, allocations: 0.6655 MB / 0.8167 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of Backend: time 9.52e-07/0.621, allocations: 0 / 0.8167 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003971/0.625, allocations: 2.629 MB / 0.8193 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001799/0.6268, allocations: 1.727 MB / 0.821 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.01954/0.6464, allocations: 9.896 MB / 0.8306 GB, free: 34.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)