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.001191/0.001191, allocations: 112.2 kB / 16.37 MB, free: 6 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.001076/0.001076, allocations: 191.9 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.572/1.572, 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.823/1.823, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.00205/0.00205, allocations: 71.89 kB / 0.673 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2694, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002607/0.272, allocations: 1.418 MB / 0.7862 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5048/0.7768, allocations: 3.057 MB / 0.7892 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.777, allocations: 2.781 kB / 0.7892 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.7772, allocations: 10.88 kB / 0.7892 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.7775, allocations: 27.75 kB / 0.7892 GB, free: 46.43 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.003017/0.7805, allocations: 0.9901 MB / 0.7902 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.7807, allocations: 86.59 kB / 0.7903 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.7807, allocations: 5.25 kB / 0.7903 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.521e-05/0.7808, allocations: 41.66 kB / 0.7903 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.781, allocations: 146.7 kB / 0.7905 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.7811, allocations: 12.28 kB / 0.7905 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.7834, allocations: 1.383 MB / 0.7918 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.7836, allocations: 269.8 kB / 0.7921 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.7839, allocations: 273 kB / 0.7924 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.7861, allocations: 1.485 MB / 0.7938 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7861, allocations: 0 / 0.7938 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7861, allocations: 0 / 0.7938 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.7861, allocations: 0 / 0.7938 GB, free: 45.96 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.01023/0.7964, allocations: 1.21 MB / 0.795 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.7964, allocations: 10.44 kB / 0.795 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.7968, allocations: 83.47 kB / 0.7951 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.7972, allocations: 359.5 kB / 0.7954 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.7972, allocations: 7.219 kB / 0.7954 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.7973, allocations: 9.234 kB / 0.7954 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.7977, allocations: 395.7 kB / 0.7958 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.7977, allocations: 3.938 kB / 0.7958 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7977, allocations: 1.969 kB / 0.7958 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7978, allocations: 0 / 0.7958 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.7982, allocations: 432.7 kB / 0.7962 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.7988, allocations: 0.6317 MB / 0.7968 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.7994, allocations: 0.5615 MB / 0.7974 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.7997, allocations: 337.6 kB / 0.7977 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/0.8007, allocations: 1.027 MB / 0.7987 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.8011, allocations: 413 kB / 0.7991 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.8011, allocations: 0.5938 kB / 0.7991 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001841/0.803, allocations: 1.29 MB / 0.8004 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.803, allocations: 84.7 kB / 0.8005 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.8047, allocations: 1.2 MB / 0.8016 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.8048, allocations: 35.06 kB / 0.8017 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.805, allocations: 259.6 kB / 0.8019 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.8051, allocations: 28.33 kB / 0.8019 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005094/0.8056, allocations: 349.1 kB / 0.8023 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.8057, allocations: 309.5 kB / 0.8026 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.8074, allocations: 1.365 MB / 0.8039 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.8091, allocations: 1.494 MB / 0.8054 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007335/0.8165, allocations: 3.539 MB / 0.8088 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.8165, allocations: 0.75 kB / 0.8088 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00606/0.8226, allocations: 3.964 MB / 0.8127 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.8227, allocations: 9.031 kB / 0.8127 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.8227, allocations: 1.922 kB / 0.8127 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.8227, allocations: 1.188 kB / 0.8127 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.8229, allocations: 18.72 kB / 0.8127 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.8229, allocations: 5.516 kB / 0.8127 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.8237, allocations: 229.2 kB / 0.8129 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.8238, allocations: 29.61 kB / 0.813 GB, free: 37.91 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.0003979/0.8242, allocations: 236.1 kB / 0.8132 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.8243, allocations: 68.03 kB / 0.8133 GB, free: 37.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.8246, allocations: 75.88 kB / 0.8133 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.8246, allocations: 5.094 kB / 0.8133 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8246, allocations: 1.094 kB / 0.8133 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8246, allocations: 3.172 kB / 0.8133 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.8253, allocations: 491.5 kB / 0.8138 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8254, allocations: 4.625 kB / 0.8138 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.8254, allocations: 9.938 kB / 0.8138 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.8255, allocations: 5 kB / 0.8138 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.8255, allocations: 4.25 kB / 0.8138 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.8255, allocations: 1.719 kB / 0.8138 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8255, allocations: 1.219 kB / 0.8138 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.8268, allocations: 1 MB / 0.8148 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.8269, allocations: 154 kB / 0.815 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.827, allocations: 7.141 kB / 0.815 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.8271, allocations: 4.828 kB / 0.815 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.8272, allocations: 9.516 kB / 0.815 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.8272, allocations: 12.06 kB / 0.815 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001054/0.8283, allocations: 0.667 MB / 0.8156 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8283, allocations: 3.938 kB / 0.8156 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001525/0.8298, allocations: 397.6 kB / 0.816 GB, free: 36.81 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.001345/0.8312, allocations: 486 kB / 0.8165 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003117/0.8343, allocations: 2.496 MB / 0.8189 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8344, allocations: 1.438 kB / 0.8189 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.8349, allocations: 342.5 kB / 0.8192 GB, free: 35.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.8354, allocations: 32.47 kB / 0.8193 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.8388, allocations: 1.783 MB / 0.821 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.8394, allocations: 0.9615 MB / 0.822 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.8396, allocations: 25.23 kB / 0.822 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.8396, allocations: 3.938 kB / 0.822 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.02572/0.8653, allocations: 10.54 MB / 0.8323 GB, free: 32.94 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)