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.001252/0.001252, allocations: 104.4 kB / 16.27 MB, free: 6.363 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.001295/0.001295, allocations: 192.7 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.744/1.744, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001413/0.001413, allocations: 71.89 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.229, allocations: 114.5 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003393/0.2325, allocations: 1.731 MB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4029/0.6354, allocations: 4.261 MB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.6356, allocations: 0.8438 kB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.6368, allocations: 372.2 kB / 0.7903 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.6369, allocations: 55.59 kB / 0.7903 GB, free: 45.81 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.002598/0.6395, allocations: 0.9898 MB / 0.7913 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.6397, allocations: 152.6 kB / 0.7914 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.6398, allocations: 9 kB / 0.7914 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.6399, allocations: 54.09 kB / 0.7915 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.6401, allocations: 165.2 kB / 0.7917 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.6401, allocations: 15.94 kB / 0.7917 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.6422, allocations: 1.368 MB / 0.793 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.6424, allocations: 273.4 kB / 0.7933 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.6426, allocations: 309.2 kB / 0.7936 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.6445, allocations: 1.54 MB / 0.7951 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6445, allocations: 4.281 kB / 0.7951 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6445, allocations: 2 kB / 0.7951 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.6445, allocations: 1.719 kB / 0.7951 GB, free: 45.29 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.009849/0.6544, allocations: 1.273 MB / 0.7963 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6545, allocations: 6.969 kB / 0.7963 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.6549, allocations: 94.55 kB / 0.7964 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.6553, allocations: 402.6 kB / 0.7968 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.6553, allocations: 3.422 kB / 0.7968 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.6554, allocations: 10.5 kB / 0.7968 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.6558, allocations: 389.9 kB / 0.7972 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6558, allocations: 3.938 kB / 0.7972 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.6558, allocations: 0 / 0.7972 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6559, allocations: 4.391 kB / 0.7972 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.6562, allocations: 439.1 kB / 0.7976 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.6569, allocations: 0.6575 MB / 0.7982 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/0.6575, allocations: 0.5612 MB / 0.7988 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.6579, allocations: 335 kB / 0.7991 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009797/0.6589, allocations: 1.035 MB / 0.8001 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.6594, allocations: 405.9 kB / 0.8005 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.6594, allocations: 0 / 0.8005 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001793/0.6612, allocations: 1.303 MB / 0.8018 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.6612, allocations: 81.66 kB / 0.8019 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.6629, allocations: 1.281 MB / 0.8031 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.663, allocations: 27.53 kB / 0.8031 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.6632, allocations: 287.7 kB / 0.8034 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.6632, allocations: 22.14 kB / 0.8034 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/0.6636, allocations: 351.5 kB / 0.8038 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.6637, allocations: 317.8 kB / 0.8041 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.6651, allocations: 1.361 MB / 0.8054 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.6666, allocations: 1.495 MB / 0.8069 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007049/0.6737, allocations: 3.54 MB / 0.8103 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.6737, allocations: 2.344 kB / 0.8103 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004642/0.6784, allocations: 3.969 MB / 0.8142 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.6784, allocations: 9.344 kB / 0.8142 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.6785, allocations: 2.188 kB / 0.8142 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.6785, allocations: 6.031 kB / 0.8142 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.6786, allocations: 16.05 kB / 0.8142 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6787, allocations: 9.844 kB / 0.8142 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.6793, allocations: 231.4 kB / 0.8145 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.6794, allocations: 23.33 kB / 0.8145 GB, free: 36.98 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.0003907/0.6798, allocations: 247.1 kB / 0.8147 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.6799, allocations: 79.47 kB / 0.8148 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.6802, allocations: 83.5 kB / 0.8149 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6802, allocations: 1.031 kB / 0.8149 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6802, allocations: 2.438 kB / 0.8149 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6802, allocations: 0.6562 kB / 0.8149 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.6808, allocations: 0.5076 MB / 0.8154 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6808, allocations: 0 / 0.8154 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.6809, allocations: 10.72 kB / 0.8154 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6809, allocations: 5.219 kB / 0.8154 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.6809, allocations: 5.531 kB / 0.8154 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6809, allocations: 4.969 kB / 0.8154 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6809, allocations: 4.641 kB / 0.8154 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.682, allocations: 1.006 MB / 0.8164 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6822, allocations: 161 kB / 0.8165 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.6822, allocations: 3.031 kB / 0.8165 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.6824, allocations: 10.81 kB / 0.8166 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.6825, allocations: 9.609 kB / 0.8166 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.6825, allocations: 14.14 kB / 0.8166 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000871/0.6834, allocations: 0.7163 MB / 0.8173 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6834, allocations: 0 / 0.8173 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001289/0.6847, allocations: 407 kB / 0.8177 GB, free: 35.82 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.00128/0.686, allocations: 481.1 kB / 0.8181 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002524/0.6885, allocations: 2.501 MB / 0.8206 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6885, allocations: 0 / 0.8206 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.6889, allocations: 343.7 kB / 0.8209 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.6894, allocations: 56.88 kB / 0.8209 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.6919, allocations: 1.916 MB / 0.8228 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.6925, allocations: 0.9936 MB / 0.8238 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.6926, allocations: 32.11 kB / 0.8238 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.6926, allocations: 0 / 0.8238 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.02391/0.7165, allocations: 11.2 MB / 0.8348 GB, free: 31.67 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)