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.001087/0.001087, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.001464/0.001465, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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.512/1.512, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.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.0005198/0.0005199, allocations: 16 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4669, allocations: 106.3 MB / 0.7282 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001366/0.4683, allocations: 1.123 MB / 0.7293 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.4727, allocations: 2.852 MB / 0.7321 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.4728, allocations: 0 / 0.7321 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.4729, allocations: 7.922 kB / 0.7321 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.4732, allocations: 23.91 kB / 0.7321 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.4758, allocations: 0.7568 MB / 0.7328 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4759, allocations: 95.66 kB / 0.7329 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.476, allocations: 8 kB / 0.7329 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.476, allocations: 35.91 kB / 0.733 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.4763, allocations: 239.7 kB / 0.7332 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.4764, allocations: 19.94 kB / 0.7332 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.4783, allocations: 1.302 MB / 0.7345 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006328/0.479, allocations: 0.7015 MB / 0.7352 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.4791, allocations: 180.9 kB / 0.7353 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.4804, allocations: 1.179 MB / 0.7365 GB, free: 2.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4804, allocations: 7.938 kB / 0.7365 GB, free: 2.828 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4804, allocations: 0 / 0.7365 GB, free: 2.828 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4805, allocations: 4 kB / 0.7365 GB, free: 2.824 MB / 0.545 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.007229/0.4877, allocations: 1.601 MB / 0.7381 GB, free: 1.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4877, allocations: 8.031 kB / 0.7381 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.4881, allocations: 138 kB / 0.7382 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.4886, allocations: 0.4972 MB / 0.7387 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4887, allocations: 8 kB / 0.7387 GB, free: 456 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.4887, allocations: 4 kB / 0.7387 GB, free: 452 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.4891, allocations: 387.1 kB / 0.7391 GB, free: 52 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4892, allocations: 0 / 0.7391 GB, free: 52 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4892, allocations: 7.922 kB / 0.7391 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4892, allocations: 0 / 0.7391 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.4896, allocations: 435.8 kB / 0.7395 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.4904, allocations: 0.8112 MB / 0.7403 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.4909, allocations: 0.5594 MB / 0.7408 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.4912, allocations: 337.7 kB / 0.7412 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.4922, allocations: 1.036 MB / 0.7422 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004079/0.4927, allocations: 412.8 kB / 0.7426 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4927, allocations: 0 / 0.7426 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001349/0.494, allocations: 1.335 MB / 0.7439 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.4941, allocations: 89.09 kB / 0.7439 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.4959, allocations: 1.839 MB / 0.7457 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.4959, allocations: 33.69 kB / 0.7458 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.4963, allocations: 477.3 kB / 0.7462 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.4963, allocations: 15.81 kB / 0.7462 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.4963, allocations: 3.938 kB / 0.7462 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4965, allocations: 414.9 kB / 0.7466 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.4978, allocations: 1.51 MB / 0.7481 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.4992, allocations: 1.646 MB / 0.7497 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.5007, allocations: 2.043 MB / 0.7517 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.5007, allocations: 0 / 0.7517 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004496/0.5052, allocations: 4.3 MB / 0.7559 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.5053, allocations: 8 kB / 0.7559 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.5053, allocations: 4.031 kB / 0.7559 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.5053, allocations: 4 kB / 0.7559 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5055, allocations: 15.98 kB / 0.756 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.5055, allocations: 4 kB / 0.756 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.506, allocations: 228.3 kB / 0.7562 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.5061, allocations: 27.97 kB / 0.7562 GB, free: 14.02 MB / 0.5762 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004788/0.5066, allocations: 369.5 kB / 0.7566 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.479e-05/0.5067, allocations: 122 kB / 0.7567 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.507, allocations: 145.1 kB / 0.7568 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.507, allocations: 3.984 kB / 0.7568 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.507, allocations: 0 / 0.7568 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5071, allocations: 7.938 kB / 0.7568 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.5076, allocations: 0.6794 MB / 0.7575 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5076, allocations: 0 / 0.7575 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.5077, allocations: 7.984 kB / 0.7575 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5077, allocations: 4.031 kB / 0.7575 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5077, allocations: 8 kB / 0.7575 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5078, allocations: 0 / 0.7575 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5078, allocations: 3.938 kB / 0.7575 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.5087, allocations: 1.055 MB / 0.7585 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.5088, allocations: 195.1 kB / 0.7587 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.5089, allocations: 4 kB / 0.7587 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.5091, allocations: 7.984 kB / 0.7587 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.5092, allocations: 7.938 kB / 0.7587 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.5092, allocations: 15.97 kB / 0.7588 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001211/0.5104, allocations: 1.097 MB / 0.7598 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.984e-06/0.5104, allocations: 0 / 0.7598 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001114/0.5116, allocations: 439.7 kB / 0.7602 GB, free: 9.719 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.5127, allocations: 483.5 kB / 0.7607 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.515, allocations: 2.644 MB / 0.7633 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.515, allocations: 0 / 0.7633 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.5153, allocations: 339.8 kB / 0.7636 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.5156, allocations: 59.89 kB / 0.7637 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.5186, allocations: 2.718 MB / 0.7663 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.5193, allocations: 1.149 MB / 0.7674 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.5195, allocations: 36.55 kB / 0.7675 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.5196, allocations: 27.41 kB / 0.7675 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.5196, allocations: 0 / 0.7675 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of Templates: time 0.01692/0.5365, allocations: 9.542 MB / 0.7768 GB, free: 8.691 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: