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.001299/0.001299, allocations: 102.9 kB / 16.27 MB, free: 6.418 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.001427/0.001427, allocations: 191.8 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.472/1.472, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.757/1.757, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.00144/0.00144, allocations: 71.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 114.5 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002898/0.2523, allocations: 1.404 MB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3643/0.6167, allocations: 3.058 MB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.6168, allocations: 6.969 kB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.617, allocations: 5.531 kB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.6173, allocations: 35.42 kB / 0.7885 GB, free: 45.96 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.003084/0.6204, allocations: 0.9943 MB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.6206, allocations: 86.75 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.6206, allocations: 9.094 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.6207, allocations: 33.64 kB / 0.7896 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.621, allocations: 149.7 kB / 0.7897 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.621, allocations: 13.31 kB / 0.7897 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.6232, allocations: 1.375 MB / 0.7911 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.6234, allocations: 265 kB / 0.7913 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.6236, allocations: 274.8 kB / 0.7916 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.6259, allocations: 1.474 MB / 0.793 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6259, allocations: 0 / 0.793 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6259, allocations: 0.5938 kB / 0.793 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6259, allocations: 0 / 0.793 GB, free: 45.51 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.009918/0.6358, allocations: 1.204 MB / 0.7942 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6359, allocations: 6.844 kB / 0.7942 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.6363, allocations: 87.86 kB / 0.7943 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.6367, allocations: 364.8 kB / 0.7946 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.6367, allocations: 3.781 kB / 0.7946 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.6367, allocations: 4.312 kB / 0.7946 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.6371, allocations: 392.7 kB / 0.795 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6371, allocations: 5.906 kB / 0.795 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.6371, allocations: 0.6562 kB / 0.795 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6372, allocations: 7.438 kB / 0.795 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.6375, allocations: 434.6 kB / 0.7954 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.6381, allocations: 0.6326 MB / 0.7961 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.6386, allocations: 0.5678 MB / 0.7966 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.6389, allocations: 334.4 kB / 0.7969 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008745/0.6398, allocations: 1.03 MB / 0.7979 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.6402, allocations: 404.4 kB / 0.7983 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.6402, allocations: 0 / 0.7983 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.00151/0.6417, allocations: 1.286 MB / 0.7996 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.6418, allocations: 88.11 kB / 0.7997 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.6432, allocations: 1.205 MB / 0.8008 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.6432, allocations: 27.89 kB / 0.8009 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.6434, allocations: 260.6 kB / 0.8011 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.6434, allocations: 22.3 kB / 0.8011 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/0.6438, allocations: 350.3 kB / 0.8015 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.6439, allocations: 315.5 kB / 0.8018 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.6453, allocations: 1.359 MB / 0.8031 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.6468, allocations: 1.495 MB / 0.8046 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007441/0.6543, allocations: 3.535 MB / 0.808 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.6543, allocations: 0 / 0.808 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005088/0.6594, allocations: 3.967 MB / 0.8119 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.6595, allocations: 11.25 kB / 0.8119 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.6595, allocations: 4.266 kB / 0.8119 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.6596, allocations: 2.984 kB / 0.8119 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.6597, allocations: 19.78 kB / 0.8119 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.6598, allocations: 1.844 kB / 0.8119 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.6606, allocations: 232.2 kB / 0.8121 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/0.6607, allocations: 22.02 kB / 0.8122 GB, free: 37.57 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.000505/0.6612, allocations: 238.1 kB / 0.8124 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.6613, allocations: 69.06 kB / 0.8125 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.6616, allocations: 74.16 kB / 0.8125 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6617, allocations: 2.312 kB / 0.8125 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.6617, allocations: 4.641 kB / 0.8125 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6617, allocations: 5.766 kB / 0.8125 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.6624, allocations: 494.9 kB / 0.813 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6624, allocations: 0.7031 kB / 0.813 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.6625, allocations: 8.234 kB / 0.813 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6625, allocations: 3.938 kB / 0.813 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.6626, allocations: 11.41 kB / 0.813 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.6626, allocations: 1.797 kB / 0.813 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6626, allocations: 1.062 kB / 0.813 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.6639, allocations: 0.9989 MB / 0.814 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.6641, allocations: 153.5 kB / 0.8142 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.6641, allocations: 4.094 kB / 0.8142 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.6643, allocations: 4.875 kB / 0.8142 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.6643, allocations: 12.7 kB / 0.8142 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.6644, allocations: 17.03 kB / 0.8142 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000942/0.6654, allocations: 0.6694 MB / 0.8149 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6654, allocations: 0 / 0.8149 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001764/0.6671, allocations: 398 kB / 0.8152 GB, free: 36.47 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.001354/0.6685, allocations: 489.2 kB / 0.8157 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.6708, allocations: 2.494 MB / 0.8181 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6709, allocations: 2.562 kB / 0.8181 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.6712, allocations: 341.2 kB / 0.8185 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.6717, allocations: 33.44 kB / 0.8185 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.6738, allocations: 1.803 MB / 0.8203 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.6742, allocations: 0.9651 MB / 0.8212 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.6744, allocations: 26.39 kB / 0.8212 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.6744, allocations: 0 / 0.8212 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.02061/0.695, allocations: 10.54 MB / 0.8315 GB, free: 32.57 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)