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.796/2.796, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001613/0.001612, allocations: 177.4 kB / 370.8 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.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.00115/0.00115, allocations: 101.5 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007265/0.0007268, allocations: 11 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2284, allocations: 115.3 MB / 0.9782 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001619/0.2301, allocations: 1.107 MB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005286/0.2354, allocations: 2.822 MB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.2355, allocations: 0 / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.2357, allocations: 11.94 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.2359, allocations: 23.89 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.2389, allocations: 0.7216 MB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2391, allocations: 51.91 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.2391, allocations: 7.938 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.2392, allocations: 31.92 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.2395, allocations: 147.7 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.2395, allocations: 12 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.2424, allocations: 1.256 MB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008712/0.2433, allocations: 0.6003 MB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.2435, allocations: 177 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.2458, allocations: 1.189 MB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2458, allocations: 0 / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2458, allocations: 3.938 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2458, allocations: 0 / 0.9862 GB, free: 20.16 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.01845/0.2643, allocations: 1.601 MB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.2644, allocations: 16.02 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005785/0.265, allocations: 142 kB / 0.9879 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.2657, allocations: 0.4971 MB / 0.9884 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2658, allocations: 0 / 0.9884 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.2658, allocations: 4 kB / 0.9884 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.2664, allocations: 399.2 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2664, allocations: 3.984 kB / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.2664, allocations: 4 kB / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2664, allocations: 0 / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.267, allocations: 435.7 kB / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.2679, allocations: 0.8074 MB / 0.99 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.2685, allocations: 0.5673 MB / 0.9905 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.2698, allocations: 1.036 MB / 0.9915 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004815/0.2703, allocations: 400.9 kB / 0.9919 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.136e-06/0.2703, allocations: 0 / 0.9919 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001734/0.272, allocations: 1.343 MB / 0.9932 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.2721, allocations: 89.12 kB / 0.9933 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.2747, allocations: 1.835 MB / 0.9951 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/0.2748, allocations: 29.7 kB / 0.9951 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.2752, allocations: 477.3 kB / 0.9956 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.2753, allocations: 27.53 kB / 0.9956 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.2753, allocations: 4 kB / 0.9956 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2755, allocations: 410.9 kB / 0.996 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.2771, allocations: 1.514 MB / 0.9975 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.2789, allocations: 1.642 MB / 0.9991 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.2809, allocations: 2.047 MB / 1.001 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.281, allocations: 0 / 1.001 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005531/0.2865, allocations: 4.302 MB / 1.005 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.2866, allocations: 4 kB / 1.005 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.2866, allocations: 0 / 1.005 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.2867, allocations: 4 kB / 1.005 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.2869, allocations: 19.88 kB / 1.005 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2869, allocations: 0 / 1.005 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.288, allocations: 240.3 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.6e-05/0.2881, allocations: 19.98 kB / 1.006 GB, free: 15.68 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.000796/0.2889, allocations: 373.5 kB / 1.006 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.2891, allocations: 122 kB / 1.006 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.2897, allocations: 141.1 kB / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2898, allocations: 4 kB / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2898, allocations: 0 / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2898, allocations: 0 / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009664/0.2908, allocations: 0.6872 MB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2908, allocations: 4.031 kB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2909, allocations: 7.984 kB / 1.007 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.291, allocations: 4 kB / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.291, allocations: 0 / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.291, allocations: 3.938 kB / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.291, allocations: 4 kB / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.2926, allocations: 1.069 MB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.2929, allocations: 199.1 kB / 1.008 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.2931, allocations: 0 / 1.008 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.2935, allocations: 7.984 kB / 1.008 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.2935, allocations: 4 kB / 1.008 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/0.2936, allocations: 15.97 kB / 1.008 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002147/0.2958, allocations: 1.101 MB / 1.009 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.02e-07/0.2958, allocations: 0 / 1.009 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001716/0.2975, allocations: 431.9 kB / 1.01 GB, free: 11.37 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.002075/0.2996, allocations: 482.7 kB / 1.01 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004081/0.3037, allocations: 2.652 MB / 1.013 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3038, allocations: 0 / 1.013 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.3043, allocations: 343.7 kB / 1.013 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3048, allocations: 51.8 kB / 1.013 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.31, allocations: 2.716 MB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.3112, allocations: 1.173 MB / 1.017 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003286/0.3116, allocations: 36.55 kB / 1.017 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.3118, allocations: 23.42 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.3118, allocations: 7.938 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of Templates: time 0.0305/0.3423, allocations: 9.527 MB / 1.026 GB, free: 10.33 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)