Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.008642/0.008642, allocations: 99.95 kB / 15.73 MB, free: 6.055 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.001828/0.001828, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.7 MB / 0.5094 GB, free: 356 kB / 430.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.001612/0.001612, allocations: 67.91 kB / 0.7259 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5598/0.5614, allocations: 104.7 MB / 0.8281 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002193/0.5637, allocations: 1.411 MB / 0.8295 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.568, allocations: 3.073 MB / 0.8325 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.5681, allocations: 0 / 0.8325 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.5682, allocations: 11.86 kB / 0.8325 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.5684, allocations: 27.84 kB / 0.8325 GB, free: 14.02 MB / 0.6387 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 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-281: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.002265/0.5707, allocations: 0.9966 MB / 0.8335 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.5708, allocations: 79.75 kB / 0.8336 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.5709, allocations: 7.938 kB / 0.8336 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.571, allocations: 43.83 kB / 0.8336 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.5712, allocations: 157.6 kB / 0.8338 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.5712, allocations: 12 kB / 0.8338 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.5731, allocations: 1.381 MB / 0.8351 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.5738, allocations: 0.6913 MB / 0.8358 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.5742, allocations: 440.9 kB / 0.8362 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.5762, allocations: 1.795 MB / 0.838 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5762, allocations: 0 / 0.838 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5762, allocations: 0 / 0.838 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.5762, allocations: 4 kB / 0.838 GB, free: 8.422 MB / 0.6387 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.00999/0.5862, allocations: 1.746 MB / 0.8397 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.5862, allocations: 15.95 kB / 0.8397 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.5866, allocations: 151.8 kB / 0.8399 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.5871, allocations: 0.5297 MB / 0.8404 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5872, allocations: 4.375 kB / 0.8404 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.5872, allocations: 12.36 kB / 0.8404 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.5876, allocations: 399.5 kB / 0.8408 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5877, allocations: 0 / 0.8408 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5877, allocations: 0 / 0.8408 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5877, allocations: 0 / 0.8408 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.5881, allocations: 439.7 kB / 0.8412 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.5888, allocations: 0.8118 MB / 0.842 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.5894, allocations: 0.5634 MB / 0.8425 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.5897, allocations: 333.6 kB / 0.8428 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009676/0.5906, allocations: 1.032 MB / 0.8439 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.591, allocations: 408.8 kB / 0.8442 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.591, allocations: 0 / 0.8442 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001309/0.5924, allocations: 1.348 MB / 0.8456 GB, free: 192 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5924, allocations: 81.11 kB / 0.8456 GB, free: 92 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.5942, allocations: 1.851 MB / 0.8474 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.5942, allocations: 29.7 kB / 0.8475 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.5946, allocations: 481.8 kB / 0.8479 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.5946, allocations: 27.97 kB / 0.848 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.5949, allocations: 347.5 kB / 0.8483 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.595, allocations: 305.1 kB / 0.8486 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5963, allocations: 1.514 MB / 0.8501 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.5978, allocations: 1.638 MB / 0.8517 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006981/0.6048, allocations: 3.694 MB / 0.8553 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6048, allocations: 4 kB / 0.8553 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004917/0.6097, allocations: 4.324 MB / 0.8595 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.6098, allocations: 11.98 kB / 0.8595 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.6098, allocations: 7.875 kB / 0.8595 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.6098, allocations: 8.031 kB / 0.8595 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.61, allocations: 16 kB / 0.8595 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.61, allocations: 7.922 kB / 0.8595 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.6106, allocations: 237.4 kB / 0.8598 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.6106, allocations: 23.98 kB / 0.8598 GB, free: 1.387 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.0004402/0.6111, allocations: 365.5 kB / 0.8601 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.6112, allocations: 126.9 kB / 0.8603 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.6115, allocations: 153 kB / 0.8604 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6115, allocations: 0 / 0.8604 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6116, allocations: 0 / 0.8604 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6116, allocations: 4 kB / 0.8604 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.6122, allocations: 0.6872 MB / 0.8611 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6122, allocations: 0 / 0.8611 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.6123, allocations: 7.938 kB / 0.8611 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6123, allocations: 0 / 0.8611 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.6123, allocations: 12.02 kB / 0.8611 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6123, allocations: 0 / 0.8611 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6123, allocations: 0 / 0.8611 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.6134, allocations: 1.052 MB / 0.8621 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.6136, allocations: 204 kB / 0.8623 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/0.6137, allocations: 15.92 kB / 0.8623 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.6139, allocations: 8 kB / 0.8623 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.6139, allocations: 3.984 kB / 0.8623 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.614, allocations: 11.98 kB / 0.8624 GB, free: 14.63 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001197/0.6152, allocations: 1.104 MB / 0.8634 GB, free: 13.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6152, allocations: 0 / 0.8634 GB, free: 13.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001063/0.6163, allocations: 443 kB / 0.8639 GB, free: 13.07 MB / 0.67 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.001121/0.6174, allocations: 491 kB / 0.8643 GB, free: 12.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.6197, allocations: 2.648 MB / 0.8669 GB, free: 9.918 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6197, allocations: 0 / 0.8669 GB, free: 9.918 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.6201, allocations: 343.7 kB / 0.8672 GB, free: 9.582 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.6205, allocations: 50.48 kB / 0.8673 GB, free: 9.527 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.6233, allocations: 2.604 MB / 0.8698 GB, free: 6.883 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.624, allocations: 1.157 MB / 0.871 GB, free: 5.695 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.6242, allocations: 36.48 kB / 0.871 GB, free: 5.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.6243, allocations: 23.42 kB / 0.871 GB, free: 5.637 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.6243, allocations: 0 / 0.871 GB, free: 5.637 MB / 0.67 GB Notification: Performance of Templates: time 0.01776/0.642, allocations: 10.1 MB / 0.8809 GB, free: 11.57 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)