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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, 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.001174/0.001174, allocations: 199.2 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.8595/0.8595, allocations: 143 MB / 433 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 55.91 kB / 0.5137 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 82.04 MB / 0.5938 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002473/0.1325, allocations: 1.804 MB / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006655/0.1392, allocations: 5.665 MB / 0.6011 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.1392, allocations: 7.938 kB / 0.6011 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008993/0.1401, allocations: 354.6 kB / 0.6014 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.1402, allocations: 55.78 kB / 0.6015 GB, free: 1.988 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.002219/0.1425, allocations: 1.175 MB / 0.6026 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1427, allocations: 211.3 kB / 0.6028 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1427, allocations: 9.562 kB / 0.6028 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.1428, allocations: 51.73 kB / 0.6029 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.143, allocations: 176.8 kB / 0.6031 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.143, allocations: 16 kB / 0.6031 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2151/0.3581, allocations: 2.181 MB / 0.6052 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.3583, allocations: 279.8 kB / 0.6055 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.3585, allocations: 306.5 kB / 0.6058 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.3604, allocations: 2.225 MB / 0.6079 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3604, allocations: 0 / 0.6079 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.02e-07/0.3604, allocations: 0 / 0.6079 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3604, allocations: 3.281 kB / 0.6079 GB, free: 36.96 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.006978/0.3674, allocations: 1.374 MB / 0.6093 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3675, allocations: 9.656 kB / 0.6093 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.218e-05/0.3675, allocations: 35.72 kB / 0.6093 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.3678, allocations: 98.44 kB / 0.6094 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3681, allocations: 406.8 kB / 0.6098 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3681, allocations: 3.125 kB / 0.6098 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.3682, allocations: 13.23 kB / 0.6098 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.3685, allocations: 391.6 kB / 0.6102 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3685, allocations: 2.875 kB / 0.6102 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3685, allocations: 0.6094 kB / 0.6102 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3685, allocations: 0 / 0.6102 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.3688, allocations: 439.6 kB / 0.6106 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.3692, allocations: 0.6607 MB / 0.6113 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.3696, allocations: 0.5666 MB / 0.6118 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3698, allocations: 340.1 kB / 0.6121 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/0.3705, allocations: 1.027 MB / 0.6131 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.3708, allocations: 412.5 kB / 0.6135 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3708, allocations: 3.656 kB / 0.6135 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0009003/0.3717, allocations: 1.296 MB / 0.6148 GB, free: 34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3717, allocations: 81.2 kB / 0.6149 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.3725, allocations: 1.295 MB / 0.6161 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3726, allocations: 28.45 kB / 0.6162 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3727, allocations: 285 kB / 0.6164 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3727, allocations: 18.73 kB / 0.6165 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.3729, allocations: 353.5 kB / 0.6168 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.373, allocations: 322.1 kB / 0.6171 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/0.3739, allocations: 1.374 MB / 0.6184 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.3748, allocations: 1.503 MB / 0.6199 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005719/0.3805, allocations: 3.556 MB / 0.6234 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3805, allocations: 0 / 0.6234 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002958/0.3835, allocations: 4.018 MB / 0.6273 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3835, allocations: 5.844 kB / 0.6273 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3835, allocations: 3.391 kB / 0.6273 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3835, allocations: 7.156 kB / 0.6273 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3836, allocations: 14.88 kB / 0.6273 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3837, allocations: 6.688 kB / 0.6273 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.384, allocations: 229.8 kB / 0.6276 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.3841, allocations: 28.84 kB / 0.6276 GB, free: 29.14 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.0002163/0.3843, allocations: 244 kB / 0.6278 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.3843, allocations: 75.94 kB / 0.6279 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3846, allocations: 86.78 kB / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3846, allocations: 0.6562 kB / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3846, allocations: 0 / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3846, allocations: 3.406 kB / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.3849, allocations: 0.5156 MB / 0.6285 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3849, allocations: 0.75 kB / 0.6285 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.385, allocations: 8.906 kB / 0.6285 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.385, allocations: 5.344 kB / 0.6285 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.385, allocations: 5.531 kB / 0.6285 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.385, allocations: 3.156 kB / 0.6285 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.385, allocations: 1.219 kB / 0.6285 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.3858, allocations: 1.007 MB / 0.6295 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.3859, allocations: 170.6 kB / 0.6297 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.386, allocations: 1.344 kB / 0.6297 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3861, allocations: 3.344 kB / 0.6297 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3862, allocations: 11.52 kB / 0.6297 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.3862, allocations: 13.84 kB / 0.6297 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006632/0.3869, allocations: 0.7234 MB / 0.6304 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3869, allocations: 0 / 0.6304 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001298/0.3882, allocations: 0.5869 MB / 0.631 GB, free: 27.96 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.002478/0.3906, allocations: 2.146 MB / 0.6331 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.3925, allocations: 2.559 MB / 0.6356 GB, free: 26.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3925, allocations: 0 / 0.6356 GB, free: 26.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.3928, allocations: 340.3 kB / 0.6359 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3931, allocations: 52.86 kB / 0.6359 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.4056, allocations: 15.28 MB / 0.6509 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4059, allocations: 0.9949 MB / 0.6518 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.4061, allocations: 43.36 kB / 0.6519 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4063, allocations: 287.3 kB / 0.6521 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4063, allocations: 1.406 kB / 0.6521 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.4432, allocations: 23.59 MB / 0.6752 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.4434, allocations: 350.3 kB / 0.6755 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.753, allocations: 0 / 0.6755 GB, free: 8.266 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)