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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001453/0.001453, allocations: 194.3 kB / 16.13 MB, free: 6.664 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.227/1.227, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.8581/0.8581, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.91 kB / 0.5137 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 82.03 MB / 0.5938 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002125/0.1264, allocations: 1.499 MB / 0.5952 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005712/0.1321, allocations: 4.47 MB / 0.5996 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.1322, allocations: 7.938 kB / 0.5996 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.293e-05/0.1323, allocations: 11.92 kB / 0.5996 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.1325, allocations: 23.91 kB / 0.5996 GB, free: 3.883 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.002325/0.1348, allocations: 1.193 MB / 0.6008 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.1349, allocations: 119.7 kB / 0.6009 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.135, allocations: 7.984 kB / 0.6009 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.135, allocations: 39.8 kB / 0.601 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1352, allocations: 160.9 kB / 0.6011 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.1353, allocations: 16 kB / 0.6011 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.1378, allocations: 2.176 MB / 0.6033 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.2236/0.3614, allocations: 264.9 kB / 0.6035 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.3616, allocations: 284.6 kB / 0.6038 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.3648, allocations: 2.159 MB / 0.6059 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3648, allocations: 1.062 kB / 0.6059 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3648, allocations: 0 / 0.6059 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.3649, allocations: 3.938 kB / 0.6059 GB, free: 37.87 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.007333/0.3722, allocations: 1.295 MB / 0.6072 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3723, allocations: 8.688 kB / 0.6072 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.3723, allocations: 37.28 kB / 0.6072 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.3727, allocations: 88.3 kB / 0.6073 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.373, allocations: 372.1 kB / 0.6076 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.373, allocations: 1.156 kB / 0.6076 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.3731, allocations: 10.22 kB / 0.6077 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.3734, allocations: 394.2 kB / 0.608 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3734, allocations: 1.562 kB / 0.608 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3734, allocations: 6.188 kB / 0.608 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3734, allocations: 0 / 0.608 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.3738, allocations: 434.9 kB / 0.6085 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.3742, allocations: 0.6341 MB / 0.6091 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.3746, allocations: 0.5647 MB / 0.6096 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.3748, allocations: 340.5 kB / 0.6099 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008135/0.3757, allocations: 1.03 MB / 0.611 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.376, allocations: 404.2 kB / 0.6113 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.376, allocations: 3.812 kB / 0.6113 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0009821/0.377, allocations: 1.293 MB / 0.6126 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.377, allocations: 77.11 kB / 0.6127 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/0.3779, allocations: 1.209 MB / 0.6139 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.3779, allocations: 31.77 kB / 0.6139 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3781, allocations: 262.6 kB / 0.6141 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3781, allocations: 24.83 kB / 0.6142 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.3784, allocations: 355.2 kB / 0.6145 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.3784, allocations: 309.2 kB / 0.6148 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/0.3793, allocations: 1.372 MB / 0.6161 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009802/0.3803, allocations: 1.505 MB / 0.6176 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005928/0.3863, allocations: 3.565 MB / 0.6211 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3863, allocations: 0 / 0.6211 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00324/0.3895, allocations: 4.003 MB / 0.625 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3895, allocations: 9.969 kB / 0.625 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.3896, allocations: 6.922 kB / 0.625 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3896, allocations: 0.6875 kB / 0.625 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3897, allocations: 15.78 kB / 0.625 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3897, allocations: 3.281 kB / 0.625 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.3901, allocations: 228.9 kB / 0.6253 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.3902, allocations: 25.81 kB / 0.6253 GB, free: 30.43 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.0002407/0.3904, allocations: 245.7 kB / 0.6255 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.3905, allocations: 67.84 kB / 0.6256 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.3907, allocations: 72.09 kB / 0.6256 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3908, allocations: 3.281 kB / 0.6256 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3908, allocations: 2.531 kB / 0.6257 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3908, allocations: 4.781 kB / 0.6257 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.3911, allocations: 0.4929 MB / 0.6261 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3911, allocations: 0 / 0.6261 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.3912, allocations: 9.156 kB / 0.6261 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3912, allocations: 2.5 kB / 0.6261 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3912, allocations: 8.781 kB / 0.6262 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3912, allocations: 0 / 0.6262 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3912, allocations: 0 / 0.6262 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.3919, allocations: 0.9991 MB / 0.6271 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.392, allocations: 153.9 kB / 0.6273 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.392, allocations: 5.094 kB / 0.6273 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3922, allocations: 3.312 kB / 0.6273 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.3922, allocations: 9.297 kB / 0.6273 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.3923, allocations: 13.59 kB / 0.6273 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006163/0.3929, allocations: 0.6727 MB / 0.628 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3929, allocations: 0 / 0.628 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001487/0.3944, allocations: 0.5913 MB / 0.6285 GB, free: 29.29 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.003239/0.3976, allocations: 2.143 MB / 0.6306 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.3997, allocations: 2.551 MB / 0.6331 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3997, allocations: 1.969 kB / 0.6331 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.4, allocations: 340.6 kB / 0.6335 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4004, allocations: 39.75 kB / 0.6335 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.4141, allocations: 15.25 MB / 0.6484 GB, free: 20.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4145, allocations: 0.9652 MB / 0.6493 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.4147, allocations: 41.97 kB / 0.6494 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.4149, allocations: 268.5 kB / 0.6496 GB, free: 19.56 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.415, allocations: 0 / 0.6496 GB, free: 19.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04302/0.458, allocations: 23.38 MB / 0.6725 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.4582, allocations: 345.3 kB / 0.6728 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.74, allocations: 0 / 0.6728 GB, free: 11.84 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)