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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 110.6 kB / 16.37 MB, free: 6.312 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.001211/0.001211, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001489/0.00149, allocations: 71.89 kB / 0.673 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2417, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003106/0.2449, allocations: 1.734 MB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3614/0.6063, allocations: 4.255 MB / 0.7907 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.6065, allocations: 0 / 0.7907 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.6076, allocations: 369 kB / 0.791 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.6077, allocations: 55.34 kB / 0.7911 GB, free: 46.31 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.002032/0.6097, allocations: 0.9862 MB / 0.7921 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.61, allocations: 161.6 kB / 0.7922 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.61, allocations: 13.36 kB / 0.7922 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.6101, allocations: 56.06 kB / 0.7923 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.6103, allocations: 163.5 kB / 0.7924 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.6103, allocations: 15.12 kB / 0.7924 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.6119, allocations: 1.378 MB / 0.7938 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.612, allocations: 282.9 kB / 0.7941 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.6122, allocations: 302.6 kB / 0.7943 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.6137, allocations: 1.546 MB / 0.7959 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6138, allocations: 0.625 kB / 0.7959 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6138, allocations: 0 / 0.7959 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.6138, allocations: 0.9375 kB / 0.7959 GB, free: 45.6 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.01058/0.6244, allocations: 1.277 MB / 0.7971 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6244, allocations: 9.375 kB / 0.7971 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.6248, allocations: 94.98 kB / 0.7972 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.6253, allocations: 410.7 kB / 0.7976 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6253, allocations: 5.672 kB / 0.7976 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.6254, allocations: 5.531 kB / 0.7976 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.6258, allocations: 396.8 kB / 0.798 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6258, allocations: 7.344 kB / 0.798 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6259, allocations: 1.688 kB / 0.798 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.6259, allocations: 2.406 kB / 0.798 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.6263, allocations: 434.1 kB / 0.7984 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.627, allocations: 0.6537 MB / 0.7991 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.6276, allocations: 0.5619 MB / 0.7996 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.628, allocations: 341.5 kB / 0.7999 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008191/0.6288, allocations: 1.023 MB / 0.8009 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.6293, allocations: 411.6 kB / 0.8013 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/0.6293, allocations: 1.594 kB / 0.8013 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001898/0.6312, allocations: 1.299 MB / 0.8026 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.6313, allocations: 83.73 kB / 0.8027 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.6327, allocations: 1.275 MB / 0.8039 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.6328, allocations: 31.25 kB / 0.8039 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.633, allocations: 282.8 kB / 0.8042 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.633, allocations: 21.45 kB / 0.8042 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/0.6334, allocations: 354.1 kB / 0.8046 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.6335, allocations: 321.1 kB / 0.8049 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.6348, allocations: 1.358 MB / 0.8062 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.6363, allocations: 1.491 MB / 0.8077 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/0.6434, allocations: 3.543 MB / 0.8111 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6434, allocations: 1.625 kB / 0.8111 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004412/0.6478, allocations: 3.968 MB / 0.815 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6479, allocations: 10.2 kB / 0.815 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.6479, allocations: 0.9688 kB / 0.815 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6479, allocations: 2.312 kB / 0.815 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.6481, allocations: 25.95 kB / 0.815 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6481, allocations: 0 / 0.815 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.6486, allocations: 229.4 kB / 0.8152 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.6487, allocations: 22.62 kB / 0.8153 GB, free: 37.07 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.0003508/0.649, allocations: 246.5 kB / 0.8155 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.6491, allocations: 79.34 kB / 0.8156 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.6494, allocations: 88.59 kB / 0.8157 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6494, allocations: 1.156 kB / 0.8157 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6494, allocations: 4.891 kB / 0.8157 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.6495, allocations: 155.7 kB / 0.8158 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.6496, allocations: 4.375 kB / 0.8158 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.6498, allocations: 3.641 kB / 0.8158 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.6498, allocations: 9.891 kB / 0.8158 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001301/0.6511, allocations: 1.07 MB / 0.8169 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001409/0.6526, allocations: 1.21 MB / 0.8181 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004374/0.653, allocations: 347.1 kB / 0.8184 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009204/0.6539, allocations: 0.7166 MB / 0.8191 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of Backend: time 6.91e-07/0.6539, allocations: 0 / 0.8191 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003851/0.6578, allocations: 2.637 MB / 0.8217 GB, free: 34.69 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00202/0.6598, allocations: 1.849 MB / 0.8235 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.02038/0.6802, allocations: 10.53 MB / 0.8338 GB, free: 32.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)