Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 195.6 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9568/0.9568, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.5135 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1379, allocations: 82.03 MB / 0.5936 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00248/0.1404, allocations: 1.491 MB / 0.5951 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006564/0.147, allocations: 4.488 MB / 0.5995 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.1471, allocations: 0 / 0.5995 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1472, allocations: 11.92 kB / 0.5995 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1474, allocations: 27.84 kB / 0.5995 GB, free: 3.98 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.1505, allocations: 1.181 MB / 0.6007 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1506, allocations: 123.6 kB / 0.6008 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.1507, allocations: 4 kB / 0.6008 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.1507, allocations: 35.91 kB / 0.6008 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.151, allocations: 157 kB / 0.601 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.151, allocations: 19.94 kB / 0.601 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.1542, allocations: 2.188 MB / 0.6031 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.1544, allocations: 275.8 kB / 0.6034 GB, free: 0 / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.2258/0.3802, allocations: 272.5 kB / 0.6037 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.3838, allocations: 2.155 MB / 0.6058 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3838, allocations: 0.875 kB / 0.6058 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3838, allocations: 2.781 kB / 0.6058 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.3839, allocations: 2.094 kB / 0.6058 GB, free: 37.32 MB / 0.4981 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.007866/0.3917, allocations: 1.294 MB / 0.607 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3918, allocations: 8.688 kB / 0.607 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.3922, allocations: 87.86 kB / 0.6071 GB, free: 36.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.3925, allocations: 369.6 kB / 0.6075 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3925, allocations: 6.031 kB / 0.6075 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.3926, allocations: 10.19 kB / 0.6075 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.3929, allocations: 388.6 kB / 0.6079 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3929, allocations: 3.938 kB / 0.6079 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3929, allocations: 1.656 kB / 0.6079 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.393, allocations: 2.938 kB / 0.6079 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.3933, allocations: 441.3 kB / 0.6083 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.3937, allocations: 0.6354 MB / 0.6089 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.3941, allocations: 0.5656 MB / 0.6095 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.3944, allocations: 336 kB / 0.6098 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007502/0.3951, allocations: 1.028 MB / 0.6108 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.3954, allocations: 411.7 kB / 0.6112 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.3955, allocations: 0 / 0.6112 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001005/0.3965, allocations: 1.284 MB / 0.6124 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.3965, allocations: 86.84 kB / 0.6125 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/0.3974, allocations: 1.212 MB / 0.6137 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3974, allocations: 28.58 kB / 0.6137 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3976, allocations: 258.9 kB / 0.614 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3976, allocations: 27.7 kB / 0.614 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.3979, allocations: 352.8 kB / 0.6143 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.3979, allocations: 312.1 kB / 0.6146 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009133/0.3989, allocations: 1.37 MB / 0.616 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/0.3998, allocations: 1.506 MB / 0.6175 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/0.4061, allocations: 3.558 MB / 0.6209 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4061, allocations: 1.125 kB / 0.6209 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003314/0.4094, allocations: 4.008 MB / 0.6248 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4095, allocations: 15.66 kB / 0.6249 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4095, allocations: 3.719 kB / 0.6249 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4095, allocations: 0 / 0.6249 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4096, allocations: 15.55 kB / 0.6249 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4097, allocations: 2.625 kB / 0.6249 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.4101, allocations: 230.2 kB / 0.6251 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.4101, allocations: 28.8 kB / 0.6251 GB, free: 30.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002369/0.4104, allocations: 241.8 kB / 0.6254 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.4104, allocations: 67.84 kB / 0.6254 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4107, allocations: 78.89 kB / 0.6255 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4107, allocations: 3.188 kB / 0.6255 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4107, allocations: 2.062 kB / 0.6255 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4107, allocations: 1.078 kB / 0.6255 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.411, allocations: 497.3 kB / 0.626 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.411, allocations: 2.625 kB / 0.626 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.4111, allocations: 12.47 kB / 0.626 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4111, allocations: 4.688 kB / 0.626 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4111, allocations: 6 kB / 0.626 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4112, allocations: 1.406 kB / 0.626 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4112, allocations: 0 / 0.626 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.4118, allocations: 1.003 MB / 0.627 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.4119, allocations: 152.3 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.412, allocations: 2.625 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4121, allocations: 5.906 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.4122, allocations: 9.312 kB / 0.6271 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4122, allocations: 9.625 kB / 0.6272 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006252/0.4129, allocations: 0.6716 MB / 0.6278 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4129, allocations: 4 kB / 0.6278 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001495/0.4144, allocations: 0.5889 MB / 0.6284 GB, free: 29.13 MB / 0.4981 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.002145/0.4165, allocations: 0.6904 MB / 0.6291 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002128/0.4187, allocations: 2.546 MB / 0.6315 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4187, allocations: 1.188 kB / 0.6315 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.419, allocations: 348.8 kB / 0.6319 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.4194, allocations: 34.75 kB / 0.6319 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.4214, allocations: 1.938 MB / 0.6338 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.4217, allocations: 0.9635 MB / 0.6347 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.4219, allocations: 33.5 kB / 0.6348 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.422, allocations: 26.69 kB / 0.6348 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.422, allocations: 0 / 0.6348 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.02366/0.4457, allocations: 13.4 MB / 0.6479 GB, free: 25.6 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)