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/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_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 252 MB / 267.6 MB, free: 10.9 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.001328/0.001328, allocations: 172 kB / 327.3 MB, free: 2.184 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.803/1.803, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008475/0.0008476, allocations: 86.34 kB / 0.6829 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 10.03 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 106.3 MB / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001386/0.2066, allocations: 1.115 MB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.21, allocations: 2.862 MB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.21, allocations: 7.938 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.672e-05/0.2102, allocations: 7.922 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.2104, allocations: 27.91 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.2121, allocations: 0.7555 MB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.2122, allocations: 87.72 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.2122, allocations: 8 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.2123, allocations: 47.83 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.2125, allocations: 231.7 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.2126, allocations: 16 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.2141, allocations: 1.299 MB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.2146, allocations: 0.7093 MB / 0.9079 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2147, allocations: 177 kB / 0.908 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2158, allocations: 1.181 MB / 0.9092 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2159, allocations: 7.938 kB / 0.9092 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2159, allocations: 0 / 0.9092 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.2159, allocations: 0 / 0.9092 GB, free: 55.23 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.008573/0.2245, allocations: 1.601 MB / 0.9108 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2245, allocations: 11.97 kB / 0.9108 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.2249, allocations: 138 kB / 0.9109 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.2253, allocations: 0.5011 MB / 0.9114 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2253, allocations: 7.938 kB / 0.9114 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.2253, allocations: 4 kB / 0.9114 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.2257, allocations: 383.2 kB / 0.9118 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2257, allocations: 0 / 0.9118 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2257, allocations: 7.984 kB / 0.9118 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2257, allocations: 0 / 0.9118 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.226, allocations: 443.7 kB / 0.9122 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.2265, allocations: 0.8073 MB / 0.913 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.2269, allocations: 0.5594 MB / 0.9135 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.2271, allocations: 345.7 kB / 0.9139 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007711/0.2279, allocations: 1.032 MB / 0.9149 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.2282, allocations: 408.9 kB / 0.9153 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.2282, allocations: 0 / 0.9153 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009282/0.2292, allocations: 1.339 MB / 0.9166 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.2292, allocations: 85.09 kB / 0.9167 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2305, allocations: 1.843 MB / 0.9185 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.2305, allocations: 25.7 kB / 0.9185 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.2308, allocations: 485.2 kB / 0.9189 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.2308, allocations: 15.81 kB / 0.919 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.2308, allocations: 0 / 0.919 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.2309, allocations: 418.9 kB / 0.9194 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009178/0.2318, allocations: 1.51 MB / 0.9208 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009446/0.2328, allocations: 1.646 MB / 0.9224 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.2339, allocations: 2.043 MB / 0.9244 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2339, allocations: 0 / 0.9244 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003178/0.2371, allocations: 4.3 MB / 0.9286 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2372, allocations: 8 kB / 0.9286 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.2372, allocations: 0 / 0.9286 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2372, allocations: 4.031 kB / 0.9286 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2373, allocations: 15.98 kB / 0.9287 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2373, allocations: 4 kB / 0.9287 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.2378, allocations: 228.3 kB / 0.9289 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.2379, allocations: 23.98 kB / 0.9289 GB, free: 34.42 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.0003492/0.2382, allocations: 381.4 kB / 0.9293 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.2383, allocations: 118 kB / 0.9294 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2386, allocations: 153 kB / 0.9295 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2386, allocations: 0 / 0.9295 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2386, allocations: 0 / 0.9295 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2386, allocations: 4 kB / 0.9295 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.239, allocations: 0.6794 MB / 0.9302 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2391, allocations: 0 / 0.9302 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.2391, allocations: 7.984 kB / 0.9302 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2391, allocations: 4.031 kB / 0.9302 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2392, allocations: 4 kB / 0.9302 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2392, allocations: 3.938 kB / 0.9302 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2392, allocations: 0 / 0.9302 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.2398, allocations: 1.055 MB / 0.9312 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.2399, allocations: 195.1 kB / 0.9314 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.24, allocations: 4 kB / 0.9314 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2402, allocations: 11.98 kB / 0.9314 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.2403, allocations: 3.984 kB / 0.9314 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.2403, allocations: 15.97 kB / 0.9315 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000905/0.2412, allocations: 1.097 MB / 0.9325 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2412, allocations: 0 / 0.9325 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000974/0.2422, allocations: 435.8 kB / 0.9329 GB, free: 30.12 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.001029/0.2433, allocations: 490.7 kB / 0.9334 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.245, allocations: 2.649 MB / 0.936 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.245, allocations: 4.062 kB / 0.936 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.2452, allocations: 331.8 kB / 0.9363 GB, free: 26.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2456, allocations: 58.48 kB / 0.9364 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.248, allocations: 2.778 MB / 0.9391 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.2484, allocations: 1.149 MB / 0.9402 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2486, allocations: 23.42 kB / 0.9402 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2486, allocations: 0 / 0.9402 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.02202/0.2706, allocations: 15.03 MB / 0.9549 GB, free: 7.535 MB / 0.6042 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)