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.001349/0.001349, allocations: 104.2 kB / 16.29 MB, free: 6.43 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.001439/0.001439, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.339/1.339, 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.802/1.802, 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.001564/0.001564, allocations: 67.91 kB / 0.6722 GB, free: 6.461 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2288, allocations: 114.6 MB / 0.7841 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002738/0.2316, allocations: 1.406 MB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4039/0.6356, allocations: 3.063 MB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.6357, allocations: 3.438 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.6359, allocations: 7.312 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.6362, allocations: 31.75 kB / 0.7885 GB, free: 45.95 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.002804/0.639, allocations: 0.9913 MB / 0.7895 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.6391, allocations: 81.48 kB / 0.7896 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.6392, allocations: 5.25 kB / 0.7896 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.6392, allocations: 44.97 kB / 0.7896 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.6395, allocations: 157.5 kB / 0.7898 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.6395, allocations: 13.12 kB / 0.7898 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.6411, allocations: 1.39 MB / 0.7911 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.6417, allocations: 0.6848 MB / 0.7918 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.642, allocations: 442.7 kB / 0.7922 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.6436, allocations: 1.79 MB / 0.794 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6436, allocations: 1.656 kB / 0.794 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6436, allocations: 0 / 0.794 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.6436, allocations: 0 / 0.794 GB, free: 45.27 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.007816/0.6514, allocations: 1.69 MB / 0.7956 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6515, allocations: 15.06 kB / 0.7956 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.6518, allocations: 145.6 kB / 0.7958 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.6523, allocations: 0.5203 MB / 0.7963 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.6523, allocations: 3.719 kB / 0.7963 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.6524, allocations: 5.75 kB / 0.7963 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.6528, allocations: 390.3 kB / 0.7967 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6528, allocations: 8.375 kB / 0.7967 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.6528, allocations: 2.375 kB / 0.7967 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6528, allocations: 2.578 kB / 0.7967 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.6533, allocations: 443 kB / 0.7971 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.654, allocations: 0.7993 MB / 0.7979 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.6545, allocations: 0.569 MB / 0.7984 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.655, allocations: 334.5 kB / 0.7988 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009115/0.6559, allocations: 1.028 MB / 0.7998 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.6564, allocations: 407.7 kB / 0.8002 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.6564, allocations: 0 / 0.8002 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001866/0.6583, allocations: 1.346 MB / 0.8015 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.6583, allocations: 80.56 kB / 0.8015 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.6606, allocations: 1.842 MB / 0.8033 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.6606, allocations: 31.92 kB / 0.8034 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.661, allocations: 478.8 kB / 0.8038 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.661, allocations: 24 kB / 0.8039 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.6614, allocations: 348.4 kB / 0.8042 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.6615, allocations: 305.7 kB / 0.8045 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.663, allocations: 1.511 MB / 0.8059 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.6646, allocations: 1.644 MB / 0.8076 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/0.6719, allocations: 3.691 MB / 0.8112 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.672, allocations: 1.281 kB / 0.8112 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004724/0.6767, allocations: 4.315 MB / 0.8154 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6767, allocations: 10.69 kB / 0.8154 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.6768, allocations: 1.25 kB / 0.8154 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.6768, allocations: 1.75 kB / 0.8154 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.6769, allocations: 18.73 kB / 0.8154 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.6769, allocations: 5.438 kB / 0.8154 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/0.6776, allocations: 228.3 kB / 0.8156 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.6777, allocations: 26.64 kB / 0.8157 GB, free: 36.46 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.0005507/0.6783, allocations: 363.3 kB / 0.816 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.6784, allocations: 126.3 kB / 0.8161 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.6787, allocations: 150.8 kB / 0.8163 GB, free: 36.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6787, allocations: 4.938 kB / 0.8163 GB, free: 36.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6787, allocations: 2.594 kB / 0.8163 GB, free: 36.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6787, allocations: 0.6094 kB / 0.8163 GB, free: 36.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.6794, allocations: 0.6837 MB / 0.8169 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6795, allocations: 1.828 kB / 0.8169 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.6795, allocations: 8.828 kB / 0.817 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.6795, allocations: 5.438 kB / 0.817 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6796, allocations: 2.797 kB / 0.817 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6796, allocations: 5.953 kB / 0.817 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6796, allocations: 4.031 kB / 0.817 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.6807, allocations: 1.05 MB / 0.818 GB, free: 35.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.6808, allocations: 198.2 kB / 0.8182 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.6809, allocations: 8.719 kB / 0.8182 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.6811, allocations: 9.125 kB / 0.8182 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.6812, allocations: 4.375 kB / 0.8182 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.6812, allocations: 13.34 kB / 0.8182 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001305/0.6825, allocations: 1.106 MB / 0.8193 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6825, allocations: 1.938 kB / 0.8193 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001139/0.6837, allocations: 430.7 kB / 0.8197 GB, free: 35.06 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.001174/0.6849, allocations: 489.8 kB / 0.8202 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0025/0.6874, allocations: 2.646 MB / 0.8228 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6874, allocations: 1.219 kB / 0.8228 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.6878, allocations: 340.8 kB / 0.8231 GB, free: 33.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.6882, allocations: 49.3 kB / 0.8231 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.6914, allocations: 2.56 MB / 0.8256 GB, free: 33.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.6922, allocations: 1.156 MB / 0.8268 GB, free: 32.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.6923, allocations: 34.58 kB / 0.8268 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.6924, allocations: 25.56 kB / 0.8268 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.6924, allocations: 0 / 0.8268 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.02404/0.7165, allocations: 10.11 MB / 0.8367 GB, free: 30.98 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)