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.395/1.395, allocations: 252 MB / 268 MB, free: 10.86 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.001259/0.001259, allocations: 181.7 kB / 327.6 MB, free: 2.094 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.902/1.902, allocations: 205.4 MB / 0.5786 GB, free: 20.2 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.0009423/0.0009419, allocations: 87.81 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 11.91 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 106.3 MB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001415/0.2488, allocations: 1.142 MB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004072/0.2529, allocations: 3.2 MB / 0.9057 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.253, allocations: 4 kB / 0.9057 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2531, allocations: 7.938 kB / 0.9057 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.2533, allocations: 27.83 kB / 0.9058 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.2555, allocations: 0.7755 MB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2556, allocations: 107.7 kB / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.2557, allocations: 4 kB / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.2557, allocations: 39.84 kB / 0.9067 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.256, allocations: 153 kB / 0.9068 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.256, allocations: 16 kB / 0.9068 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.2579, allocations: 1.392 MB / 0.9082 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2581, allocations: 263.8 kB / 0.9084 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2583, allocations: 300 kB / 0.9087 GB, free: 56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.2597, allocations: 0.998 MB / 0.9097 GB, free: 55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2597, allocations: 0 / 0.9097 GB, free: 55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2597, allocations: 4 kB / 0.9097 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.2597, allocations: 0 / 0.9097 GB, free: 54.99 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.009193/0.2689, allocations: 1.152 MB / 0.9108 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.269, allocations: 8.031 kB / 0.9108 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.2693, allocations: 87.69 kB / 0.9109 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.2697, allocations: 356.9 kB / 0.9113 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2697, allocations: 8.375 kB / 0.9113 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.2698, allocations: 8.375 kB / 0.9113 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.2701, allocations: 391.5 kB / 0.9117 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2701, allocations: 0 / 0.9117 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2702, allocations: 3.938 kB / 0.9117 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2702, allocations: 4 kB / 0.9117 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.2705, allocations: 439.7 kB / 0.9121 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.2709, allocations: 0.6364 MB / 0.9127 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.2713, allocations: 0.5517 MB / 0.9132 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.2715, allocations: 341.5 kB / 0.9136 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008585/0.2724, allocations: 1.04 MB / 0.9146 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.2727, allocations: 408.8 kB / 0.915 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.2727, allocations: 0 / 0.915 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009564/0.2737, allocations: 1.293 MB / 0.9162 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2737, allocations: 77.11 kB / 0.9163 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/0.2746, allocations: 1.206 MB / 0.9175 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.2746, allocations: 37.83 kB / 0.9175 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2747, allocations: 261.4 kB / 0.9178 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.2748, allocations: 15.75 kB / 0.9178 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.2748, allocations: 4 kB / 0.9178 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2749, allocations: 415.8 kB / 0.9182 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/0.2758, allocations: 1.365 MB / 0.9195 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/0.2768, allocations: 1.493 MB / 0.921 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006959/0.2837, allocations: 3.514 MB / 0.9244 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2838, allocations: 0 / 0.9244 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003139/0.2869, allocations: 3.969 MB / 0.9283 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.287, allocations: 4 kB / 0.9283 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.287, allocations: 8.094 kB / 0.9283 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.287, allocations: 4 kB / 0.9283 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2872, allocations: 15.98 kB / 0.9283 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2872, allocations: 3.984 kB / 0.9283 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.2877, allocations: 228.3 kB / 0.9285 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.2877, allocations: 23.98 kB / 0.9286 GB, free: 35.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002464/0.288, allocations: 249.5 kB / 0.9288 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.288, allocations: 74.7 kB / 0.9289 GB, free: 34.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.2883, allocations: 70.91 kB / 0.9289 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2883, allocations: 0 / 0.9289 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2883, allocations: 3.938 kB / 0.9289 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2883, allocations: 3.938 kB / 0.9289 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.2887, allocations: 496.7 kB / 0.9294 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2887, allocations: 4 kB / 0.9294 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.2887, allocations: 15.95 kB / 0.9294 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2888, allocations: 0 / 0.9294 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2888, allocations: 4 kB / 0.9294 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2888, allocations: 0 / 0.9294 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2888, allocations: 3.984 kB / 0.9294 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.2895, allocations: 0.9935 MB / 0.9304 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.2895, allocations: 151.8 kB / 0.9306 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.2896, allocations: 3.984 kB / 0.9306 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2897, allocations: 8 kB / 0.9306 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.2898, allocations: 15.91 kB / 0.9306 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.2898, allocations: 11.98 kB / 0.9306 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005317/0.2904, allocations: 0.6648 MB / 0.9312 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2904, allocations: 0 / 0.9312 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00101/0.2914, allocations: 403.8 kB / 0.9316 GB, free: 31.79 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 (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.001098/0.2925, allocations: 478.8 kB / 0.9321 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.2942, allocations: 2.5 MB / 0.9345 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2942, allocations: 0 / 0.9345 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.2945, allocations: 339.8 kB / 0.9349 GB, free: 28.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2948, allocations: 32.44 kB / 0.9349 GB, free: 28.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.2966, allocations: 1.974 MB / 0.9368 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.297, allocations: 0.964 MB / 0.9378 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2971, allocations: 23.42 kB / 0.9378 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2971, allocations: 0 / 0.9378 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.01367/0.3108, allocations: 10.5 MB / 0.948 GB, free: 14.92 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)