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.001081/0.001081, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 185.9 kB / 16.64 MB, free: 6.594 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.353/1.353, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.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.729/1.729, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001409/0.001409, allocations: 69.34 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2002, allocations: 114.6 MB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002406/0.2026, allocations: 1.414 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004312/0.207, allocations: 3.064 MB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.207, allocations: 0 / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2072, allocations: 7.922 kB / 0.7886 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.2074, allocations: 35.78 kB / 0.7886 GB, free: 8.152 MB / 0.6075 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.002213/0.2096, allocations: 0.997 MB / 0.7896 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2097, allocations: 83.73 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.2098, allocations: 4 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.2099, allocations: 39.84 kB / 0.7897 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.2101, allocations: 143.6 kB / 0.7898 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.2101, allocations: 12 kB / 0.7898 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.212, allocations: 1.392 MB / 0.7912 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.2122, allocations: 263.9 kB / 0.7914 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.2124, allocations: 274.3 kB / 0.7917 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.2139, allocations: 1.469 MB / 0.7931 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2139, allocations: 8 kB / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2139, allocations: 0 / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.2139, allocations: 3.984 kB / 0.7931 GB, free: 3.465 MB / 0.6075 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.009526/0.2235, allocations: 1.207 MB / 0.7943 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2235, allocations: 12.03 kB / 0.7943 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.2239, allocations: 87.69 kB / 0.7944 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.2242, allocations: 356.9 kB / 0.7948 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2243, allocations: 4.375 kB / 0.7948 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.2243, allocations: 8.375 kB / 0.7948 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.2247, allocations: 395.4 kB / 0.7952 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2247, allocations: 4 kB / 0.7952 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2248, allocations: 0 / 0.7952 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2248, allocations: 0 / 0.7952 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.2252, allocations: 435.7 kB / 0.7956 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.2258, allocations: 0.6325 MB / 0.7962 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2263, allocations: 0.5594 MB / 0.7967 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.2266, allocations: 345.6 kB / 0.7971 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.2276, allocations: 1.028 MB / 0.7981 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.228, allocations: 408.8 kB / 0.7985 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.228, allocations: 0 / 0.7985 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001266/0.2293, allocations: 1.293 MB / 0.7997 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.2294, allocations: 89.17 kB / 0.7998 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.2304, allocations: 1.198 MB / 0.801 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.2305, allocations: 37.69 kB / 0.801 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2307, allocations: 261.4 kB / 0.8013 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2307, allocations: 23.73 kB / 0.8013 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.231, allocations: 347.5 kB / 0.8016 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.2311, allocations: 306 kB / 0.8019 GB, free: 10 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.2323, allocations: 1.369 MB / 0.8032 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.2336, allocations: 1.486 MB / 0.8047 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007056/0.2406, allocations: 3.541 MB / 0.8082 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2407, allocations: 0 / 0.8082 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004118/0.2448, allocations: 3.973 MB / 0.812 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2448, allocations: 4 kB / 0.812 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.2448, allocations: 4 kB / 0.812 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2449, allocations: 0 / 0.812 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.245, allocations: 15.98 kB / 0.8121 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.245, allocations: 0 / 0.8121 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.2455, allocations: 228.4 kB / 0.8123 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.2456, allocations: 28.02 kB / 0.8123 GB, free: 15.21 MB / 0.6387 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.0002783/0.2458, allocations: 244.5 kB / 0.8125 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.2459, allocations: 66.72 kB / 0.8126 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.2462, allocations: 74.89 kB / 0.8127 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2462, allocations: 0 / 0.8127 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2462, allocations: 0 / 0.8127 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2462, allocations: 8.031 kB / 0.8127 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.2466, allocations: 0.4928 MB / 0.8132 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2466, allocations: 0 / 0.8132 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.2467, allocations: 15.92 kB / 0.8132 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2467, allocations: 0 / 0.8132 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2467, allocations: 4 kB / 0.8132 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2467, allocations: 0 / 0.8132 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2467, allocations: 3.938 kB / 0.8132 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.2477, allocations: 1.001 MB / 0.8142 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2478, allocations: 151.8 kB / 0.8143 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.2478, allocations: 4 kB / 0.8143 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.248, allocations: 11.92 kB / 0.8143 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.248, allocations: 3.938 kB / 0.8143 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.2481, allocations: 15.97 kB / 0.8143 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006626/0.2487, allocations: 0.6687 MB / 0.815 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2487, allocations: 4 kB / 0.815 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009322/0.2497, allocations: 391.9 kB / 0.8154 GB, free: 11.96 MB / 0.6387 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.001018/0.2507, allocations: 490.8 kB / 0.8158 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.2528, allocations: 2.488 MB / 0.8183 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2528, allocations: 0 / 0.8183 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.2531, allocations: 343.8 kB / 0.8186 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2534, allocations: 43.22 kB / 0.8186 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.2553, allocations: 1.741 MB / 0.8203 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.2558, allocations: 0.9679 MB / 0.8213 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.2559, allocations: 32.56 kB / 0.8213 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.256, allocations: 27.41 kB / 0.8213 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.256, allocations: 0 / 0.8213 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of Templates: time 0.01544/0.2715, allocations: 9.544 MB / 0.8307 GB, free: 12.25 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)