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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.584/1.584, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 185.3 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 0.5783 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 94.3 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005688/0.0005689, allocations: 11.06 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3096, allocations: 106.3 MB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001609/0.3112, allocations: 1.123 MB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004104/0.3154, allocations: 2.863 MB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.243e-05/0.3155, allocations: 3.938 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.3156, allocations: 7.922 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.3159, allocations: 27.91 kB / 0.9048 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.3184, allocations: 0.7546 MB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3186, allocations: 95.72 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.918e-05/0.3186, allocations: 0 / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.3187, allocations: 39.84 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.319, allocations: 163.7 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.319, allocations: 16 kB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.3211, allocations: 1.306 MB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.3212, allocations: 255.3 kB / 0.9074 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.3214, allocations: 113.2 kB / 0.9075 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.3227, allocations: 0.9746 MB / 0.9084 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3228, allocations: 0 / 0.9084 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3228, allocations: 0 / 0.9084 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.3228, allocations: 4 kB / 0.9084 GB, free: 56.12 MB / 0.6042 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.008971/0.3318, allocations: 1.166 MB / 0.9096 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3319, allocations: 8.031 kB / 0.9096 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.3323, allocations: 82.75 kB / 0.9096 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.3329, allocations: 351.7 kB / 0.91 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.3329, allocations: 15.88 kB / 0.91 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.333, allocations: 8 kB / 0.91 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.3334, allocations: 395.1 kB / 0.9104 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3334, allocations: 0 / 0.9104 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3334, allocations: 0 / 0.9104 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3334, allocations: 0 / 0.9104 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.3338, allocations: 439.7 kB / 0.9108 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.3344, allocations: 0.6519 MB / 0.9114 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.3348, allocations: 0.5555 MB / 0.912 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.335, allocations: 337.7 kB / 0.9123 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008907/0.3359, allocations: 1.04 MB / 0.9133 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.3363, allocations: 400.9 kB / 0.9137 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.3363, allocations: 0 / 0.9137 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.00109/0.3374, allocations: 1.289 MB / 0.915 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3374, allocations: 81.11 kB / 0.915 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3385, allocations: 1.187 MB / 0.9162 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.3386, allocations: 33.83 kB / 0.9162 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3388, allocations: 269.4 kB / 0.9165 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.3388, allocations: 23.64 kB / 0.9165 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.3388, allocations: 4 kB / 0.9165 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.339, allocations: 415.8 kB / 0.9169 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008664/0.3398, allocations: 1.361 MB / 0.9182 GB, free: 45.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009389/0.3408, allocations: 1.489 MB / 0.9197 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.3419, allocations: 1.899 MB / 0.9215 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.342, allocations: 0 / 0.9215 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003541/0.3455, allocations: 3.942 MB / 0.9254 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.3456, allocations: 6.656 kB / 0.9254 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.3456, allocations: 4 kB / 0.9254 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.3456, allocations: 3.984 kB / 0.9254 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3458, allocations: 19.97 kB / 0.9254 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3458, allocations: 0 / 0.9254 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/0.3464, allocations: 236.2 kB / 0.9257 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.3464, allocations: 19.98 kB / 0.9257 GB, free: 37.9 MB / 0.6042 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.0003008/0.3467, allocations: 245.6 kB / 0.9259 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.3468, allocations: 66.78 kB / 0.926 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.3471, allocations: 86.77 kB / 0.9261 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3471, allocations: 0 / 0.9261 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3471, allocations: 0 / 0.9261 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3471, allocations: 0 / 0.9261 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.3475, allocations: 492.7 kB / 0.9265 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3475, allocations: 4 kB / 0.9265 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.3476, allocations: 11.94 kB / 0.9265 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3476, allocations: 0 / 0.9265 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3476, allocations: 7.984 kB / 0.9265 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3476, allocations: 4.031 kB / 0.9265 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3476, allocations: 0 / 0.9265 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.3483, allocations: 1.001 MB / 0.9275 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.3484, allocations: 151.9 kB / 0.9277 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.3484, allocations: 0 / 0.9277 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3486, allocations: 12 kB / 0.9277 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3486, allocations: 7.984 kB / 0.9277 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.3487, allocations: 11.98 kB / 0.9277 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005441/0.3492, allocations: 0.6609 MB / 0.9283 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3492, allocations: 0 / 0.9283 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001133/0.3504, allocations: 387.8 kB / 0.9287 GB, free: 34.66 MB / 0.6042 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.001126/0.3515, allocations: 478.8 kB / 0.9292 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.3532, allocations: 2.5 MB / 0.9316 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3532, allocations: 0 / 0.9316 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.3535, allocations: 343.8 kB / 0.9319 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3537, allocations: 40.59 kB / 0.932 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.3555, allocations: 1.876 MB / 0.9338 GB, free: 29.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3558, allocations: 0.964 MB / 0.9348 GB, free: 28.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.3559, allocations: 23.42 kB / 0.9348 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.3559, allocations: 0 / 0.9348 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.01504/0.371, allocations: 10.54 MB / 0.9451 GB, free: 17.84 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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)