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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 197 kB / 16.53 MB, free: 6.664 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.524/1.524, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.542/1.542, allocations: 251.7 MB / 0.5092 GB, free: 3.141 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.001476/0.001476, allocations: 71.88 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4763, allocations: 104.7 MB / 0.7246 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003174/0.4795, allocations: 1.739 MB / 0.7263 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006144/0.4857, allocations: 4.259 MB / 0.7304 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.4859, allocations: 4 kB / 0.7304 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.4872, allocations: 362.4 kB / 0.7308 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.4874, allocations: 67.66 kB / 0.7308 GB, free: 6.48 MB / 0.545 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.002614/0.49, allocations: 0.9854 MB / 0.7318 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.4903, allocations: 147.4 kB / 0.7319 GB, free: 5.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.4903, allocations: 13.55 kB / 0.7319 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.4904, allocations: 59.77 kB / 0.732 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.4906, allocations: 167.4 kB / 0.7322 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.4907, allocations: 12 kB / 0.7322 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.4927, allocations: 1.369 MB / 0.7335 GB, free: 3.727 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.4929, allocations: 271.8 kB / 0.7338 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.4932, allocations: 306.2 kB / 0.7341 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.4951, allocations: 1.539 MB / 0.7356 GB, free: 1.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4951, allocations: 0 / 0.7356 GB, free: 1.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4951, allocations: 0 / 0.7356 GB, free: 1.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.4951, allocations: 0 / 0.7356 GB, free: 1.613 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.01054/0.5056, allocations: 1.273 MB / 0.7368 GB, free: 296 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5057, allocations: 8.031 kB / 0.7368 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.5062, allocations: 99.58 kB / 0.7369 GB, free: 188 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.5067, allocations: 402 kB / 0.7373 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5068, allocations: 4.312 kB / 0.7373 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.5068, allocations: 12.38 kB / 0.7373 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.5073, allocations: 395.4 kB / 0.7377 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.5073, allocations: 0 / 0.7377 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.5073, allocations: 0 / 0.7377 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5073, allocations: 4 kB / 0.7377 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.5078, allocations: 435.7 kB / 0.7381 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.5085, allocations: 0.6574 MB / 0.7387 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.509, allocations: 0.5672 MB / 0.7393 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.5094, allocations: 337.6 kB / 0.7396 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.5106, allocations: 1.028 MB / 0.7406 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.511, allocations: 412.8 kB / 0.741 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 3.277e-06/0.511, allocations: 0 / 0.741 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001338/0.5124, allocations: 1.293 MB / 0.7423 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.5125, allocations: 85.11 kB / 0.7424 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.5137, allocations: 1.285 MB / 0.7436 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.5138, allocations: 29.7 kB / 0.7436 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.514, allocations: 281.4 kB / 0.7439 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.5141, allocations: 23.7 kB / 0.7439 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.5144, allocations: 347.5 kB / 0.7443 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5146, allocations: 318 kB / 0.7446 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5158, allocations: 1.365 MB / 0.7459 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.5171, allocations: 1.489 MB / 0.7474 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007093/0.5242, allocations: 3.541 MB / 0.7508 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5243, allocations: 0 / 0.7508 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00502/0.5293, allocations: 3.98 MB / 0.7547 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.5293, allocations: 4 kB / 0.7547 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5294, allocations: 4 kB / 0.7547 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.5294, allocations: 0 / 0.7547 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5296, allocations: 15.98 kB / 0.7547 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5296, allocations: 0 / 0.7547 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.5302, allocations: 236.3 kB / 0.7549 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.5302, allocations: 19.98 kB / 0.755 GB, free: 13.1 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.0003206/0.5306, allocations: 249.6 kB / 0.7552 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.5307, allocations: 78.62 kB / 0.7553 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.531, allocations: 75.72 kB / 0.7554 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.531, allocations: 0 / 0.7554 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.531, allocations: 4 kB / 0.7554 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.531, allocations: 0 / 0.7554 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.5314, allocations: 0.51 MB / 0.7559 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5315, allocations: 4.031 kB / 0.7559 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.5315, allocations: 19.86 kB / 0.7559 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5316, allocations: 3.984 kB / 0.7559 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.5316, allocations: 4 kB / 0.7559 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5316, allocations: 0 / 0.7559 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5316, allocations: 3.938 kB / 0.7559 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.5325, allocations: 1.006 MB / 0.7569 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.5326, allocations: 159.7 kB / 0.757 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.5327, allocations: 7.938 kB / 0.757 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5329, allocations: 7.984 kB / 0.757 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.5329, allocations: 4 kB / 0.757 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.533, allocations: 15.97 kB / 0.7571 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008619/0.5338, allocations: 0.7179 MB / 0.7578 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5339, allocations: 4 kB / 0.7578 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001151/0.535, allocations: 403.8 kB / 0.7581 GB, free: 9.734 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.001203/0.5362, allocations: 482.8 kB / 0.7586 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002405/0.5386, allocations: 2.499 MB / 0.761 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5387, allocations: 0 / 0.761 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.539, allocations: 343.8 kB / 0.7614 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.5394, allocations: 68.14 kB / 0.7614 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.5417, allocations: 1.892 MB / 0.7633 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.5423, allocations: 0.984 MB / 0.7643 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.5425, allocations: 45.41 kB / 0.7643 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/0.5426, allocations: 27.42 kB / 0.7643 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.5426, allocations: 0 / 0.7643 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.01748/0.5601, allocations: 10.16 MB / 0.7742 GB, free: 9.242 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)