Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.105/2.105, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001314/0.001315, allocations: 184.4 kB / 326.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001015/0.001015, allocations: 107.9 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006426, allocations: 14.28 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2364, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002136/0.2386, allocations: 1.423 MB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006739/0.2454, allocations: 3.931 MB / 0.9048 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2456, allocations: 0 / 0.9048 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.247, allocations: 318.9 kB / 0.9051 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2472, allocations: 63.72 kB / 0.9051 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.2502, allocations: 0.7394 MB / 0.9058 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.2506, allocations: 164.6 kB / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.2507, allocations: 9.562 kB / 0.906 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.2507, allocations: 59.72 kB / 0.9061 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.2511, allocations: 179.6 kB / 0.9062 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.2511, allocations: 16 kB / 0.9063 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.254, allocations: 1.314 MB / 0.9075 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.2543, allocations: 267.2 kB / 0.9078 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.2545, allocations: 125.1 kB / 0.9079 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.2565, allocations: 1.029 MB / 0.9089 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2566, allocations: 0 / 0.9089 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.106e-06/0.2566, allocations: 0 / 0.9089 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.2566, allocations: 0 / 0.9089 GB, free: 55.89 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.01779/0.2744, allocations: 1.218 MB / 0.9101 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.2745, allocations: 12.03 kB / 0.9101 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.275, allocations: 91.59 kB / 0.9102 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.2756, allocations: 410 kB / 0.9106 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2756, allocations: 384 / 0.9106 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.2757, allocations: 4.375 kB / 0.9106 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.2762, allocations: 399.4 kB / 0.911 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2762, allocations: 3.984 kB / 0.911 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2763, allocations: 4 kB / 0.911 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.2763, allocations: 4 kB / 0.911 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.2768, allocations: 427.8 kB / 0.9114 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.2776, allocations: 0.6614 MB / 0.9121 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.2782, allocations: 0.5594 MB / 0.9126 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.2786, allocations: 341.7 kB / 0.9129 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.2799, allocations: 1.036 MB / 0.9139 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004998/0.2804, allocations: 412.8 kB / 0.9143 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 3.556e-06/0.2804, allocations: 0 / 0.9143 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001581/0.282, allocations: 1.296 MB / 0.9156 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.2821, allocations: 85.09 kB / 0.9157 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.2837, allocations: 1.269 MB / 0.9169 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.2838, allocations: 29.7 kB / 0.9169 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.284, allocations: 281.4 kB / 0.9172 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.2841, allocations: 27.91 kB / 0.9172 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.2841, allocations: 4 kB / 0.9172 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2843, allocations: 419.8 kB / 0.9176 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.2858, allocations: 1.361 MB / 0.919 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.2875, allocations: 1.489 MB / 0.9204 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.2894, allocations: 1.895 MB / 0.9223 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2895, allocations: 0 / 0.9223 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005106/0.2946, allocations: 3.959 MB / 0.9261 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.2947, allocations: 7.938 kB / 0.9262 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.2947, allocations: 3.984 kB / 0.9262 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.2947, allocations: 4 kB / 0.9262 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.295, allocations: 15.94 kB / 0.9262 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.295, allocations: 3.938 kB / 0.9262 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/0.2959, allocations: 240.3 kB / 0.9264 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.296, allocations: 23.98 kB / 0.9264 GB, free: 37.41 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.0004181/0.2964, allocations: 242.7 kB / 0.9267 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.2965, allocations: 82.62 kB / 0.9267 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.2969, allocations: 87.56 kB / 0.9268 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.297, allocations: 0 / 0.9268 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.297, allocations: 0 / 0.9268 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2971, allocations: 159.8 kB / 0.927 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.2972, allocations: 4 kB / 0.927 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.2975, allocations: 4 kB / 0.927 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2976, allocations: 7.984 kB / 0.927 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001132/0.2987, allocations: 1.07 MB / 0.928 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001133/0.2999, allocations: 1.213 MB / 0.9292 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003919/0.3003, allocations: 343.8 kB / 0.9295 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001101/0.3014, allocations: 0.7101 MB / 0.9302 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of Backend: time 1.483e-06/0.3014, allocations: 0 / 0.9302 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005064/0.3065, allocations: 2.626 MB / 0.9328 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002835/0.3094, allocations: 1.962 MB / 0.9347 GB, free: 28.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.02526/0.3347, allocations: 9.884 MB / 0.9444 GB, free: 18.95 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)