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.0009947/0.000995, allocations: 91.77 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.007372/0.007372, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.399/1.399, allocations: 223.2 MB / 240.3 MB, free: 5.336 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.001/1.001, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 8 kB / 0.5164 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 83.41 MB / 0.5979 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001998/0.1664, allocations: 1.472 MB / 0.5993 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007911/0.1743, allocations: 5.544 MB / 0.6047 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1745, allocations: 4 kB / 0.6047 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.176, allocations: 354.6 kB / 0.6051 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1762, allocations: 63.66 kB / 0.6051 GB, free: 176 kB / 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.3049/0.4811, allocations: 1.175 MB / 0.6063 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.4813, allocations: 201.1 kB / 0.6065 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.4814, allocations: 8.188 kB / 0.6065 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.4815, allocations: 56.91 kB / 0.6065 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.4817, allocations: 182.6 kB / 0.6067 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.4817, allocations: 14.44 kB / 0.6067 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.4843, allocations: 2.184 MB / 0.6089 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.4845, allocations: 281.7 kB / 0.6091 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.4848, allocations: 333.5 kB / 0.6095 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.487, allocations: 2.216 MB / 0.6116 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.487, allocations: 3.438 kB / 0.6116 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.454e-06/0.487, allocations: 0.5312 kB / 0.6116 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.487, allocations: 0 / 0.6116 GB, free: 35.18 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.01021/0.4973, allocations: 1.31 MB / 0.6129 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4973, allocations: 11.91 kB / 0.6129 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.4977, allocations: 91.33 kB / 0.613 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.4981, allocations: 416.8 kB / 0.6134 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4981, allocations: 3.875 kB / 0.6134 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.4982, allocations: 12.31 kB / 0.6134 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.4986, allocations: 385.8 kB / 0.6138 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4986, allocations: 3.938 kB / 0.6138 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4986, allocations: 2.844 kB / 0.6138 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4986, allocations: 3.938 kB / 0.6138 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.499, allocations: 438 kB / 0.6142 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.4995, allocations: 0.6639 MB / 0.6149 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.5, allocations: 0.563 MB / 0.6154 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.5003, allocations: 334.3 kB / 0.6157 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008315/0.5011, allocations: 1.037 MB / 0.6167 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/0.5014, allocations: 411.8 kB / 0.6171 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.925e-06/0.5015, allocations: 0.7969 kB / 0.6171 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001051/0.5025, allocations: 1.304 MB / 0.6184 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5026, allocations: 83.36 kB / 0.6185 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009775/0.5036, allocations: 1.288 MB / 0.6197 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.5036, allocations: 29.33 kB / 0.6198 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.5038, allocations: 284.4 kB / 0.62 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.5038, allocations: 21.66 kB / 0.6201 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.5041, allocations: 286.2 kB / 0.6203 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.988e-05/0.5041, allocations: 324 kB / 0.6206 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.5052, allocations: 1.37 MB / 0.622 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.5064, allocations: 1.505 MB / 0.6235 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006345/0.5127, allocations: 3.565 MB / 0.6269 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.5128, allocations: 0 / 0.6269 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003433/0.5162, allocations: 4.01 MB / 0.6309 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5162, allocations: 9.375 kB / 0.6309 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5163, allocations: 2.875 kB / 0.6309 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5163, allocations: 1 kB / 0.6309 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5164, allocations: 14.66 kB / 0.6309 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5164, allocations: 0.9688 kB / 0.6309 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.5169, allocations: 241.7 kB / 0.6311 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.517, allocations: 35.34 kB / 0.6311 GB, free: 28.13 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.000273/0.5172, allocations: 243.2 kB / 0.6314 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.5173, allocations: 74.81 kB / 0.6314 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.5176, allocations: 79.64 kB / 0.6315 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5176, allocations: 6.344 kB / 0.6315 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5176, allocations: 4.031 kB / 0.6315 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5176, allocations: 0 / 0.6315 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.518, allocations: 0.5168 MB / 0.632 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.518, allocations: 1.719 kB / 0.632 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-05/0.5181, allocations: 4.562 kB / 0.632 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5181, allocations: 5.812 kB / 0.632 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5181, allocations: 8.672 kB / 0.6321 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5181, allocations: 3.969 kB / 0.6321 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5181, allocations: 1.031 kB / 0.6321 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/0.5191, allocations: 1.004 MB / 0.633 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.5192, allocations: 160.3 kB / 0.6332 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.5193, allocations: 8.656 kB / 0.6332 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.5194, allocations: 3.531 kB / 0.6332 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.5195, allocations: 6.219 kB / 0.6332 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.5195, allocations: 20.78 kB / 0.6332 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007655/0.5203, allocations: 0.7234 MB / 0.6339 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5203, allocations: 0 / 0.6339 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001699/0.522, allocations: 0.5922 MB / 0.6345 GB, free: 26.95 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.001784/0.5238, allocations: 0.6885 MB / 0.6352 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.5261, allocations: 2.549 MB / 0.6377 GB, free: 25.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5261, allocations: 5.062 kB / 0.6377 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.5264, allocations: 336.5 kB / 0.638 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.5269, allocations: 61.03 kB / 0.6381 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.529, allocations: 2.087 MB / 0.6401 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.5294, allocations: 0.9843 MB / 0.6411 GB, free: 24.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.5296, allocations: 38.48 kB / 0.6411 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5297, allocations: 32.69 kB / 0.6411 GB, free: 24.17 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5297, allocations: 0.5625 kB / 0.6411 GB, free: 24.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.02421/0.554, allocations: 13.9 MB / 0.6547 GB, free: 23.32 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)