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.0008609/0.0008609, allocations: 90.52 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.005599/0.005599, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.9623/0.9623, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004576, allocations: 12 kB / 0.5166 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 83.4 MB / 0.598 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001644/0.1421, allocations: 1.467 MB / 0.5994 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006773/0.1489, allocations: 5.547 MB / 0.6049 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.149, allocations: 7.938 kB / 0.6049 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009435/0.1499, allocations: 362.6 kB / 0.6052 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/0.15, allocations: 55.73 kB / 0.6053 GB, free: 76 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.254/0.4041, allocations: 1.168 MB / 0.6064 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.4044, allocations: 197.7 kB / 0.6066 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.4044, allocations: 11.88 kB / 0.6066 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.4045, allocations: 59.08 kB / 0.6067 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.4047, allocations: 177 kB / 0.6068 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.4047, allocations: 20.03 kB / 0.6068 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.407, allocations: 2.185 MB / 0.609 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.4072, allocations: 282.8 kB / 0.6093 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.4074, allocations: 330.5 kB / 0.6096 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.4093, allocations: 2.225 MB / 0.6117 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4094, allocations: 0 / 0.6117 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4094, allocations: 1.219 kB / 0.6117 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4094, allocations: 1.406 kB / 0.6117 GB, free: 34.79 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.00985/0.4192, allocations: 1.304 MB / 0.613 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4193, allocations: 12.59 kB / 0.613 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.4193, allocations: 33.69 kB / 0.6131 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.4197, allocations: 92.34 kB / 0.6131 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.4201, allocations: 423.1 kB / 0.6136 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4201, allocations: 6.75 kB / 0.6136 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.4201, allocations: 3.219 kB / 0.6136 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.4205, allocations: 399.9 kB / 0.6139 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4205, allocations: 0 / 0.6139 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4205, allocations: 0 / 0.6139 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4205, allocations: 0.6562 kB / 0.6139 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.4209, allocations: 439 kB / 0.6144 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.4213, allocations: 0.6625 MB / 0.615 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.4217, allocations: 0.565 MB / 0.6156 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.4219, allocations: 334 kB / 0.6159 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007086/0.4226, allocations: 1.037 MB / 0.6169 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.4229, allocations: 408.7 kB / 0.6173 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4229, allocations: 0 / 0.6173 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00107/0.424, allocations: 1.299 MB / 0.6186 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.4241, allocations: 90.36 kB / 0.6186 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.425, allocations: 1.286 MB / 0.6199 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.425, allocations: 29.14 kB / 0.6199 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.4252, allocations: 286.5 kB / 0.6202 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.4253, allocations: 24.91 kB / 0.6202 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.4255, allocations: 288.8 kB / 0.6205 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.4255, allocations: 320.9 kB / 0.6208 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009319/0.4265, allocations: 1.374 MB / 0.6221 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4275, allocations: 1.505 MB / 0.6236 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005939/0.4335, allocations: 3.556 MB / 0.6271 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4335, allocations: 0 / 0.6271 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003124/0.4366, allocations: 4.019 MB / 0.631 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4366, allocations: 5 kB / 0.631 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4367, allocations: 2.344 kB / 0.631 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4367, allocations: 5.25 kB / 0.631 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4368, allocations: 15.53 kB / 0.631 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4368, allocations: 4.781 kB / 0.631 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.4372, allocations: 230.3 kB / 0.6313 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.4373, allocations: 28.72 kB / 0.6313 GB, free: 27.94 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.0002535/0.4376, allocations: 250.3 kB / 0.6315 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.4376, allocations: 78.17 kB / 0.6316 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.4379, allocations: 81.45 kB / 0.6317 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4379, allocations: 3.375 kB / 0.6317 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4379, allocations: 0 / 0.6317 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4379, allocations: 4.031 kB / 0.6317 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.4383, allocations: 0.5145 MB / 0.6322 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4383, allocations: 0.6562 kB / 0.6322 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.4384, allocations: 13.05 kB / 0.6322 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4384, allocations: 0.6562 kB / 0.6322 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4384, allocations: 9.703 kB / 0.6322 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4384, allocations: 0.5625 kB / 0.6322 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4384, allocations: 0.75 kB / 0.6322 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.4393, allocations: 1.005 MB / 0.6332 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.4394, allocations: 159.1 kB / 0.6333 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.4395, allocations: 6.156 kB / 0.6334 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4396, allocations: 6.469 kB / 0.6334 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.4397, allocations: 7.375 kB / 0.6334 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.4397, allocations: 19.97 kB / 0.6334 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007088/0.4404, allocations: 0.7233 MB / 0.6341 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4404, allocations: 0 / 0.6341 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00152/0.442, allocations: 0.587 MB / 0.6347 GB, free: 26.76 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.002745/0.4447, allocations: 2.162 MB / 0.6368 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.4467, allocations: 2.547 MB / 0.6393 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4468, allocations: 1.094 kB / 0.6393 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.4471, allocations: 342 kB / 0.6396 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4475, allocations: 55.7 kB / 0.6396 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.4604, allocations: 15.31 MB / 0.6546 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.4609, allocations: 0.9872 MB / 0.6556 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.461, allocations: 36.97 kB / 0.6556 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.4613, allocations: 290.6 kB / 0.6559 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.4613, allocations: 0 / 0.6559 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/0.6507, allocations: 23.4 MB / 0.6787 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.651, allocations: 344 kB / 0.679 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.068, allocations: 2.922 kB / 0.679 GB, free: 5.312 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)