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.001301/0.001301, allocations: 106.3 kB / 15.99 MB, free: 5.891 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.00144/0.00144, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.521/1.521, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.8492/0.8492, allocations: 143.1 MB / 433.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.5144 GB, free: 15.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4039, allocations: 82.04 MB / 0.5945 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002421/0.4063, allocations: 1.489 MB / 0.5959 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.4115, allocations: 4.221 MB / 0.6001 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.4115, allocations: 0 / 0.6001 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.4117, allocations: 13.02 kB / 0.6001 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.412, allocations: 19.91 kB / 0.6001 GB, free: 10.57 MB / 446.1 MB [/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.4154, allocations: 1.356 MB / 0.6014 GB, free: 9.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.4155, allocations: 87.73 kB / 0.6015 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/0.4156, allocations: 7.984 kB / 0.6015 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.4156, allocations: 41.23 kB / 0.6016 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.4158, allocations: 164.9 kB / 0.6017 GB, free: 8.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.4159, allocations: 16 kB / 0.6017 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.4182, allocations: 2.193 MB / 0.6039 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.4184, allocations: 269.1 kB / 0.6041 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.4185, allocations: 282.2 kB / 0.6044 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.42, allocations: 1.459 MB / 0.6058 GB, free: 4.715 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.42, allocations: 0 / 0.6058 GB, free: 4.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.42, allocations: 0 / 0.6058 GB, free: 4.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.42, allocations: 1 kB / 0.6058 GB, free: 4.715 MB / 446.1 MB 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.008785/0.4288, allocations: 1.305 MB / 0.6071 GB, free: 3.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4289, allocations: 8.031 kB / 0.6071 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.4293, allocations: 93.02 kB / 0.6072 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4297, allocations: 361 kB / 0.6075 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4297, allocations: 5.094 kB / 0.6075 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.4297, allocations: 8.375 kB / 0.6076 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.4301, allocations: 397.3 kB / 0.6079 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4301, allocations: 0 / 0.6079 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4302, allocations: 1.406 kB / 0.6079 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4302, allocations: 4 kB / 0.6079 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.4305, allocations: 428.9 kB / 0.6083 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.431, allocations: 0.6332 MB / 0.609 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.4314, allocations: 0.5694 MB / 0.6095 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.4316, allocations: 339.6 kB / 0.6098 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.4328, allocations: 1.033 MB / 0.6109 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005069/0.4334, allocations: 411.8 kB / 0.6112 GB, free: 14.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4334, allocations: 0 / 0.6112 GB, free: 14.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.001428/0.4348, allocations: 1.287 MB / 0.6125 GB, free: 13.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.4349, allocations: 85.11 kB / 0.6126 GB, free: 13.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.4361, allocations: 1.215 MB / 0.6138 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.4362, allocations: 29.7 kB / 0.6138 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.4364, allocations: 263.9 kB / 0.614 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.4364, allocations: 23.73 kB / 0.6141 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.4368, allocations: 351.6 kB / 0.6144 GB, free: 11.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4369, allocations: 314 kB / 0.6147 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.4382, allocations: 1.374 MB / 0.616 GB, free: 9.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.4397, allocations: 1.508 MB / 0.6175 GB, free: 8.254 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006964/0.4467, allocations: 3.558 MB / 0.621 GB, free: 4.605 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4467, allocations: 0 / 0.621 GB, free: 4.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00425/0.4509, allocations: 4.001 MB / 0.6249 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.451, allocations: 7.938 kB / 0.6249 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.451, allocations: 4 kB / 0.6249 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.451, allocations: 1.469 kB / 0.6249 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.4512, allocations: 19.98 kB / 0.6249 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4512, allocations: 4 kB / 0.6249 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.4517, allocations: 229 kB / 0.6252 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.4518, allocations: 25.39 kB / 0.6252 GB, free: 292 kB / 462.1 MB 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.0003332/0.4521, allocations: 241.5 kB / 0.6254 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/0.4522, allocations: 75.47 kB / 0.6255 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.4525, allocations: 69.03 kB / 0.6255 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4525, allocations: 4 kB / 0.6256 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.4525, allocations: 0 / 0.6256 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4525, allocations: 2.531 kB / 0.6256 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.453, allocations: 0.4969 MB / 0.626 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.453, allocations: 0 / 0.626 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.4531, allocations: 11.94 kB / 0.6261 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4531, allocations: 0 / 0.6261 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4531, allocations: 7.984 kB / 0.6261 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4531, allocations: 2.75 kB / 0.6261 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4532, allocations: 0 / 0.6261 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.4541, allocations: 0.995 MB / 0.627 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4542, allocations: 159.7 kB / 0.6272 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.4543, allocations: 7.984 kB / 0.6272 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.4544, allocations: 5 kB / 0.6272 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4544, allocations: 7.984 kB / 0.6272 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.4545, allocations: 12.64 kB / 0.6272 GB, free: 14.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006897/0.4552, allocations: 0.6733 MB / 0.6279 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4552, allocations: 0.75 kB / 0.6279 GB, free: 13.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001517/0.4567, allocations: 0.574 MB / 0.6284 GB, free: 12.85 MB / 478.1 MB 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.001826/0.4585, allocations: 0.6993 MB / 0.6291 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.4608, allocations: 2.552 MB / 0.6316 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4608, allocations: 0.625 kB / 0.6316 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.4612, allocations: 344.7 kB / 0.6319 GB, free: 9.277 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.4615, allocations: 35.03 kB / 0.632 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.4637, allocations: 1.974 MB / 0.6339 GB, free: 7.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.4642, allocations: 0.964 MB / 0.6348 GB, free: 6.258 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4644, allocations: 27.42 kB / 0.6349 GB, free: 6.23 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4644, allocations: 0 / 0.6349 GB, free: 6.23 MB / 478.1 MB Notification: Performance of Templates: time 0.02445/0.4888, allocations: 13.99 MB / 0.6485 GB, free: 8.242 MB / 494.1 MB 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)