Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.181/2.181, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 199.4 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.6 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001065, allocations: 53.42 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2655, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00213/0.2676, allocations: 1.473 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003527/0.2712, allocations: 3.224 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.2712, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2714, allocations: 11.92 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.2716, allocations: 23.91 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.2732, allocations: 0.7686 MB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.2733, allocations: 107.7 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.2733, allocations: 3.984 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.2734, allocations: 43.8 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2736, allocations: 153 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.2736, allocations: 12 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.275, allocations: 1.396 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2752, allocations: 271.8 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.2754, allocations: 278.3 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.2767, allocations: 1.467 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2767, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2767, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2767, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 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.01004/0.2867, allocations: 1.216 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.2868, allocations: 11.98 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.2872, allocations: 87.67 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2876, allocations: 360.8 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2877, allocations: 8.375 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.2877, allocations: 4.375 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.2881, allocations: 391.5 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2881, allocations: 3.938 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2881, allocations: 3.984 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2881, allocations: 4 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.2884, allocations: 431.7 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.2888, allocations: 0.6287 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.2892, allocations: 0.5673 MB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.2894, allocations: 333.6 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007906/0.2902, allocations: 1.032 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.2905, allocations: 412.7 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.2905, allocations: 0 / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0009491/0.2915, allocations: 1.293 MB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2915, allocations: 81.09 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.2923, allocations: 1.202 MB / 1.235 GB, free: 99.43 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.2923, allocations: 33.7 kB / 1.235 GB, free: 99.39 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2924, allocations: 257.4 kB / 1.235 GB, free: 99.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2925, allocations: 23.73 kB / 1.235 GB, free: 99.11 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.2927, allocations: 347.5 kB / 1.236 GB, free: 98.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.2927, allocations: 314.1 kB / 1.236 GB, free: 98.46 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007901/0.2935, allocations: 1.361 MB / 1.237 GB, free: 97.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.2944, allocations: 1.493 MB / 1.239 GB, free: 95.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005742/0.3001, allocations: 3.541 MB / 1.242 GB, free: 91.96 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3002, allocations: 0 / 1.242 GB, free: 91.96 MB / 0.823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003025/0.3032, allocations: 3.973 MB / 1.246 GB, free: 87.95 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3032, allocations: 5.094 kB / 1.246 GB, free: 87.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3033, allocations: 0 / 1.246 GB, free: 87.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3033, allocations: 4 kB / 1.246 GB, free: 87.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3034, allocations: 15.98 kB / 1.246 GB, free: 87.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3034, allocations: 0 / 1.246 GB, free: 87.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.3038, allocations: 228.4 kB / 1.246 GB, free: 87.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3039, allocations: 31.97 kB / 1.246 GB, free: 87.67 MB / 0.823 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.0002343/0.3041, allocations: 238.3 kB / 1.247 GB, free: 87.43 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.3042, allocations: 70.72 kB / 1.247 GB, free: 87.36 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.3045, allocations: 66.91 kB / 1.247 GB, free: 87.28 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3045, allocations: 8.031 kB / 1.247 GB, free: 87.27 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3045, allocations: 0 / 1.247 GB, free: 87.27 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3045, allocations: 3.984 kB / 1.247 GB, free: 87.27 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3048, allocations: 0.4928 MB / 1.247 GB, free: 86.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3048, allocations: 0 / 1.247 GB, free: 86.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.3048, allocations: 15.88 kB / 1.247 GB, free: 86.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3048, allocations: 0 / 1.247 GB, free: 86.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3049, allocations: 7.984 kB / 1.247 GB, free: 86.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3049, allocations: 3.938 kB / 1.247 GB, free: 86.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3049, allocations: 0 / 1.247 GB, free: 86.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.306, allocations: 2.241 MB / 1.249 GB, free: 84.39 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.306, allocations: 151.9 kB / 1.25 GB, free: 84.23 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.3061, allocations: 7.922 kB / 1.25 GB, free: 84.22 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3062, allocations: 8 kB / 1.25 GB, free: 84.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3063, allocations: 7.984 kB / 1.25 GB, free: 84.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3063, allocations: 7.984 kB / 1.25 GB, free: 84.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004878/0.3068, allocations: 0.6687 MB / 1.25 GB, free: 83.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3068, allocations: 0 / 1.25 GB, free: 83.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009471/0.3078, allocations: 407.8 kB / 1.251 GB, free: 83.12 MB / 0.823 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.0009804/0.3087, allocations: 486 kB / 1.251 GB, free: 82.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.3102, allocations: 2.488 MB / 1.253 GB, free: 80.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3102, allocations: 4 kB / 1.253 GB, free: 80.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.3104, allocations: 343.8 kB / 1.254 GB, free: 79.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.3107, allocations: 42.17 kB / 1.254 GB, free: 79.77 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.3123, allocations: 2.03 MB / 1.256 GB, free: 77.69 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3125, allocations: 0.9643 MB / 1.257 GB, free: 76.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.3127, allocations: 36.55 kB / 1.257 GB, free: 76.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.3128, allocations: 27.36 kB / 1.257 GB, free: 76.64 MB / 0.823 GB Notification: Performance of SimCode: time 4.21e-07/0.3128, allocations: 0 / 1.257 GB, free: 76.64 MB / 0.823 GB Notification: Performance of Templates: time 0.01225/0.3251, allocations: 9.374 MB / 1.266 GB, free: 67.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)