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.001131/0.001131, allocations: 108.3 kB / 16.38 MB, free: 6.477 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.001202/0.001202, allocations: 186.7 kB / 17.31 MB, free: 5.812 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.338/1.338, 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001486/0.001486, allocations: 68.23 kB / 0.673 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2108, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002713/0.2136, allocations: 1.423 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3464/0.56, allocations: 3.054 MB / 0.7892 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.5601, allocations: 0.75 kB / 0.7892 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.5604, allocations: 16.12 kB / 0.7892 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.5606, allocations: 29.39 kB / 0.7893 GB, free: 46.68 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.002747/0.5633, allocations: 0.994 MB / 0.7902 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.5635, allocations: 81.39 kB / 0.7903 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.5635, allocations: 8.484 kB / 0.7903 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.5636, allocations: 39.89 kB / 0.7903 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.5638, allocations: 160 kB / 0.7905 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.5639, allocations: 15.69 kB / 0.7905 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.5657, allocations: 1.382 MB / 0.7919 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005561/0.5663, allocations: 0.6849 MB / 0.7925 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.5666, allocations: 447.8 kB / 0.793 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.5685, allocations: 1.787 MB / 0.7947 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5686, allocations: 0 / 0.7947 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5686, allocations: 0 / 0.7947 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5686, allocations: 0 / 0.7947 GB, free: 45.99 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.01096/0.5796, allocations: 1.702 MB / 0.7964 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5796, allocations: 7.531 kB / 0.7964 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.58, allocations: 144.9 kB / 0.7965 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.5805, allocations: 0.5166 MB / 0.797 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.5805, allocations: 5.688 kB / 0.797 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.5806, allocations: 8.906 kB / 0.797 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.581, allocations: 397.4 kB / 0.7974 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.581, allocations: 0 / 0.7974 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.581, allocations: 0.6562 kB / 0.7974 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.581, allocations: 2.406 kB / 0.7974 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.5815, allocations: 433 kB / 0.7978 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.5822, allocations: 0.8055 MB / 0.7986 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.5828, allocations: 0.564 MB / 0.7992 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.5832, allocations: 335 kB / 0.7995 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008379/0.5841, allocations: 1.025 MB / 0.8005 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.5846, allocations: 411 kB / 0.8009 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 3.306e-06/0.5846, allocations: 0.7188 kB / 0.8009 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001819/0.5864, allocations: 1.345 MB / 0.8022 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.5864, allocations: 82.89 kB / 0.8023 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.5886, allocations: 1.847 MB / 0.8041 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.5887, allocations: 27.95 kB / 0.8041 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.589, allocations: 481 kB / 0.8046 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.5891, allocations: 21.78 kB / 0.8046 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.5894, allocations: 349.9 kB / 0.8049 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.5895, allocations: 305.2 kB / 0.8052 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.5909, allocations: 1.512 MB / 0.8067 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.5923, allocations: 1.64 MB / 0.8083 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00728/0.5996, allocations: 3.695 MB / 0.8119 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.5996, allocations: 5.859 kB / 0.8119 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0046/0.6042, allocations: 4.314 MB / 0.8161 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6043, allocations: 9.844 kB / 0.8161 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.6043, allocations: 1.812 kB / 0.8161 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.6043, allocations: 1.406 kB / 0.8161 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.6045, allocations: 18.62 kB / 0.8161 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.6045, allocations: 2.016 kB / 0.8161 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.6052, allocations: 237 kB / 0.8164 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.6053, allocations: 23.59 kB / 0.8164 GB, free: 36.89 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.0004887/0.6058, allocations: 362.9 kB / 0.8167 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.6059, allocations: 125.4 kB / 0.8169 GB, free: 36.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.6062, allocations: 145.7 kB / 0.817 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.6062, allocations: 4.688 kB / 0.817 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6062, allocations: 1.828 kB / 0.817 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.6064, allocations: 198.4 kB / 0.8172 GB, free: 36.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.362e-05/0.6065, allocations: 2.312 kB / 0.8172 GB, free: 36.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.6067, allocations: 9.531 kB / 0.8172 GB, free: 36.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.6067, allocations: 6.609 kB / 0.8172 GB, free: 36.43 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001079/0.6078, allocations: 1.07 MB / 0.8183 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001067/0.6089, allocations: 1.267 MB / 0.8195 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003711/0.6093, allocations: 338.5 kB / 0.8198 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001577/0.6109, allocations: 1.107 MB / 0.8209 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of Backend: time 6.82e-07/0.6109, allocations: 0 / 0.8209 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00424/0.6151, allocations: 2.781 MB / 0.8236 GB, free: 34.36 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003171/0.6183, allocations: 2.55 MB / 0.8261 GB, free: 33.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.02659/0.6449, allocations: 10.48 MB / 0.8363 GB, free: 31.78 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)