Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_10_Buildings_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.0008095/0.0008097, allocations: 91.84 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.005262/0.005262, allocations: 169.6 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 12 kB / 0.873 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5689, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001306/0.5702, allocations: 1.16 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00577/0.576, allocations: 4.408 MB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.576, allocations: 3.938 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.061e-05/0.5761, allocations: 3.938 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.5763, allocations: 31.89 kB / 1.029 GB, free: 10.2 MB / 0.7794 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.002807/0.5792, allocations: 1.178 MB / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.5793, allocations: 123.6 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.5793, allocations: 11.98 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.5794, allocations: 35.86 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.5796, allocations: 164.9 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.5797, allocations: 16 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.5823, allocations: 2.18 MB / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.5825, allocations: 271.8 kB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.5827, allocations: 304 kB / 1.033 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.5848, allocations: 2.157 MB / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.5848, allocations: 0 / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5848, allocations: 0 / 1.035 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5848, allocations: 0 / 1.035 GB, free: 3.766 MB / 0.7794 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.01013/0.5949, allocations: 1.246 MB / 1.036 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.595, allocations: 11.98 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.595, allocations: 34.75 kB / 1.036 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.5954, allocations: 83.69 kB / 1.036 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.5957, allocations: 372.9 kB / 1.037 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5957, allocations: 8.359 kB / 1.037 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.5958, allocations: 8.375 kB / 1.037 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.5962, allocations: 395.2 kB / 1.037 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.5962, allocations: 4 kB / 1.037 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5962, allocations: 3.984 kB / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5962, allocations: 0 / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.5966, allocations: 431.8 kB / 1.037 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.5971, allocations: 0.6366 MB / 1.038 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.5976, allocations: 0.5594 MB / 1.039 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.5979, allocations: 333.7 kB / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008933/0.5988, allocations: 1.04 MB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/0.5992, allocations: 412.8 kB / 1.04 GB, free: 13.79 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.5992, allocations: 4 kB / 1.04 GB, free: 13.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.001168/0.6004, allocations: 1.285 MB / 1.042 GB, free: 12.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.6004, allocations: 85.11 kB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6015, allocations: 1.218 MB / 1.043 GB, free: 11.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.6015, allocations: 37.64 kB / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.6017, allocations: 261.5 kB / 1.043 GB, free: 10.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.6017, allocations: 23.78 kB / 1.043 GB, free: 10.83 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.602, allocations: 287.7 kB / 1.043 GB, free: 10.55 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.602, allocations: 314 kB / 1.044 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.6032, allocations: 1.369 MB / 1.045 GB, free: 8.863 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.6043, allocations: 1.505 MB / 1.047 GB, free: 7.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006445/0.6108, allocations: 3.56 MB / 1.05 GB, free: 3.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.6108, allocations: 0 / 1.05 GB, free: 3.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003798/0.6146, allocations: 4.006 MB / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6147, allocations: 4 kB / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6147, allocations: 0 / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6147, allocations: 8.031 kB / 1.054 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.6148, allocations: 19.98 kB / 1.054 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6148, allocations: 0 / 1.054 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.6153, allocations: 236.2 kB / 1.054 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.6154, allocations: 27.98 kB / 1.054 GB, free: 15.36 MB / 0.8106 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.0002699/0.6156, allocations: 238.1 kB / 1.054 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.6157, allocations: 66.72 kB / 1.055 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.6159, allocations: 83.05 kB / 1.055 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.616, allocations: 4 kB / 1.055 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.616, allocations: 0 / 1.055 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.616, allocations: 0 / 1.055 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.6164, allocations: 0.4892 MB / 1.055 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6164, allocations: 3.938 kB / 1.055 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.6165, allocations: 8 kB / 1.055 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6165, allocations: 3.984 kB / 1.055 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6165, allocations: 8.031 kB / 1.055 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6165, allocations: 0 / 1.055 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6165, allocations: 7.875 kB / 1.055 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/0.6173, allocations: 0.9936 MB / 1.056 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.6174, allocations: 151.8 kB / 1.056 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.6175, allocations: 4 kB / 1.056 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.6176, allocations: 11.98 kB / 1.056 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.6177, allocations: 4 kB / 1.056 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.6177, allocations: 15.97 kB / 1.056 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006383/0.6183, allocations: 0.6689 MB / 1.057 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6184, allocations: 0 / 1.057 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001314/0.6197, allocations: 0.5857 MB / 1.057 GB, free: 11.91 MB / 0.8106 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.002736/0.6224, allocations: 2.144 MB / 1.06 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.6245, allocations: 2.552 MB / 1.062 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6245, allocations: 0 / 1.062 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.6248, allocations: 343.7 kB / 1.062 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.6251, allocations: 32.61 kB / 1.062 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.6391, allocations: 15.26 MB / 1.077 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.6396, allocations: 0.972 MB / 1.078 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.6398, allocations: 32.5 kB / 1.078 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.6401, allocations: 267.3 kB / 1.079 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/0.6401, allocations: 0 / 1.079 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.309/1.949, allocations: 23.05 MB / 1.101 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004284/1.949, allocations: 338.1 kB / 1.101 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/4.407, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)