Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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/Buildings 8.0.0/package.mo): time 2.488/2.488, allocations: 284.9 MB / 292.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 180.8 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.3 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 89.02 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.699e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8169, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2618/1.079, allocations: 152 MB / 1.112 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004202/1.079, allocations: 115.5 kB / 1.112 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1403/1.22, allocations: 21.67 MB / 1.133 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.963e-06/1.22, allocations: 0 / 1.133 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.506e-05/1.22, allocations: 16 kB / 1.133 GB, free: 14.7 MB / 0.7448 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.003118/1.223, allocations: 1.012 MB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.223, allocations: 15.97 kB / 1.134 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005712/1.223, allocations: 94.7 kB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/1.224, allocations: 435.5 kB / 1.135 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/1.224, allocations: 0 / 1.135 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.225, allocations: 24 kB / 1.135 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005987/1.225, allocations: 422 kB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/1.226, allocations: 383.2 kB / 1.135 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.226, allocations: 3.938 kB / 1.135 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/1.226, allocations: 0 / 1.135 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.226, allocations: 7.938 kB / 1.135 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/1.227, allocations: 0.6904 MB / 1.136 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/1.228, allocations: 0.5516 MB / 1.137 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/1.228, allocations: 336.9 kB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/1.23, allocations: 1.032 MB / 1.138 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005606/1.23, allocations: 398.7 kB / 1.138 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.585e-06/1.23, allocations: 4 kB / 1.138 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001519/1.232, allocations: 0.957 MB / 1.139 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/1.232, allocations: 89.03 kB / 1.139 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.234, allocations: 1.001 MB / 1.14 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.234, allocations: 25.7 kB / 1.14 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/1.234, allocations: 266.1 kB / 1.141 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/1.234, allocations: 19.75 kB / 1.141 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/1.234, allocations: 0 / 1.141 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.234, allocations: 419.8 kB / 1.141 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/1.236, allocations: 1.19 MB / 1.142 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/1.239, allocations: 1.324 MB / 1.144 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/1.241, allocations: 1.583 MB / 1.145 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/1.241, allocations: 7.938 kB / 1.145 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006531/1.248, allocations: 3.383 MB / 1.148 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/1.248, allocations: 4 kB / 1.148 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/1.248, allocations: 4 kB / 1.148 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.248, allocations: 7.984 kB / 1.148 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.25, allocations: 139.8 kB / 1.149 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.25, allocations: 4 kB / 1.149 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.251, allocations: 224.4 kB / 1.149 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.251, allocations: 51.98 kB / 1.149 GB, free: 14.12 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001949/1.251, allocations: 133.6 kB / 1.149 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001313/1.252, allocations: 0.9491 MB / 1.15 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/1.252, allocations: 66.78 kB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/1.254, allocations: 0.9261 MB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/1.254, allocations: 4 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.254, allocations: 2.906 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.254, allocations: 0 / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/1.255, allocations: 484.1 kB / 1.151 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.255, allocations: 0 / 1.151 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/1.255, allocations: 7.984 kB / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/1.255, allocations: 4 kB / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.255, allocations: 0 / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.255, allocations: 0 / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.255, allocations: 4 kB / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/1.256, allocations: 1.009 MB / 1.152 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/1.257, allocations: 147.9 kB / 1.152 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/1.257, allocations: 0 / 1.152 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/1.257, allocations: 11.98 kB / 1.152 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/1.257, allocations: 4 kB / 1.152 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/1.257, allocations: 15.97 kB / 1.152 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001085/1.258, allocations: 0.5947 MB / 1.153 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.425e-06/1.258, allocations: 4 kB / 1.153 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002073/1.26, allocations: 483.3 kB / 1.154 GB, free: 9.188 MB / 0.7605 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004399/1.265, allocations: 2.079 MB / 1.156 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003618/1.268, allocations: 2.33 MB / 1.158 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.268, allocations: 0 / 1.158 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004566/1.269, allocations: 338.7 kB / 1.158 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/1.269, allocations: 32.5 kB / 1.158 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/1.274, allocations: 1.778 MB / 1.16 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/1.274, allocations: 0.9853 MB / 1.161 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003823/1.275, allocations: 51.38 kB / 1.161 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/1.275, allocations: 275.3 kB / 1.161 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/1.275, allocations: 4 kB / 1.161 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08871/1.364, allocations: 16.08 MB / 1.177 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003827/1.365, allocations: 233.6 kB / 1.177 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/4.824, allocations: 0 / 1.177 GB, free: 0.9375 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)