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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.001281/0.001281, 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.3/1.3, 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 1.022/1.022, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.5135 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 82.03 MB / 0.5937 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003052/0.1472, allocations: 1.819 MB / 0.5954 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007976/0.1552, allocations: 5.664 MB / 0.601 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1554, allocations: 4 kB / 0.601 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.1567, allocations: 354.6 kB / 0.6013 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1568, allocations: 55.73 kB / 0.6014 GB, free: 2.105 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.003156/0.16, allocations: 1.173 MB / 0.6025 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1603, allocations: 207.3 kB / 0.6027 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.1603, allocations: 9.562 kB / 0.6027 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.1604, allocations: 51.78 kB / 0.6028 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1606, allocations: 180.8 kB / 0.6029 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.1607, allocations: 16 kB / 0.6029 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2687/0.4294, allocations: 2.178 MB / 0.6051 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.4297, allocations: 281.3 kB / 0.6053 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.4299, allocations: 311 kB / 0.6056 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.4323, allocations: 2.223 MB / 0.6078 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4323, allocations: 6.031 kB / 0.6078 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4323, allocations: 0 / 0.6078 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4323, allocations: 0 / 0.6078 GB, free: 37.02 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.007755/0.4401, allocations: 1.368 MB / 0.6091 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4401, allocations: 7.906 kB / 0.6092 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.4405, allocations: 96.27 kB / 0.6092 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4409, allocations: 412 kB / 0.6096 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4409, allocations: 4.875 kB / 0.6096 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.441, allocations: 8.297 kB / 0.6097 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.4413, allocations: 392.4 kB / 0.61 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4413, allocations: 3.938 kB / 0.61 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4413, allocations: 1.188 kB / 0.61 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4414, allocations: 2.844 kB / 0.61 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.4417, allocations: 436.5 kB / 0.6105 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.4422, allocations: 0.6697 MB / 0.6111 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.4426, allocations: 0.5659 MB / 0.6117 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.4428, allocations: 329.1 kB / 0.612 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007827/0.4436, allocations: 1.032 MB / 0.613 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.4439, allocations: 408.4 kB / 0.6134 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.4439, allocations: 3.938 kB / 0.6134 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001052/0.445, allocations: 1.297 MB / 0.6146 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.445, allocations: 83.7 kB / 0.6147 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.4459, allocations: 1.294 MB / 0.616 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.446, allocations: 31.33 kB / 0.616 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4461, allocations: 285.1 kB / 0.6163 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.4462, allocations: 18.59 kB / 0.6163 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.4464, allocations: 351.1 kB / 0.6166 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.4465, allocations: 321.4 kB / 0.6169 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009372/0.4474, allocations: 1.377 MB / 0.6183 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/0.4484, allocations: 1.503 MB / 0.6198 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006783/0.4552, allocations: 3.556 MB / 0.6232 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4553, allocations: 1.625 kB / 0.6232 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003292/0.4586, allocations: 4.013 MB / 0.6271 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4586, allocations: 9.5 kB / 0.6272 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4586, allocations: 6.328 kB / 0.6272 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4586, allocations: 0 / 0.6272 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4588, allocations: 16.61 kB / 0.6272 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.4588, allocations: 2.719 kB / 0.6272 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.4592, allocations: 233.3 kB / 0.6274 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.4593, allocations: 25.81 kB / 0.6274 GB, free: 29.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.0002785/0.4596, allocations: 248.4 kB / 0.6277 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.4596, allocations: 75.5 kB / 0.6277 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.4599, allocations: 83.77 kB / 0.6278 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4599, allocations: 4.328 kB / 0.6278 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4599, allocations: 6.094 kB / 0.6278 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4599, allocations: 0 / 0.6278 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.4603, allocations: 0.514 MB / 0.6283 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4604, allocations: 0 / 0.6283 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.4604, allocations: 13.08 kB / 0.6283 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4604, allocations: 5.312 kB / 0.6283 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4605, allocations: 6.156 kB / 0.6284 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4605, allocations: 0 / 0.6284 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4605, allocations: 1.844 kB / 0.6284 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.4615, allocations: 1.006 MB / 0.6293 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4617, allocations: 169.7 kB / 0.6295 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.4617, allocations: 4.594 kB / 0.6295 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4619, allocations: 3.281 kB / 0.6295 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.4619, allocations: 7.984 kB / 0.6295 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.462, allocations: 14.05 kB / 0.6295 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008562/0.4628, allocations: 0.7254 MB / 0.6302 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4628, allocations: 0 / 0.6302 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002017/0.4649, allocations: 0.5919 MB / 0.6308 GB, free: 28.09 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.001863/0.4667, allocations: 0.6875 MB / 0.6315 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.4691, allocations: 2.55 MB / 0.634 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4691, allocations: 5.188 kB / 0.634 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.4694, allocations: 340.9 kB / 0.6343 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4698, allocations: 56.52 kB / 0.6344 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.4721, allocations: 2.072 MB / 0.6364 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.4725, allocations: 0.9867 MB / 0.6373 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000188/0.4727, allocations: 42.25 kB / 0.6374 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.4728, allocations: 28.2 kB / 0.6374 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4728, allocations: 5.031 kB / 0.6374 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.02461/0.4974, allocations: 14 MB / 0.6511 GB, free: 24.48 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)