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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.646/1.646, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001053/0.001053, allocations: 180.8 kB / 361.4 MB, free: 6.852 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.412/1.412, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008077/0.0008079, allocations: 86.78 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.807e-05/4.815e-05, allocations: 4 kB / 0.8519 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6712/0.6712, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.8772, allocations: 152.2 MB / 1.113 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.8776, allocations: 114.7 kB / 1.113 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1075/0.9852, allocations: 24.84 MB / 1.137 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9852, allocations: 0 / 1.137 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.823e-05/0.9853, allocations: 20 kB / 1.137 GB, free: 10.65 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.003056/0.9884, allocations: 1.354 MB / 1.139 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.9884, allocations: 8.031 kB / 1.139 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.989, allocations: 159.8 kB / 1.139 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.9902, allocations: 0.6454 MB / 1.14 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.9902, allocations: 4 kB / 1.14 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.9903, allocations: 27.98 kB / 1.14 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004229/0.9908, allocations: 423.7 kB / 1.14 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.9911, allocations: 379.2 kB / 1.14 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9912, allocations: 0 / 1.14 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.9912, allocations: 3.984 kB / 1.14 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.9912, allocations: 0 / 1.14 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.9924, allocations: 0.9356 MB / 1.141 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.9929, allocations: 0.5594 MB / 1.142 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.9932, allocations: 325.7 kB / 1.142 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.9943, allocations: 1.036 MB / 1.143 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.9947, allocations: 396.9 kB / 1.144 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 3.527e-06/0.9947, allocations: 3.984 kB / 1.144 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001179/0.9959, allocations: 1.023 MB / 1.145 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.996, allocations: 77.11 kB / 1.145 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.9982, allocations: 1.529 MB / 1.146 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/0.9983, allocations: 29.7 kB / 1.146 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.9989, allocations: 478 kB / 1.147 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.9989, allocations: 25.14 kB / 1.147 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.999, allocations: 8.031 kB / 1.147 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.9992, allocations: 407 kB / 1.147 GB, free: 352 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/1.001, allocations: 1.452 MB / 1.148 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/1.003, allocations: 1.581 MB / 1.15 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/1.005, allocations: 1.841 MB / 1.152 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/1.005, allocations: 3.938 kB / 1.152 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00544/1.011, allocations: 3.964 MB / 1.156 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.011, allocations: 12.03 kB / 1.156 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.099e-05/1.011, allocations: 20 kB / 1.156 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/1.011, allocations: 4 kB / 1.156 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.011, allocations: 147.5 kB / 1.156 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/1.011, allocations: 4 kB / 1.156 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.013, allocations: 228.3 kB / 1.156 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/1.013, allocations: 91.98 kB / 1.156 GB, free: 6.941 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.0001735/1.013, allocations: 129.5 kB / 1.156 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001023/1.014, allocations: 1.007 MB / 1.157 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/1.014, allocations: 118 kB / 1.157 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/1.015, allocations: 0.9967 MB / 1.158 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.015, allocations: 4 kB / 1.158 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.015, allocations: 1.406 kB / 1.158 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/1.015, allocations: 3.984 kB / 1.158 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/1.016, allocations: 0.6518 MB / 1.159 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.016, allocations: 0 / 1.159 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/1.016, allocations: 8.031 kB / 1.159 GB, free: 3.957 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/1.016, allocations: 0 / 1.159 GB, free: 3.957 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/1.016, allocations: 11.92 kB / 1.159 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.016, allocations: 3.203 kB / 1.159 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.016, allocations: 0 / 1.159 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/1.017, allocations: 1.058 MB / 1.16 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/1.018, allocations: 219 kB / 1.16 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.018, allocations: 0 / 1.16 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/1.018, allocations: 11.98 kB / 1.16 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/1.018, allocations: 4 kB / 1.16 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/1.018, allocations: 15.97 kB / 1.16 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001295/1.019, allocations: 1.01 MB / 1.161 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.344e-06/1.019, allocations: 0 / 1.161 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001853/1.021, allocations: 0.5032 MB / 1.162 GB, free: 1.051 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.00378/1.025, allocations: 2.145 MB / 1.164 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002618/1.028, allocations: 2.478 MB / 1.166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.028, allocations: 0 / 1.166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/1.028, allocations: 331.8 kB / 1.167 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/1.029, allocations: 62.53 kB / 1.167 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/1.034, allocations: 2.53 MB / 1.169 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/1.035, allocations: 1.183 MB / 1.17 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004928/1.036, allocations: 122.4 kB / 1.17 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/1.036, allocations: 479.2 kB / 1.171 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/1.036, allocations: 0 / 1.171 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05734/1.094, allocations: 22.9 MB / 1.193 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/1.094, allocations: 242.3 kB / 1.193 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.925, allocations: 5.422 kB / 1.193 GB, free: 0.5117 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)