Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_100boreholes,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.00212/0.00212, allocations: 199.9 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.03 kB / 0.6711 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2514, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002456/0.2539, allocations: 1.477 MB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.2583, allocations: 3.076 MB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.2584, allocations: 0 / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.481e-05/0.2585, allocations: 7.922 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.2587, allocations: 27.91 kB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.2611, allocations: 0.8891 MB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2612, allocations: 87.67 kB / 0.7884 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.2613, allocations: 4 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.2613, allocations: 39.89 kB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.2616, allocations: 224.8 kB / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.2617, allocations: 16 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.2634, allocations: 1.42 MB / 0.7901 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.264, allocations: 0.6796 MB / 0.7908 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.2644, allocations: 445 kB / 0.7912 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.2662, allocations: 1.787 MB / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2662, allocations: 0 / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2662, allocations: 0 / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.2662, allocations: 3.938 kB / 0.7929 GB, free: 3.582 MB / 0.6075 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.008861/0.2751, allocations: 1.694 MB / 0.7946 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2751, allocations: 8.031 kB / 0.7946 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.2752, allocations: 42.69 kB / 0.7946 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.2756, allocations: 146.9 kB / 0.7948 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.2761, allocations: 0.5211 MB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2761, allocations: 4.375 kB / 0.7953 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.2761, allocations: 4.375 kB / 0.7953 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.2765, allocations: 391.3 kB / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2766, allocations: 3.938 kB / 0.7957 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2766, allocations: 8 kB / 0.7957 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.2766, allocations: 4 kB / 0.7957 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.277, allocations: 431.7 kB / 0.7961 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.2777, allocations: 0.8036 MB / 0.7969 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.2782, allocations: 0.5672 MB / 0.7974 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.2786, allocations: 337.7 kB / 0.7978 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.2798, allocations: 1.024 MB / 0.7988 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.2802, allocations: 408.8 kB / 0.7992 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2802, allocations: 0 / 0.7992 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001414/0.2816, allocations: 1.343 MB / 0.8005 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.2817, allocations: 85.23 kB / 0.8005 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.2834, allocations: 1.839 MB / 0.8023 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.2835, allocations: 41.61 kB / 0.8024 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.2838, allocations: 477.2 kB / 0.8028 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.2838, allocations: 15.81 kB / 0.8028 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.2841, allocations: 347.5 kB / 0.8032 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2843, allocations: 309.1 kB / 0.8035 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.2855, allocations: 1.518 MB / 0.805 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.2869, allocations: 1.638 MB / 0.8066 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006827/0.2937, allocations: 3.69 MB / 0.8102 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.2937, allocations: 4 kB / 0.8102 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0042/0.298, allocations: 4.327 MB / 0.8144 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.298, allocations: 4 kB / 0.8144 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.298, allocations: 4 kB / 0.8144 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.298, allocations: 0 / 0.8144 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2982, allocations: 15.98 kB / 0.8144 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2982, allocations: 3.938 kB / 0.8144 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.2988, allocations: 236.3 kB / 0.8146 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.2989, allocations: 19.98 kB / 0.8147 GB, free: 12.62 MB / 0.6387 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 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.000448/0.2993, allocations: 369.5 kB / 0.815 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2994, allocations: 126 kB / 0.8151 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.2997, allocations: 145 kB / 0.8153 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2998, allocations: 4 kB / 0.8153 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2998, allocations: 0 / 0.8153 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2998, allocations: 4.031 kB / 0.8153 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.3003, allocations: 0.6756 MB / 0.8159 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3004, allocations: 3.938 kB / 0.8159 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.3004, allocations: 7.984 kB / 0.8159 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3004, allocations: 4 kB / 0.816 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3005, allocations: 4 kB / 0.816 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.3005, allocations: 3.938 kB / 0.816 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3005, allocations: 7.984 kB / 0.816 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/0.3014, allocations: 1.051 MB / 0.817 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3015, allocations: 203 kB / 0.8172 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.3016, allocations: 3.984 kB / 0.8172 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.3018, allocations: 7.984 kB / 0.8172 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.3018, allocations: 11.98 kB / 0.8172 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.3019, allocations: 11.98 kB / 0.8172 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00105/0.3029, allocations: 1.104 MB / 0.8183 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3029, allocations: 0 / 0.8183 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001033/0.304, allocations: 435.8 kB / 0.8187 GB, free: 8.312 MB / 0.6387 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.002243/0.3062, allocations: 1.981 MB / 0.8207 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.3085, allocations: 2.652 MB / 0.8232 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3085, allocations: 4.062 kB / 0.8232 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.3088, allocations: 335.8 kB / 0.8236 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3092, allocations: 50.69 kB / 0.8236 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2811/0.5903, allocations: 36.61 MB / 0.8594 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/0.5911, allocations: 1.153 MB / 0.8605 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.5914, allocations: 36.56 kB / 0.8605 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.5918, allocations: 435.3 kB / 0.8609 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of SimCode: time 9.22e-07/0.5918, allocations: 0 / 0.8609 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0809/0.6728, allocations: 59.65 MB / 0.9192 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.673, allocations: 288 kB / 0.9195 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.324, allocations: 0 / 0.9195 GB, free: 0.9219 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)