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.001087/0.001087, allocations: 108.5 kB / 16.36 MB, free: 6.414 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.001002/0.001002, allocations: 193.7 kB / 17.3 MB, free: 5.789 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.402/1.402, 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.002679/0.002679, allocations: 67.89 kB / 0.673 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2177, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002397/0.2201, allocations: 1.414 MB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3214/0.5416, allocations: 3.053 MB / 0.7892 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.5416, allocations: 3.562 kB / 0.7892 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.5418, allocations: 11.41 kB / 0.7892 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.542, allocations: 32.97 kB / 0.7892 GB, free: 46.56 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.002133/0.5441, allocations: 0.991 MB / 0.7902 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.5443, allocations: 85.97 kB / 0.7903 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.5443, allocations: 4.578 kB / 0.7903 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.5444, allocations: 40.53 kB / 0.7903 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.5446, allocations: 143.7 kB / 0.7905 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.5446, allocations: 13.12 kB / 0.7905 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.5463, allocations: 1.381 MB / 0.7918 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.5464, allocations: 264.8 kB / 0.7921 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.5466, allocations: 273.5 kB / 0.7923 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.548, allocations: 1.486 MB / 0.7938 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.548, allocations: 2.969 kB / 0.7938 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.548, allocations: 0 / 0.7938 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.548, allocations: 0 / 0.7938 GB, free: 46.09 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.007616/0.5556, allocations: 1.207 MB / 0.795 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5557, allocations: 7.094 kB / 0.795 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.556, allocations: 88.89 kB / 0.7951 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.5564, allocations: 364.1 kB / 0.7954 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5564, allocations: 9 kB / 0.7954 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.5564, allocations: 12.05 kB / 0.7954 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.5568, allocations: 387.9 kB / 0.7958 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5568, allocations: 6.891 kB / 0.7958 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5569, allocations: 6.188 kB / 0.7958 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.5569, allocations: 0 / 0.7958 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.5572, allocations: 434.7 kB / 0.7962 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.5577, allocations: 0.6308 MB / 0.7968 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.5582, allocations: 0.5678 MB / 0.7974 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.5585, allocations: 333 kB / 0.7977 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007944/0.5593, allocations: 1.03 MB / 0.7987 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/0.5597, allocations: 410.2 kB / 0.7991 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.5598, allocations: 0.5938 kB / 0.7991 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001609/0.5614, allocations: 1.287 MB / 0.8004 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5614, allocations: 87.7 kB / 0.8004 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.5629, allocations: 1.204 MB / 0.8016 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.563, allocations: 29.8 kB / 0.8017 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5632, allocations: 256.6 kB / 0.8019 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.5633, allocations: 23.8 kB / 0.8019 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000488/0.5638, allocations: 347.5 kB / 0.8023 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.5638, allocations: 312.2 kB / 0.8025 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.5655, allocations: 1.362 MB / 0.8039 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.567, allocations: 1.49 MB / 0.8053 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006946/0.574, allocations: 3.544 MB / 0.8088 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.574, allocations: 0 / 0.8088 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004144/0.5781, allocations: 3.966 MB / 0.8127 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5782, allocations: 5.781 kB / 0.8127 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.5782, allocations: 1.859 kB / 0.8127 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.5782, allocations: 2.469 kB / 0.8127 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5784, allocations: 24.36 kB / 0.8127 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5784, allocations: 1.375 kB / 0.8127 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.5789, allocations: 230.7 kB / 0.8129 GB, free: 38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.579, allocations: 22.81 kB / 0.8129 GB, free: 38 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.0002877/0.5793, allocations: 238.2 kB / 0.8132 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.5793, allocations: 69.28 kB / 0.8132 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.5796, allocations: 74.06 kB / 0.8133 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5796, allocations: 6.188 kB / 0.8133 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5796, allocations: 4.031 kB / 0.8133 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5796, allocations: 3.766 kB / 0.8133 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.5801, allocations: 492.9 kB / 0.8138 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5801, allocations: 0.6562 kB / 0.8138 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.5802, allocations: 12.7 kB / 0.8138 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5802, allocations: 3.828 kB / 0.8138 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5802, allocations: 3.203 kB / 0.8138 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5802, allocations: 2.875 kB / 0.8138 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5802, allocations: 0 / 0.8138 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.5813, allocations: 1.005 MB / 0.8148 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.5814, allocations: 155 kB / 0.8149 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.5815, allocations: 2.984 kB / 0.8149 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5816, allocations: 5.266 kB / 0.815 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.5817, allocations: 9.453 kB / 0.815 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.5817, allocations: 16.34 kB / 0.815 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008111/0.5825, allocations: 0.6635 MB / 0.8156 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5825, allocations: 0 / 0.8156 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001441/0.584, allocations: 397.8 kB / 0.816 GB, free: 36.9 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.001226/0.5852, allocations: 489.5 kB / 0.8165 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002611/0.5878, allocations: 2.494 MB / 0.8189 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5879, allocations: 0 / 0.8189 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.5883, allocations: 337.6 kB / 0.8192 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.5887, allocations: 44.66 kB / 0.8193 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.591, allocations: 1.735 MB / 0.821 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.5915, allocations: 0.969 MB / 0.8219 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.5917, allocations: 35.7 kB / 0.8219 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.5918, allocations: 23.31 kB / 0.822 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of SimCode: time 1.362e-06/0.5919, allocations: 3 kB / 0.822 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.02181/0.6137, allocations: 9.545 MB / 0.8313 GB, free: 33.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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)