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.0009588/0.0009593, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001028/0.001028, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.27 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.9379/0.9379, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003183, allocations: 8 kB / 0.5166 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1655, allocations: 83.42 MB / 0.598 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001463/0.167, allocations: 1.148 MB / 0.5991 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006291/0.1733, allocations: 4.384 MB / 0.6034 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.1734, allocations: 3.938 kB / 0.6034 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1736, allocations: 15.92 kB / 0.6034 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1738, allocations: 27.84 kB / 0.6035 GB, free: 1.91 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.002893/0.1767, allocations: 1.182 MB / 0.6046 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1768, allocations: 119.7 kB / 0.6047 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.1769, allocations: 4 kB / 0.6047 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.177, allocations: 51.78 kB / 0.6048 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1772, allocations: 157 kB / 0.6049 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.1772, allocations: 12 kB / 0.605 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2923/0.4696, allocations: 2.181 MB / 0.6071 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.4698, allocations: 267.2 kB / 0.6073 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.47, allocations: 307.1 kB / 0.6076 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.4727, allocations: 2.154 MB / 0.6097 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4727, allocations: 3.625 kB / 0.6097 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4727, allocations: 0.7812 kB / 0.6097 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.4728, allocations: 3.938 kB / 0.6097 GB, free: 35.5 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.009763/0.4825, allocations: 1.243 MB / 0.611 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4826, allocations: 11.31 kB / 0.611 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.4826, allocations: 37.06 kB / 0.611 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.483, allocations: 85.02 kB / 0.6111 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4833, allocations: 365.2 kB / 0.6114 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.4833, allocations: 6.656 kB / 0.6114 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.4833, allocations: 8.906 kB / 0.6114 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.4837, allocations: 389.2 kB / 0.6118 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4837, allocations: 3.469 kB / 0.6118 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4837, allocations: 3.469 kB / 0.6118 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4837, allocations: 0.5625 kB / 0.6118 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.4841, allocations: 434.8 kB / 0.6122 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.4845, allocations: 0.6434 MB / 0.6129 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.4849, allocations: 0.566 MB / 0.6134 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.4852, allocations: 335.1 kB / 0.6137 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007456/0.4859, allocations: 1.034 MB / 0.6148 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.4862, allocations: 411.4 kB / 0.6151 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.4862, allocations: 1.25 kB / 0.6151 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001023/0.4873, allocations: 1.285 MB / 0.6164 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.4873, allocations: 87.47 kB / 0.6165 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.4882, allocations: 1.207 MB / 0.6177 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.4882, allocations: 28.23 kB / 0.6177 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4884, allocations: 265.7 kB / 0.6179 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.4884, allocations: 26.39 kB / 0.618 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4886, allocations: 291.5 kB / 0.6182 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.4887, allocations: 309.9 kB / 0.6185 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009896/0.4897, allocations: 1.371 MB / 0.6199 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4907, allocations: 1.502 MB / 0.6213 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.4967, allocations: 3.56 MB / 0.6248 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4967, allocations: 5.828 kB / 0.6248 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003659/0.5004, allocations: 4.001 MB / 0.6287 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5004, allocations: 12.38 kB / 0.6287 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.5005, allocations: 7.594 kB / 0.6288 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5005, allocations: 2.656 kB / 0.6288 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5006, allocations: 17.41 kB / 0.6288 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5006, allocations: 0.5625 kB / 0.6288 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.5011, allocations: 226.4 kB / 0.629 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.5012, allocations: 28.47 kB / 0.629 GB, free: 28.99 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.0002478/0.5014, allocations: 240.2 kB / 0.6292 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.5015, allocations: 71.84 kB / 0.6293 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.5017, allocations: 79.83 kB / 0.6294 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5017, allocations: 0 / 0.6294 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5018, allocations: 0 / 0.6294 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5018, allocations: 6.094 kB / 0.6294 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.5021, allocations: 0.4897 MB / 0.6299 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5021, allocations: 0 / 0.6299 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.5022, allocations: 13.64 kB / 0.6299 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5022, allocations: 4 kB / 0.6299 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5022, allocations: 3.219 kB / 0.6299 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5022, allocations: 0.5 kB / 0.6299 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5022, allocations: 0.7031 kB / 0.6299 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.5031, allocations: 1.004 MB / 0.6309 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.5032, allocations: 154.8 kB / 0.631 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.5032, allocations: 1.531 kB / 0.631 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5034, allocations: 7.531 kB / 0.631 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.5034, allocations: 3.469 kB / 0.631 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.5034, allocations: 13.42 kB / 0.631 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000649/0.5041, allocations: 0.6722 MB / 0.6317 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5041, allocations: 0 / 0.6317 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001898/0.506, allocations: 0.5859 MB / 0.6323 GB, free: 27.85 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.003352/0.5094, allocations: 2.147 MB / 0.6344 GB, free: 27.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.5116, allocations: 2.555 MB / 0.6369 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5117, allocations: 1.219 kB / 0.6369 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.512, allocations: 336.5 kB / 0.6372 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.5124, allocations: 37.83 kB / 0.6372 GB, free: 26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.5272, allocations: 15.25 MB / 0.6521 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5277, allocations: 0.9693 MB / 0.6531 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.5279, allocations: 34.34 kB / 0.6531 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.5281, allocations: 262 kB / 0.6534 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.011e-06/0.5281, allocations: 1.531 kB / 0.6534 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04348/0.5716, allocations: 23.2 MB / 0.676 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.5719, allocations: 337.6 kB / 0.6763 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.074, allocations: 4 kB / 0.6763 GB, free: 8.645 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)