Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001056/0.001056, allocations: 176.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007985/0.0007987, allocations: 95.86 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.696e-05, allocations: 11.98 kB / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6591, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.873, allocations: 152.1 MB / 1.113 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/0.8734, allocations: 119.5 kB / 1.113 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08233/0.9557, allocations: 21.68 MB / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9558, allocations: 0 / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.9558, allocations: 16 kB / 1.134 GB, free: 13.91 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.002246/0.9581, allocations: 1.01 MB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.9582, allocations: 8.031 kB / 1.135 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.9586, allocations: 98.75 kB / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.9592, allocations: 432.8 kB / 1.136 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.9592, allocations: 4 kB / 1.136 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.9593, allocations: 20 kB / 1.136 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004255/0.9597, allocations: 421.2 kB / 1.136 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.9602, allocations: 383.1 kB / 1.137 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9602, allocations: 0 / 1.137 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.9602, allocations: 0 / 1.137 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.9602, allocations: 8 kB / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.961, allocations: 0.6904 MB / 1.137 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.9615, allocations: 0.5516 MB / 1.138 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.9618, allocations: 329.7 kB / 1.138 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.963, allocations: 1.044 MB / 1.139 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.9634, allocations: 396.9 kB / 1.14 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.9634, allocations: 0 / 1.14 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001137/0.9646, allocations: 0.9661 MB / 1.141 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.9647, allocations: 89.12 kB / 1.141 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.9657, allocations: 0.9973 MB / 1.142 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.9658, allocations: 33.69 kB / 1.142 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.966, allocations: 258.1 kB / 1.142 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.9661, allocations: 23.73 kB / 1.142 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.9661, allocations: 0 / 1.142 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.9663, allocations: 411.8 kB / 1.142 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.9676, allocations: 1.186 MB / 1.143 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.9689, allocations: 1.332 MB / 1.145 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.9705, allocations: 1.587 MB / 1.146 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9705, allocations: 3.938 kB / 1.146 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004023/0.9745, allocations: 3.383 MB / 1.15 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.9746, allocations: 4 kB / 1.15 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.9746, allocations: 4 kB / 1.15 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.9746, allocations: 4 kB / 1.15 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.9753, allocations: 143.8 kB / 1.15 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.9753, allocations: 10.28 kB / 1.15 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.9759, allocations: 220.4 kB / 1.15 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.976, allocations: 59.97 kB / 1.15 GB, free: 13.34 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.0001429/0.9761, allocations: 120.8 kB / 1.15 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009129/0.977, allocations: 0.953 MB / 1.151 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.9771, allocations: 62.78 kB / 1.151 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/0.9781, allocations: 0.9282 MB / 1.152 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9781, allocations: 0 / 1.152 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9781, allocations: 4 kB / 1.152 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.9781, allocations: 3.984 kB / 1.152 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.9786, allocations: 476.1 kB / 1.153 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9786, allocations: 0 / 1.153 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.9787, allocations: 7.984 kB / 1.153 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.9787, allocations: 0 / 1.153 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.9787, allocations: 9.875 kB / 1.153 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9787, allocations: 0 / 1.153 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.9788, allocations: 4.031 kB / 1.153 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.9796, allocations: 0.9981 MB / 1.154 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.9797, allocations: 151.9 kB / 1.154 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.9798, allocations: 6.062 kB / 1.154 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.98, allocations: 11.98 kB / 1.154 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.98, allocations: 11.98 kB / 1.154 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.9801, allocations: 11.98 kB / 1.154 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006378/0.9807, allocations: 0.5947 MB / 1.154 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.613e-06/0.9807, allocations: 0 / 1.154 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001721/0.9824, allocations: 479.3 kB / 1.155 GB, free: 8.422 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.003148/0.9856, allocations: 2.093 MB / 1.157 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00235/0.988, allocations: 2.322 MB / 1.159 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.988, allocations: 0 / 1.159 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.9883, allocations: 331.8 kB / 1.159 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.9886, allocations: 38.91 kB / 1.159 GB, free: 3.602 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.9913, allocations: 1.769 MB / 1.161 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.992, allocations: 0.9853 MB / 1.162 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.9922, allocations: 55.38 kB / 1.162 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.9925, allocations: 280.8 kB / 1.162 GB, free: 448 kB / 0.7605 GB Notification: Performance of SimCode: time 8.02e-07/0.9926, allocations: 0 / 1.162 GB, free: 448 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/1.035, allocations: 16.09 MB / 1.178 GB, free: 448 kB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.035, allocations: 239.7 kB / 1.178 GB, free: 160 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.726, allocations: 1.688 kB / 1.178 GB, free: 160 kB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)