Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.522/2.522, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001379/0.001379, allocations: 182.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0008453/0.0008453, allocations: 83.34 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007383/0.0007387, allocations: 12.69 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2974, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002239/0.2997, allocations: 1.118 MB / 0.9795 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008127/0.3079, allocations: 2.849 MB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.3081, allocations: 0 / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3083, allocations: 11.92 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.3086, allocations: 23.91 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/0.3132, allocations: 0.7551 MB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.3135, allocations: 91.72 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/0.3136, allocations: 4 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3137, allocations: 43.83 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.3141, allocations: 167.7 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.516e-05/0.3142, allocations: 12 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.3188, allocations: 1.299 MB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.3192, allocations: 263.3 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.3194, allocations: 109.2 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.3223, allocations: 0.9746 MB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3224, allocations: 4 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.975e-06/0.3224, allocations: 0 / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3224, allocations: 0 / 0.9859 GB, free: 20.58 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.0251/0.3475, allocations: 1.164 MB / 0.9871 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.3476, allocations: 12.02 kB / 0.9871 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007591/0.3484, allocations: 90.69 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.3491, allocations: 367.5 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3492, allocations: 4 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.3493, allocations: 8 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.35, allocations: 387.2 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.35, allocations: 0 / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.3501, allocations: 11.97 kB / 0.9879 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3501, allocations: 0 / 0.9879 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.3509, allocations: 439.6 kB / 0.9883 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3519, allocations: 0.6326 MB / 0.9889 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.3528, allocations: 0.5672 MB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.3533, allocations: 329.7 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.3548, allocations: 1.048 MB / 0.9908 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006915/0.3556, allocations: 400.9 kB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.687e-06/0.3556, allocations: 0 / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.002127/0.3577, allocations: 1.289 MB / 0.9925 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.3578, allocations: 81.11 kB / 0.9925 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.36, allocations: 1.198 MB / 0.9937 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3601, allocations: 29.7 kB / 0.9937 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.3604, allocations: 257.4 kB / 0.994 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/0.3605, allocations: 27.91 kB / 0.994 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.3606, allocations: 0 / 0.994 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3608, allocations: 423.8 kB / 0.9944 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/0.363, allocations: 1.357 MB / 0.9957 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.3655, allocations: 1.503 MB / 0.9972 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.3684, allocations: 1.899 MB / 0.9991 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.3685, allocations: 4 kB / 0.9991 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009165/0.3776, allocations: 3.934 MB / 1.003 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.3778, allocations: 8 kB / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.3778, allocations: 0 / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.3778, allocations: 3.938 kB / 1.003 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.3783, allocations: 15.98 kB / 1.003 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.3783, allocations: 4 kB / 1.003 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.3806, allocations: 228.3 kB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.3808, allocations: 27.98 kB / 1.003 GB, free: 2.34 MB / 0.6198 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.000683/0.3816, allocations: 238.9 kB / 1.003 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3817, allocations: 66.78 kB / 1.003 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/0.3825, allocations: 82.83 kB / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3825, allocations: 0 / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.3825, allocations: 4 kB / 1.004 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3825, allocations: 0 / 1.004 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009494/0.3835, allocations: 0.4928 MB / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3835, allocations: 0 / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3838, allocations: 7.984 kB / 1.004 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.3838, allocations: 4 kB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.3839, allocations: 0 / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.384, allocations: 0 / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.384, allocations: 4 kB / 1.004 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.3857, allocations: 1.001 MB / 1.005 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.3859, allocations: 151.8 kB / 1.005 GB, free: 196 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.3861, allocations: 4 kB / 1.005 GB, free: 192 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.3865, allocations: 11.98 kB / 1.005 GB, free: 180 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3866, allocations: 8 kB / 1.005 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.3867, allocations: 11.97 kB / 1.005 GB, free: 160 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001814/0.3885, allocations: 0.657 MB / 1.006 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.092e-06/0.3885, allocations: 0 / 1.006 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002369/0.3909, allocations: 399.8 kB / 1.006 GB, free: 15.1 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.003019/0.394, allocations: 486.6 kB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00571/0.3998, allocations: 2.488 MB / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.3999, allocations: 4 kB / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008234/0.4007, allocations: 339.8 kB / 1.009 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.4014, allocations: 40.56 kB / 1.009 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.4067, allocations: 1.832 MB / 1.011 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.4079, allocations: 0.964 MB / 1.012 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004958/0.4084, allocations: 32.5 kB / 1.012 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.4087, allocations: 27.41 kB / 1.012 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/0.4087, allocations: 0 / 1.012 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of Templates: time 0.04137/0.4501, allocations: 8.961 MB / 1.021 GB, free: 15.91 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)