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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.0007761/0.0007761, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006102/0.006103, allocations: 170 kB / 16.26 MB, free: 6.613 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.978/0.978, allocations: 143.4 MB / 434.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 12 kB / 0.5167 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 83.41 MB / 0.5981 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001421/0.1494, allocations: 1.146 MB / 0.5993 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006446/0.1559, allocations: 4.395 MB / 0.6036 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.156, allocations: 0 / 0.6036 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1561, allocations: 3.938 kB / 0.6036 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1563, allocations: 35.83 kB / 0.6036 GB, free: 1.828 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.002978/0.1593, allocations: 1.185 MB / 0.6047 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1594, allocations: 111.8 kB / 0.6049 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.1595, allocations: 4 kB / 0.6049 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.1595, allocations: 51.77 kB / 0.6049 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1598, allocations: 157 kB / 0.6051 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1598, allocations: 12 kB / 0.6051 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.264/0.4239, allocations: 2.181 MB / 0.6072 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.4241, allocations: 270.9 kB / 0.6075 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.4244, allocations: 308.3 kB / 0.6077 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.4278, allocations: 2.162 MB / 0.6099 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4278, allocations: 0 / 0.6099 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4278, allocations: 0 / 0.6099 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.4279, allocations: 0 / 0.6099 GB, free: 35.39 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.01115/0.439, allocations: 1.238 MB / 0.6111 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.4391, allocations: 9.031 kB / 0.6111 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/0.4396, allocations: 91.56 kB / 0.6112 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.4401, allocations: 360.3 kB / 0.6115 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4402, allocations: 6.141 kB / 0.6115 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.4402, allocations: 17.09 kB / 0.6115 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.4407, allocations: 385.1 kB / 0.6119 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4407, allocations: 6.188 kB / 0.6119 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4407, allocations: 0.5312 kB / 0.6119 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4407, allocations: 0.75 kB / 0.6119 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.4412, allocations: 441.4 kB / 0.6123 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/0.4419, allocations: 0.639 MB / 0.613 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.4423, allocations: 0.5585 MB / 0.6135 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.4426, allocations: 334.5 kB / 0.6138 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007693/0.4434, allocations: 1.05 MB / 0.6148 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.4437, allocations: 405.8 kB / 0.6152 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.4437, allocations: 0 / 0.6152 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001224/0.445, allocations: 1.288 MB / 0.6165 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.445, allocations: 83.19 kB / 0.6166 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009676/0.446, allocations: 1.213 MB / 0.6177 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.446, allocations: 25.7 kB / 0.6178 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4462, allocations: 270.3 kB / 0.618 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.4462, allocations: 25.14 kB / 0.6181 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.4464, allocations: 286.8 kB / 0.6183 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.4465, allocations: 315.6 kB / 0.6186 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4475, allocations: 1.368 MB / 0.62 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.4486, allocations: 1.502 MB / 0.6214 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/0.4551, allocations: 3.556 MB / 0.6249 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4551, allocations: 7.453 kB / 0.6249 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003491/0.4586, allocations: 3.999 MB / 0.6288 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4586, allocations: 9.188 kB / 0.6288 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.4586, allocations: 2.719 kB / 0.6288 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4587, allocations: 5.953 kB / 0.6288 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4588, allocations: 11.81 kB / 0.6288 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4588, allocations: 11.03 kB / 0.6289 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.4593, allocations: 231.1 kB / 0.6291 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.4593, allocations: 29.88 kB / 0.6291 GB, free: 28.87 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.0002439/0.4596, allocations: 240 kB / 0.6293 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.4596, allocations: 67.84 kB / 0.6294 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.4599, allocations: 77.81 kB / 0.6295 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4599, allocations: 4.031 kB / 0.6295 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4599, allocations: 2.625 kB / 0.6295 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4599, allocations: 0 / 0.6295 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.4603, allocations: 0.4901 MB / 0.63 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4603, allocations: 0.5625 kB / 0.63 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.4603, allocations: 9.422 kB / 0.63 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4603, allocations: 5.594 kB / 0.63 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4604, allocations: 2.812 kB / 0.63 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4604, allocations: 0 / 0.63 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4604, allocations: 2.688 kB / 0.63 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.4612, allocations: 1.004 MB / 0.631 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.4613, allocations: 158 kB / 0.6311 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.4614, allocations: 4.281 kB / 0.6311 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4615, allocations: 7.281 kB / 0.6311 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.4615, allocations: 8.594 kB / 0.6311 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.4616, allocations: 14.08 kB / 0.6311 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007023/0.4623, allocations: 0.668 MB / 0.6318 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.62e-07/0.4623, allocations: 0 / 0.6318 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001622/0.4639, allocations: 0.59 MB / 0.6324 GB, free: 27.73 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.001796/0.4657, allocations: 0.6889 MB / 0.633 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.4679, allocations: 2.551 MB / 0.6355 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.468, allocations: 3.938 kB / 0.6355 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.4683, allocations: 342.5 kB / 0.6359 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.4687, allocations: 38.31 kB / 0.6359 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.4707, allocations: 1.94 MB / 0.6378 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.4711, allocations: 0.9638 MB / 0.6387 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.4712, allocations: 38.42 kB / 0.6388 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4713, allocations: 26.78 kB / 0.6388 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4713, allocations: 0 / 0.6388 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.02343/0.4948, allocations: 13.3 MB / 0.6518 GB, free: 24.19 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)