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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, 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.002103/0.002103, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.378/1.378, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.726/1.726, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001401/0.001401, allocations: 75.39 kB / 0.6723 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2211, allocations: 114.6 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002422/0.2236, allocations: 1.411 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004259/0.2278, allocations: 3.067 MB / 0.7885 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.2279, allocations: 0 / 0.7885 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.557e-05/0.228, allocations: 7.922 kB / 0.7886 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.2282, allocations: 35.78 kB / 0.7886 GB, free: 8.168 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.002055/0.2303, allocations: 0.9893 MB / 0.7896 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2304, allocations: 83.73 kB / 0.7896 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.2305, allocations: 4 kB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.2305, allocations: 39.84 kB / 0.7897 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2307, allocations: 157.6 kB / 0.7898 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.2308, allocations: 12 kB / 0.7898 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.2326, allocations: 1.396 MB / 0.7912 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006736/0.2332, allocations: 0.6797 MB / 0.7919 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.2336, allocations: 449 kB / 0.7923 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.2352, allocations: 1.791 MB / 0.794 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2353, allocations: 0 / 0.794 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2353, allocations: 0 / 0.794 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2353, allocations: 0 / 0.794 GB, free: 2.562 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.01014/0.2454, allocations: 1.69 MB / 0.7957 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2455, allocations: 8.031 kB / 0.7957 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.2458, allocations: 146.9 kB / 0.7958 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.2464, allocations: 0.5211 MB / 0.7963 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2464, allocations: 4.375 kB / 0.7964 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.2464, allocations: 20.28 kB / 0.7964 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.2468, allocations: 387.5 kB / 0.7967 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2469, allocations: 0 / 0.7967 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2469, allocations: 0 / 0.7967 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2469, allocations: 4 kB / 0.7967 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.2473, allocations: 439.7 kB / 0.7972 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.248, allocations: 0.8035 MB / 0.7979 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.2485, allocations: 0.5633 MB / 0.7985 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2488, allocations: 337.7 kB / 0.7988 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009636/0.2498, allocations: 1.028 MB / 0.7998 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.2502, allocations: 412.8 kB / 0.8002 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.2502, allocations: 0 / 0.8002 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.00128/0.2515, allocations: 1.347 MB / 0.8015 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2515, allocations: 89.09 kB / 0.8016 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.2533, allocations: 1.843 MB / 0.8034 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2533, allocations: 29.7 kB / 0.8034 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.2537, allocations: 477.3 kB / 0.8039 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.2537, allocations: 23.7 kB / 0.8039 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.254, allocations: 351.5 kB / 0.8043 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.2541, allocations: 301.1 kB / 0.8045 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.2554, allocations: 1.506 MB / 0.806 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.2568, allocations: 1.653 MB / 0.8076 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/0.2639, allocations: 3.686 MB / 0.8112 GB, free: 296 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2639, allocations: 0 / 0.8112 GB, free: 296 kB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004554/0.2685, allocations: 4.335 MB / 0.8155 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.2685, allocations: 8 kB / 0.8155 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.2685, allocations: 0 / 0.8155 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2685, allocations: 0 / 0.8155 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2687, allocations: 15.98 kB / 0.8155 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2687, allocations: 4 kB / 0.8155 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.2693, allocations: 228.3 kB / 0.8157 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.2693, allocations: 23.98 kB / 0.8157 GB, free: 11.64 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.0004852/0.2698, allocations: 369.5 kB / 0.8161 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2699, allocations: 126 kB / 0.8162 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.2703, allocations: 145.1 kB / 0.8163 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2703, allocations: 0 / 0.8163 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2703, allocations: 0 / 0.8163 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2703, allocations: 4 kB / 0.8163 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.2709, allocations: 0.6716 MB / 0.817 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2709, allocations: 8.031 kB / 0.817 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.271, allocations: 7.938 kB / 0.817 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.271, allocations: 0 / 0.817 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.271, allocations: 7.984 kB / 0.817 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.271, allocations: 3.938 kB / 0.817 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2711, allocations: 0 / 0.817 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2721, allocations: 1.059 MB / 0.8181 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.2723, allocations: 203 kB / 0.8183 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.2724, allocations: 7.938 kB / 0.8183 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.2726, allocations: 4 kB / 0.8183 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2727, allocations: 3.984 kB / 0.8183 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.2727, allocations: 11.98 kB / 0.8183 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001167/0.2739, allocations: 1.108 MB / 0.8194 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2739, allocations: 4 kB / 0.8194 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001094/0.275, allocations: 435.8 kB / 0.8198 GB, free: 7.34 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.001183/0.2762, allocations: 481.2 kB / 0.8202 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.2785, allocations: 2.648 MB / 0.8228 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2785, allocations: 0 / 0.8228 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.2789, allocations: 343.8 kB / 0.8232 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.2792, allocations: 61.02 kB / 0.8232 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.282, allocations: 2.568 MB / 0.8257 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.2827, allocations: 1.149 MB / 0.8268 GB, free: 24 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.2828, allocations: 36.59 kB / 0.8269 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.2829, allocations: 23.42 kB / 0.8269 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.2829, allocations: 0 / 0.8269 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.01757/0.3005, allocations: 10.1 MB / 0.8368 GB, free: 5.895 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)