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.001076/0.001076, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001175/0.001175, allocations: 177.3 kB / 15.94 MB, free: 228 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.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.58/1.58, allocations: 251.9 MB / 0.51 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.0005619/0.0005624, allocations: 20 kB / 0.6242 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.5303, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001324/0.5316, allocations: 1.11 MB / 0.7291 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003763/0.5354, allocations: 2.824 MB / 0.7319 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.5355, allocations: 4 kB / 0.7319 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.5356, allocations: 7.938 kB / 0.7319 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.5357, allocations: 31.83 kB / 0.7319 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.5374, allocations: 0.7216 MB / 0.7326 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.908e-05/0.5375, allocations: 43.94 kB / 0.7326 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.5375, allocations: 15.97 kB / 0.7327 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.5376, allocations: 31.86 kB / 0.7327 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.5378, allocations: 151.7 kB / 0.7328 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.5378, allocations: 12 kB / 0.7328 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.5394, allocations: 1.248 MB / 0.7341 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.5396, allocations: 247.3 kB / 0.7343 GB, free: 5.004 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.5397, allocations: 109.2 kB / 0.7344 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.5409, allocations: 0.9841 MB / 0.7354 GB, free: 3.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.5409, allocations: 0 / 0.7354 GB, free: 3.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5409, allocations: 0 / 0.7354 GB, free: 3.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.5409, allocations: 0 / 0.7354 GB, free: 3.906 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.009478/0.5504, allocations: 1.16 MB / 0.7365 GB, free: 2.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5504, allocations: 12.03 kB / 0.7365 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.5508, allocations: 86.75 kB / 0.7366 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.5513, allocations: 355.7 kB / 0.7369 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5513, allocations: 4 kB / 0.7369 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.5514, allocations: 8 kB / 0.7369 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.5518, allocations: 391.1 kB / 0.7373 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5519, allocations: 0 / 0.7373 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5519, allocations: 4 kB / 0.7373 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5519, allocations: 0 / 0.7373 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.5524, allocations: 431.8 kB / 0.7377 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.553, allocations: 0.644 MB / 0.7384 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.5535, allocations: 0.571 MB / 0.7389 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.5546, allocations: 1.033 MB / 0.7399 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.5551, allocations: 412.8 kB / 0.7403 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.5551, allocations: 0 / 0.7403 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001294/0.5564, allocations: 1.277 MB / 0.7416 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.5565, allocations: 89.09 kB / 0.7417 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.5578, allocations: 1.195 MB / 0.7428 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.5579, allocations: 29.7 kB / 0.7428 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5581, allocations: 253.4 kB / 0.7431 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.5581, allocations: 27.64 kB / 0.7431 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.5582, allocations: 4 kB / 0.7431 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.5584, allocations: 423.8 kB / 0.7435 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.5599, allocations: 1.361 MB / 0.7449 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.5615, allocations: 1.497 MB / 0.7463 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.5633, allocations: 1.895 MB / 0.7482 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5634, allocations: 0 / 0.7482 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004237/0.5676, allocations: 3.938 MB / 0.752 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.5677, allocations: 8 kB / 0.752 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.5677, allocations: 4.031 kB / 0.752 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.5677, allocations: 0 / 0.752 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.5679, allocations: 19.92 kB / 0.752 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5679, allocations: 8 kB / 0.752 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.5686, allocations: 228.3 kB / 0.7523 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.5686, allocations: 23.98 kB / 0.7523 GB, free: 2.02 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.0003187/0.569, allocations: 245.5 kB / 0.7525 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.569, allocations: 74.77 kB / 0.7526 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.5693, allocations: 70.84 kB / 0.7527 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5693, allocations: 4 kB / 0.7527 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5693, allocations: 0 / 0.7527 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5693, allocations: 0 / 0.7527 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.5698, allocations: 0.489 MB / 0.7531 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5698, allocations: 0 / 0.7531 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.5698, allocations: 11.98 kB / 0.7532 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5699, allocations: 7.969 kB / 0.7532 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5699, allocations: 0 / 0.7532 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5699, allocations: 4 kB / 0.7532 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5699, allocations: 0 / 0.7532 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.5708, allocations: 1.016 MB / 0.7542 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.5709, allocations: 151.9 kB / 0.7543 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.571, allocations: 3.984 kB / 0.7543 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.5711, allocations: 11.92 kB / 0.7543 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.5712, allocations: 7.984 kB / 0.7543 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.5712, allocations: 11.98 kB / 0.7543 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000694/0.5719, allocations: 0.6531 MB / 0.755 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5719, allocations: 0 / 0.755 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001087/0.573, allocations: 407.8 kB / 0.7554 GB, free: 14.75 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.001123/0.5742, allocations: 471.2 kB / 0.7558 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.5764, allocations: 2.492 MB / 0.7582 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5764, allocations: 0 / 0.7582 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.5768, allocations: 351.7 kB / 0.7586 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.577, allocations: 36.45 kB / 0.7586 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5789, allocations: 1.832 MB / 0.7604 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.5794, allocations: 0.9796 MB / 0.7614 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000151/0.5796, allocations: 32.56 kB / 0.7614 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/0.5797, allocations: 31.41 kB / 0.7614 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.5797, allocations: 0 / 0.7614 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of Templates: time 0.01504/0.5947, allocations: 8.955 MB / 0.7702 GB, free: 15.54 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: