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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007796/0.0007797, allocations: 84.38 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.0008156/0.0008156, 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.36/1.36, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.532/1.532, allocations: 252 MB / 0.5102 GB, free: 4.832 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.0005038/0.0005039, allocations: 15.98 kB / 0.6243 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4689, allocations: 106.3 MB / 0.7282 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001333/0.4702, allocations: 1.127 MB / 0.7293 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.4743, allocations: 2.855 MB / 0.7321 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.4744, allocations: 0 / 0.7321 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.924e-05/0.4745, allocations: 3.938 kB / 0.7321 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.4747, allocations: 27.89 kB / 0.7321 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.4765, allocations: 0.7644 MB / 0.7328 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.4767, allocations: 91.66 kB / 0.7329 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.4767, allocations: 4 kB / 0.7329 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.4768, allocations: 39.91 kB / 0.733 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.477, allocations: 167.7 kB / 0.7331 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.4771, allocations: 15.94 kB / 0.7331 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.4788, allocations: 1.306 MB / 0.7344 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.479, allocations: 251.3 kB / 0.7347 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.4791, allocations: 113.2 kB / 0.7348 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4801, allocations: 0.9685 MB / 0.7357 GB, free: 3.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4801, allocations: 7.938 kB / 0.7357 GB, free: 3.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4801, allocations: 0 / 0.7357 GB, free: 3.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4801, allocations: 0 / 0.7357 GB, free: 3.645 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.006717/0.4869, allocations: 1.164 MB / 0.7369 GB, free: 2.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4869, allocations: 12.03 kB / 0.7369 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.4872, allocations: 82.75 kB / 0.7369 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.4876, allocations: 363.6 kB / 0.7373 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4876, allocations: 0 / 0.7373 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.4877, allocations: 12 kB / 0.7373 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.4881, allocations: 387.2 kB / 0.7377 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4882, allocations: 0 / 0.7377 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4882, allocations: 4 kB / 0.7377 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4882, allocations: 0 / 0.7377 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.4887, allocations: 439.7 kB / 0.7381 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.4894, allocations: 0.6363 MB / 0.7387 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.4899, allocations: 0.5633 MB / 0.7393 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.4903, allocations: 341.7 kB / 0.7396 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.4914, allocations: 1.036 MB / 0.7406 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004074/0.4918, allocations: 404.8 kB / 0.741 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.4918, allocations: 0 / 0.741 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001445/0.4933, allocations: 1.293 MB / 0.7423 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4934, allocations: 77.11 kB / 0.7423 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.4944, allocations: 1.191 MB / 0.7435 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4945, allocations: 29.7 kB / 0.7435 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.4946, allocations: 261.4 kB / 0.7438 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4947, allocations: 23.66 kB / 0.7438 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.4947, allocations: 7.938 kB / 0.7438 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4949, allocations: 423.9 kB / 0.7442 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.4962, allocations: 1.365 MB / 0.7455 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.4976, allocations: 1.492 MB / 0.747 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.4991, allocations: 1.895 MB / 0.7488 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4991, allocations: 0 / 0.7488 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004053/0.5033, allocations: 3.942 MB / 0.7527 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5033, allocations: 9.719 kB / 0.7527 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5033, allocations: 3.984 kB / 0.7527 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5033, allocations: 0 / 0.7527 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5035, allocations: 15.98 kB / 0.7527 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5035, allocations: 4 kB / 0.7527 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.5039, allocations: 236.3 kB / 0.7529 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.504, allocations: 23.98 kB / 0.753 GB, free: 1.414 MB / 0.5606 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.0002614/0.5043, allocations: 245.5 kB / 0.7532 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.5043, allocations: 62.78 kB / 0.7533 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.5046, allocations: 74.89 kB / 0.7533 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5046, allocations: 0 / 0.7533 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5046, allocations: 8.031 kB / 0.7533 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5046, allocations: 0 / 0.7533 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.505, allocations: 0.489 MB / 0.7538 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.505, allocations: 0 / 0.7538 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.5051, allocations: 4 kB / 0.7538 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.5051, allocations: 4 kB / 0.7538 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5051, allocations: 7.984 kB / 0.7538 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5052, allocations: 0 / 0.7538 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5052, allocations: 4 kB / 0.7538 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009401/0.5061, allocations: 1.001 MB / 0.7548 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5062, allocations: 151.9 kB / 0.755 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.5063, allocations: 4 kB / 0.755 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.5064, allocations: 4 kB / 0.755 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.5065, allocations: 7.984 kB / 0.755 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.5065, allocations: 11.98 kB / 0.755 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006499/0.5072, allocations: 0.6647 MB / 0.7556 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.302e-06/0.5072, allocations: 0 / 0.7556 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00099/0.5082, allocations: 399.8 kB / 0.756 GB, free: 14.17 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.001161/0.5093, allocations: 482.8 kB / 0.7565 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.5116, allocations: 2.488 MB / 0.7589 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.5116, allocations: 0 / 0.7589 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.5119, allocations: 339.7 kB / 0.7592 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.5122, allocations: 40.44 kB / 0.7593 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.5145, allocations: 1.842 MB / 0.7611 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/0.5152, allocations: 0.964 MB / 0.762 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.5154, allocations: 36.55 kB / 0.762 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.5155, allocations: 23.42 kB / 0.7621 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.5156, allocations: 0 / 0.7621 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of Templates: time 0.01597/0.5315, allocations: 8.959 MB / 0.7708 GB, free: 14.97 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: