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_SmallScaleValidation.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 288.4 MB / 303.4 MB, free: 8.223 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.001013/0.001013, allocations: 180.5 kB / 372 MB, free: 10.27 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.402/1.402, allocations: 205.4 MB / 0.6307 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007341/0.0007341, allocations: 82.34 kB / 0.7441 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003947, allocations: 13.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001507/0.178, allocations: 1.408 MB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004585/0.1826, allocations: 3.929 MB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1827, allocations: 0 / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009535/0.1837, allocations: 314.7 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.1838, allocations: 59.72 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1857, allocations: 0.7398 MB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.186, allocations: 167.3 kB / 0.9861 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.186, allocations: 13.55 kB / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.1861, allocations: 59.72 kB / 0.9862 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1863, allocations: 183.6 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.1863, allocations: 16 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.188, allocations: 1.306 MB / 0.9876 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1882, allocations: 267.2 kB / 0.9879 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1883, allocations: 125.1 kB / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1895, allocations: 1.029 MB / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1895, allocations: 0 / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1895, allocations: 0 / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.1895, allocations: 0 / 0.989 GB, free: 17.98 MB / 0.6198 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.008843/0.1984, allocations: 1.226 MB / 0.9902 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1984, allocations: 12.02 kB / 0.9902 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.1988, allocations: 94.66 kB / 0.9903 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.1992, allocations: 396.8 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1993, allocations: 8 kB / 0.9907 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.1993, allocations: 7.984 kB / 0.9907 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1997, allocations: 391.1 kB / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1997, allocations: 0 / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1997, allocations: 4 kB / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1997, allocations: 0 / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.2001, allocations: 431.8 kB / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.2006, allocations: 0.6613 MB / 0.9921 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.201, allocations: 0.571 MB / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.2012, allocations: 329.7 kB / 0.993 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/0.2021, allocations: 1.04 MB / 0.994 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.2024, allocations: 408.8 kB / 0.9944 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.2024, allocations: 0 / 0.9944 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001003/0.2034, allocations: 1.296 MB / 0.9957 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2035, allocations: 85.22 kB / 0.9957 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.2045, allocations: 1.265 MB / 0.997 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2045, allocations: 33.7 kB / 0.997 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2047, allocations: 285.3 kB / 0.9973 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.2047, allocations: 23.73 kB / 0.9973 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2047, allocations: 0 / 0.9973 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.2048, allocations: 427.8 kB / 0.9977 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008978/0.2058, allocations: 1.361 MB / 0.999 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/0.2067, allocations: 1.493 MB / 1.001 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2078, allocations: 1.891 MB / 1.002 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2078, allocations: 0 / 1.002 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003501/0.2113, allocations: 3.953 MB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.2113, allocations: 8 kB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.2114, allocations: 3.984 kB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2114, allocations: 0 / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2115, allocations: 16 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2116, allocations: 7.938 kB / 1.006 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.2122, allocations: 228.3 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.2122, allocations: 23.98 kB / 1.006 GB, free: 15.51 MB / 0.6355 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.0003952/0.2126, allocations: 249.7 kB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2128, allocations: 70.69 kB / 1.007 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.2131, allocations: 83.66 kB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2131, allocations: 4 kB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2131, allocations: 0 / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2132, allocations: 0 / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.2138, allocations: 0.5139 MB / 1.007 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2138, allocations: 4.031 kB / 1.007 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.2139, allocations: 7.984 kB / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2139, allocations: 3.984 kB / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2139, allocations: 4 kB / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2139, allocations: 4 kB / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2139, allocations: 3.938 kB / 1.007 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.2149, allocations: 1.018 MB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.2151, allocations: 167.7 kB / 1.009 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.2152, allocations: 0 / 1.009 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2153, allocations: 15.86 kB / 1.009 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.2154, allocations: 4 kB / 1.009 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.2154, allocations: 15.97 kB / 1.009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008903/0.2163, allocations: 0.7062 MB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2163, allocations: 4 kB / 1.009 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001289/0.2176, allocations: 399.9 kB / 1.01 GB, free: 12.14 MB / 0.6355 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.001501/0.2191, allocations: 474.8 kB / 1.01 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.2216, allocations: 2.499 MB / 1.013 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2216, allocations: 0 / 1.013 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.2219, allocations: 343.7 kB / 1.013 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.2224, allocations: 52.72 kB / 1.013 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.2249, allocations: 1.973 MB / 1.015 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.2256, allocations: 0.9839 MB / 1.016 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002134/0.2258, allocations: 41.42 kB / 1.016 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2259, allocations: 27.41 kB / 1.016 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.2259, allocations: 3.938 kB / 1.016 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of Templates: time 0.01847/0.2444, allocations: 9.542 MB / 1.025 GB, free: 12.2 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)