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.001025/0.001026, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001092/0.001092, allocations: 186.2 kB / 16.25 MB, free: 6.625 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.333/1.333, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.436/1.436, allocations: 251.7 MB / 0.5089 GB, free: 3.258 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.001395/0.001395, allocations: 67.91 kB / 0.6218 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4283, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002346/0.4307, allocations: 1.477 MB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003979/0.4347, allocations: 3.09 MB / 0.7285 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.4347, allocations: 4 kB / 0.7285 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.4349, allocations: 3.938 kB / 0.7285 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.4351, allocations: 31.89 kB / 0.7285 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.4371, allocations: 0.883 MB / 0.7294 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.4373, allocations: 79.69 kB / 0.7295 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.4373, allocations: 7.984 kB / 0.7295 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.4374, allocations: 39.91 kB / 0.7295 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.4377, allocations: 224.8 kB / 0.7297 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.4377, allocations: 12 kB / 0.7297 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4395, allocations: 1.42 MB / 0.7311 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005549/0.44, allocations: 0.6758 MB / 0.7318 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.4403, allocations: 441 kB / 0.7322 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.4421, allocations: 1.799 MB / 0.734 GB, free: 2.867 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4421, allocations: 0 / 0.734 GB, free: 2.867 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4421, allocations: 0 / 0.734 GB, free: 2.867 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.4421, allocations: 0 / 0.734 GB, free: 2.867 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.009283/0.4514, allocations: 1.694 MB / 0.7356 GB, free: 1.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4514, allocations: 8.031 kB / 0.7356 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.4518, allocations: 142.9 kB / 0.7358 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.4523, allocations: 0.5212 MB / 0.7363 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4523, allocations: 12.31 kB / 0.7363 GB, free: 372 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.4524, allocations: 4.375 kB / 0.7363 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.4528, allocations: 387.5 kB / 0.7367 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.4528, allocations: 0 / 0.7367 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.4528, allocations: 3.984 kB / 0.7367 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.4529, allocations: 0 / 0.7367 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.4533, allocations: 435.8 kB / 0.7371 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.4539, allocations: 0.8112 MB / 0.7379 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.4544, allocations: 0.5555 MB / 0.7384 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.4547, allocations: 337.7 kB / 0.7387 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.4559, allocations: 1.036 MB / 0.7397 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.4563, allocations: 412.7 kB / 0.7401 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4564, allocations: 0 / 0.7401 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001379/0.4577, allocations: 1.343 MB / 0.7415 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4578, allocations: 81.11 kB / 0.7415 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.4595, allocations: 1.847 MB / 0.7433 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.4596, allocations: 29.7 kB / 0.7434 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.4599, allocations: 477.3 kB / 0.7438 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.46, allocations: 27.72 kB / 0.7438 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.4603, allocations: 347.5 kB / 0.7442 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.4604, allocations: 301.1 kB / 0.7445 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.4616, allocations: 1.51 MB / 0.7459 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4629, allocations: 1.646 MB / 0.7475 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007043/0.47, allocations: 3.694 MB / 0.7512 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.47, allocations: 0 / 0.7512 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004304/0.4743, allocations: 4.32 MB / 0.7554 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4744, allocations: 12 kB / 0.7554 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.4744, allocations: 0 / 0.7554 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4744, allocations: 0 / 0.7554 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4745, allocations: 15.98 kB / 0.7554 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4746, allocations: 4 kB / 0.7554 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.4751, allocations: 224.3 kB / 0.7556 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.4752, allocations: 27.98 kB / 0.7556 GB, free: 11.96 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 (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.0004307/0.4756, allocations: 373.5 kB / 0.756 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/0.4757, allocations: 122 kB / 0.7561 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.476, allocations: 145.1 kB / 0.7563 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4761, allocations: 0 / 0.7563 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4761, allocations: 4 kB / 0.7563 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4761, allocations: 4 kB / 0.7563 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.4767, allocations: 0.6754 MB / 0.7569 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4767, allocations: 7.938 kB / 0.7569 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.4767, allocations: 15.95 kB / 0.7569 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4768, allocations: 0 / 0.7569 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4768, allocations: 7.938 kB / 0.7569 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4768, allocations: 0 / 0.7569 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4768, allocations: 0 / 0.7569 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/0.4777, allocations: 1.059 MB / 0.758 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.4779, allocations: 195.1 kB / 0.7582 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.478, allocations: 4 kB / 0.7582 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.4782, allocations: 7.984 kB / 0.7582 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.4782, allocations: 0 / 0.7582 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.4783, allocations: 19.97 kB / 0.7582 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001103/0.4794, allocations: 1.108 MB / 0.7593 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4794, allocations: 3.938 kB / 0.7593 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009962/0.4804, allocations: 435.9 kB / 0.7597 GB, free: 7.652 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 (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.001128/0.4815, allocations: 478.8 kB / 0.7602 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.4837, allocations: 2.652 MB / 0.7627 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4837, allocations: 0 / 0.7627 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.4841, allocations: 339.8 kB / 0.7631 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.4845, allocations: 56.42 kB / 0.7631 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4875, allocations: 2.853 MB / 0.7659 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.4881, allocations: 1.153 MB / 0.767 GB, free: 52 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.4883, allocations: 28.56 kB / 0.7671 GB, free: 24 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.4884, allocations: 31.41 kB / 0.7671 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.4885, allocations: 0 / 0.7671 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of Templates: time 0.01697/0.5054, allocations: 10.09 MB / 0.7769 GB, free: 5.945 MB / 0.5919 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)