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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001178/0.001178, allocations: 197.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 222 MB, free: 5.016 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.664/1.664, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001315/0.001316, allocations: 67.42 kB / 0.6708 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2074, allocations: 114.5 MB / 0.7827 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002406/0.2098, allocations: 1.483 MB / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.2142, allocations: 3.271 MB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.2143, allocations: 0 / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.2144, allocations: 7.922 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.2147, allocations: 27.84 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.2166, allocations: 0.7751 MB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2167, allocations: 107.7 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.2168, allocations: 7.984 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.2168, allocations: 35.84 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.2171, allocations: 228.9 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.2171, allocations: 12 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.219, allocations: 1.4 MB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.2196, allocations: 0.6758 MB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.2199, allocations: 445 kB / 0.791 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.2217, allocations: 1.776 MB / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2217, allocations: 3.938 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2217, allocations: 0 / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2217, allocations: 0 / 0.7927 GB, free: 3.668 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.00816/0.2299, allocations: 1.697 MB / 0.7944 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2299, allocations: 12.03 kB / 0.7944 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.2304, allocations: 146.9 kB / 0.7945 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.2308, allocations: 0.5212 MB / 0.795 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2309, allocations: 384 / 0.795 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.2309, allocations: 12.36 kB / 0.795 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.2313, allocations: 395.4 kB / 0.7954 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2313, allocations: 0 / 0.7954 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2314, allocations: 4 kB / 0.7954 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2314, allocations: 4 kB / 0.7954 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.2318, allocations: 431.8 kB / 0.7958 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.2324, allocations: 0.7996 MB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.2329, allocations: 0.5633 MB / 0.7972 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.2332, allocations: 337.7 kB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009563/0.2342, allocations: 1.032 MB / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.2346, allocations: 404.8 kB / 0.7989 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.2346, allocations: 0 / 0.7989 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001253/0.2358, allocations: 1.347 MB / 0.8002 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2359, allocations: 85.11 kB / 0.8003 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.2375, allocations: 1.843 MB / 0.8021 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.2375, allocations: 37.62 kB / 0.8021 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.2378, allocations: 477.3 kB / 0.8026 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.2379, allocations: 23.66 kB / 0.8026 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.2382, allocations: 347.5 kB / 0.8029 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.2383, allocations: 309.1 kB / 0.8032 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.2394, allocations: 1.51 MB / 0.8047 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.2407, allocations: 1.646 MB / 0.8063 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006898/0.2476, allocations: 3.69 MB / 0.8099 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2476, allocations: 0 / 0.8099 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004053/0.2517, allocations: 4.323 MB / 0.8141 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2517, allocations: 4 kB / 0.8141 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.2518, allocations: 4 kB / 0.8141 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2518, allocations: 0 / 0.8141 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2519, allocations: 19.98 kB / 0.8141 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2519, allocations: 0 / 0.8141 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.2524, allocations: 232.3 kB / 0.8144 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.2525, allocations: 23.98 kB / 0.8144 GB, free: 12.75 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004158/0.2529, allocations: 369.5 kB / 0.8147 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.253, allocations: 122 kB / 0.8149 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.2533, allocations: 157 kB / 0.815 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2534, allocations: 0 / 0.815 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2534, allocations: 0 / 0.815 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2534, allocations: 0 / 0.815 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.2539, allocations: 0.6755 MB / 0.8157 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2539, allocations: 4.031 kB / 0.8157 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.254, allocations: 15.92 kB / 0.8157 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.254, allocations: 0 / 0.8157 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.254, allocations: 4 kB / 0.8157 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2541, allocations: 4.312 kB / 0.8157 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2541, allocations: 7.922 kB / 0.8157 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008785/0.2549, allocations: 1.059 MB / 0.8167 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.2551, allocations: 199.1 kB / 0.8169 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-05/0.2552, allocations: 4 kB / 0.8169 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.2554, allocations: 3.984 kB / 0.8169 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.2555, allocations: 7.984 kB / 0.8169 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.2555, allocations: 15.92 kB / 0.817 GB, free: 10 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001097/0.2566, allocations: 1.104 MB / 0.818 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2566, allocations: 4 kB / 0.818 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00101/0.2576, allocations: 431.9 kB / 0.8184 GB, free: 8.445 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.2588, allocations: 484.4 kB / 0.8189 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.261, allocations: 2.648 MB / 0.8215 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.261, allocations: 0 / 0.8215 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.2614, allocations: 339.8 kB / 0.8218 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2618, allocations: 53.33 kB / 0.8219 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.2648, allocations: 2.858 MB / 0.8247 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.2655, allocations: 1.149 MB / 0.8258 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.2657, allocations: 28.56 kB / 0.8258 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2658, allocations: 27.41 kB / 0.8258 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.2658, allocations: 4 kB / 0.8258 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of Templates: time 0.01691/0.2827, allocations: 9.835 MB / 0.8354 GB, free: 6.988 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)