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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.613/2.613, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001384/0.001383, allocations: 189.2 kB / 371 MB, free: 10.87 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.053/2.053, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009443/0.0009439, allocations: 99.83 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006408, allocations: 13.42 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2071, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001513/0.2087, allocations: 1.103 MB / 0.9795 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00513/0.2138, allocations: 2.863 MB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.2139, allocations: 0 / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2141, allocations: 7.938 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.2143, allocations: 27.89 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.2172, allocations: 0.7485 MB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2173, allocations: 91.72 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.2174, allocations: 11.92 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.2175, allocations: 39.86 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.2179, allocations: 239.7 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.218, allocations: 16 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.2208, allocations: 1.306 MB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000843/0.2217, allocations: 0.7015 MB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.2219, allocations: 180.9 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.2238, allocations: 1.177 MB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2238, allocations: 0 / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2238, allocations: 4 kB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2239, allocations: 0 / 0.9867 GB, free: 19.8 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.01748/0.2413, allocations: 1.613 MB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2414, allocations: 12.02 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005309/0.242, allocations: 142 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.2426, allocations: 0.4933 MB / 0.9889 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2426, allocations: 8 kB / 0.9889 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.2427, allocations: 8 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.2432, allocations: 387.2 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2432, allocations: 3.938 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2432, allocations: 0 / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2432, allocations: 0 / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.2437, allocations: 435.8 kB / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.2446, allocations: 0.8152 MB / 0.9905 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.2452, allocations: 0.5594 MB / 0.9911 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.2455, allocations: 333.7 kB / 0.9914 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.2467, allocations: 1.044 MB / 0.9924 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.2472, allocations: 404.8 kB / 0.9928 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.375e-06/0.2472, allocations: 0 / 0.9928 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001579/0.2488, allocations: 1.335 MB / 0.9941 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2488, allocations: 93.03 kB / 0.9942 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.2511, allocations: 1.835 MB / 0.996 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.2512, allocations: 33.83 kB / 0.996 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.2516, allocations: 473.3 kB / 0.9964 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.2517, allocations: 23.66 kB / 0.9965 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.2517, allocations: 4 kB / 0.9965 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2519, allocations: 410.9 kB / 0.9969 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.2534, allocations: 1.51 MB / 0.9983 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.2551, allocations: 1.646 MB / 0.9999 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.257, allocations: 2.047 MB / 1.002 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.257, allocations: 3.938 kB / 1.002 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005324/0.2624, allocations: 4.296 MB / 1.006 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.2624, allocations: 10.03 kB / 1.006 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.2625, allocations: 3.938 kB / 1.006 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2625, allocations: 4.031 kB / 1.006 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.2627, allocations: 15.98 kB / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2627, allocations: 4 kB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.2638, allocations: 228.3 kB / 1.006 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.2639, allocations: 27.98 kB / 1.006 GB, free: 14.97 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.0007112/0.2646, allocations: 370.8 kB / 1.007 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.2648, allocations: 118 kB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.2653, allocations: 149.1 kB / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.2653, allocations: 0 / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2653, allocations: 0 / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.2654, allocations: 4 kB / 1.007 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/0.2663, allocations: 0.6793 MB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.2664, allocations: 4 kB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2665, allocations: 11.92 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.2665, allocations: 3.984 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2665, allocations: 8.031 kB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.2666, allocations: 4 kB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2666, allocations: 0 / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.2681, allocations: 1.059 MB / 1.009 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.2684, allocations: 191.1 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.2685, allocations: 8 kB / 1.009 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.2689, allocations: 3.984 kB / 1.009 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.269, allocations: 7.984 kB / 1.009 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.269, allocations: 15.92 kB / 1.009 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002072/0.2711, allocations: 1.097 MB / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2711, allocations: 4 kB / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001526/0.2727, allocations: 423.9 kB / 1.01 GB, free: 10.69 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.001838/0.2745, allocations: 483.2 kB / 1.011 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004073/0.2786, allocations: 2.644 MB / 1.014 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2787, allocations: 4.062 kB / 1.014 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.2792, allocations: 347.8 kB / 1.014 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.2798, allocations: 54.44 kB / 1.014 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.2847, allocations: 2.714 MB / 1.017 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.2859, allocations: 1.153 MB / 1.018 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000311/0.2862, allocations: 36.48 kB / 1.018 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2864, allocations: 23.42 kB / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/0.2864, allocations: 0 / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of Templates: time 0.02963/0.316, allocations: 9.537 MB / 1.027 GB, free: 9.668 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)