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_SmallScaleValidation.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007714/0.0007715, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008419/0.0008419, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.612/1.612, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004693/0.0004693, allocations: 24.06 kB / 0.6738 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1903, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00171/0.192, allocations: 1.42 MB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.1966, allocations: 3.931 MB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1967, allocations: 4 kB / 0.7926 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.1975, allocations: 310.4 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.619e-05/0.1976, allocations: 51.73 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.199, allocations: 0.753 MB / 0.7936 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1993, allocations: 163.4 kB / 0.7938 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1993, allocations: 9.562 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.078e-05/0.1994, allocations: 55.77 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1996, allocations: 187.6 kB / 0.794 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1996, allocations: 20 kB / 0.794 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.2012, allocations: 1.306 MB / 0.7953 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2014, allocations: 263.2 kB / 0.7956 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2016, allocations: 125.1 kB / 0.7957 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009926/0.2026, allocations: 1.033 MB / 0.7967 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2026, allocations: 4 kB / 0.7967 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2026, allocations: 0 / 0.7967 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2026, allocations: 0 / 0.7967 GB, free: 2.234 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.006619/0.2092, allocations: 1.222 MB / 0.7979 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.2092, allocations: 8.031 kB / 0.7979 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.2096, allocations: 90.66 kB / 0.798 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.21, allocations: 404.8 kB / 0.7984 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.21, allocations: 7.938 kB / 0.7984 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.21, allocations: 8 kB / 0.7984 GB, free: 412 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.2104, allocations: 383.2 kB / 0.7988 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2104, allocations: 7.922 kB / 0.7988 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2104, allocations: 4 kB / 0.7988 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2104, allocations: 0 / 0.7988 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.2109, allocations: 439.7 kB / 0.7992 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.2114, allocations: 0.6652 MB / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.2119, allocations: 0.5594 MB / 0.8004 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.2122, allocations: 337.7 kB / 0.8007 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008789/0.2131, allocations: 1.036 MB / 0.8017 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.2135, allocations: 416.8 kB / 0.8021 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2135, allocations: 0 / 0.8021 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001175/0.2147, allocations: 1.289 MB / 0.8034 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2147, allocations: 85.05 kB / 0.8035 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.2158, allocations: 1.273 MB / 0.8047 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.2159, allocations: 37.69 kB / 0.8047 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.2161, allocations: 281.4 kB / 0.805 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.2161, allocations: 19.75 kB / 0.805 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.2161, allocations: 0 / 0.805 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2163, allocations: 435.8 kB / 0.8054 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.2174, allocations: 1.354 MB / 0.8068 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.2186, allocations: 1.501 MB / 0.8082 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.2201, allocations: 1.887 MB / 0.8101 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2201, allocations: 0 / 0.8101 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003785/0.2239, allocations: 3.949 MB / 0.8139 GB, free: 48 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2239, allocations: 4 kB / 0.8139 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2239, allocations: 8.031 kB / 0.8139 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2239, allocations: 0 / 0.8139 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.2241, allocations: 19.98 kB / 0.814 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2241, allocations: 4.062 kB / 0.814 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.2245, allocations: 228.5 kB / 0.8142 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.2246, allocations: 19.98 kB / 0.8142 GB, free: 15.76 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.2248, allocations: 253.4 kB / 0.8144 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.2249, allocations: 74.69 kB / 0.8145 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.2251, allocations: 79.72 kB / 0.8146 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2251, allocations: 0 / 0.8146 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2252, allocations: 4 kB / 0.8146 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.2252, allocations: 3.984 kB / 0.8146 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.2256, allocations: 0.5138 MB / 0.8151 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2256, allocations: 3.938 kB / 0.8151 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.2257, allocations: 19.86 kB / 0.8151 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2257, allocations: 4.031 kB / 0.8151 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2257, allocations: 4 kB / 0.8151 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.2257, allocations: 3.984 kB / 0.8151 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2257, allocations: 0 / 0.8151 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.2266, allocations: 0.9978 MB / 0.8161 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2267, allocations: 167.7 kB / 0.8163 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.2267, allocations: 7.984 kB / 0.8163 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2269, allocations: 4 kB / 0.8163 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.2269, allocations: 3.984 kB / 0.8163 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.2269, allocations: 15.92 kB / 0.8163 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007137/0.2277, allocations: 0.7101 MB / 0.817 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2277, allocations: 0 / 0.817 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009134/0.2286, allocations: 395.9 kB / 0.8174 GB, free: 12.41 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 (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.001038/0.2296, allocations: 490.8 kB / 0.8178 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.2318, allocations: 2.492 MB / 0.8203 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2318, allocations: 0 / 0.8203 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.2321, allocations: 343.8 kB / 0.8206 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2324, allocations: 55.52 kB / 0.8206 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.2345, allocations: 1.976 MB / 0.8226 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.235, allocations: 0.9839 MB / 0.8235 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.2352, allocations: 41.42 kB / 0.8236 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.2353, allocations: 23.42 kB / 0.8236 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.2353, allocations: 4 kB / 0.8236 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of Templates: time 0.01464/0.2499, allocations: 9.549 MB / 0.8329 GB, free: 12.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: