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.000756/0.0007559, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007906/0.000791, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.611/1.611, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005085/0.0005088, allocations: 11.16 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001308/0.2112, allocations: 1.111 MB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.215, allocations: 2.861 MB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.2151, allocations: 0 / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.574e-05/0.2152, allocations: 7.922 kB / 0.7912 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.2154, allocations: 27.84 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.2174, allocations: 0.7678 MB / 0.792 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.2175, allocations: 87.73 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.2176, allocations: 4 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.2177, allocations: 43.89 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.218, allocations: 235.7 kB / 0.7923 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.218, allocations: 12 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.2201, allocations: 1.31 MB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.2207, allocations: 0.7054 MB / 0.7943 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2209, allocations: 177 kB / 0.7945 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.2222, allocations: 1.185 MB / 0.7957 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2222, allocations: 3.938 kB / 0.7957 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2223, allocations: 0 / 0.7957 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2223, allocations: 0 / 0.7957 GB, free: 3.328 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.007193/0.2295, allocations: 1.601 MB / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.2295, allocations: 12.03 kB / 0.7972 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.23, allocations: 146 kB / 0.7974 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.2306, allocations: 0.4933 MB / 0.7978 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.2306, allocations: 7.938 kB / 0.7979 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.2307, allocations: 4 kB / 0.7979 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.2312, allocations: 387.2 kB / 0.7982 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2312, allocations: 0 / 0.7982 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2312, allocations: 4 kB / 0.7982 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2312, allocations: 4 kB / 0.7982 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.2317, allocations: 431.8 kB / 0.7986 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.2325, allocations: 0.8073 MB / 0.7994 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.2331, allocations: 0.5555 MB / 0.8 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.2334, allocations: 345.7 kB / 0.8003 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.2346, allocations: 1.036 MB / 0.8013 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000444/0.235, allocations: 408.8 kB / 0.8017 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.235, allocations: 0 / 0.8017 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0014/0.2365, allocations: 1.343 MB / 0.803 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.2365, allocations: 81.17 kB / 0.8031 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.2382, allocations: 1.843 MB / 0.8049 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.2382, allocations: 29.7 kB / 0.8049 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.2386, allocations: 477.2 kB / 0.8054 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.2386, allocations: 23.73 kB / 0.8054 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.2387, allocations: 0 / 0.8054 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2388, allocations: 414.9 kB / 0.8058 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.24, allocations: 1.51 MB / 0.8073 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.2413, allocations: 1.646 MB / 0.8089 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.243, allocations: 2.051 MB / 0.8109 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.243, allocations: 0 / 0.8109 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004183/0.2472, allocations: 4.294 MB / 0.8151 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2473, allocations: 4 kB / 0.8151 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.2473, allocations: 4.031 kB / 0.8151 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2473, allocations: 4 kB / 0.8151 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2474, allocations: 23.92 kB / 0.8151 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2474, allocations: 0 / 0.8151 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.2479, allocations: 232.3 kB / 0.8153 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.248, allocations: 19.98 kB / 0.8154 GB, free: 14.52 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 ($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.0003951/0.2484, allocations: 368.4 kB / 0.8157 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.2485, allocations: 126 kB / 0.8158 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.2488, allocations: 149 kB / 0.816 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2488, allocations: 4 kB / 0.816 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2488, allocations: 0 / 0.816 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2488, allocations: 4 kB / 0.816 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.2494, allocations: 0.6872 MB / 0.8166 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2494, allocations: 0 / 0.8166 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.2495, allocations: 12.02 kB / 0.8167 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2495, allocations: 4 kB / 0.8167 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2495, allocations: 0 / 0.8167 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2495, allocations: 320 / 0.8167 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.2495, allocations: 7.984 kB / 0.8167 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.2504, allocations: 1.055 MB / 0.8177 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.2505, allocations: 199.1 kB / 0.8179 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.2506, allocations: 4 kB / 0.8179 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2508, allocations: 11.92 kB / 0.8179 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.2509, allocations: 7.984 kB / 0.8179 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.2509, allocations: 11.98 kB / 0.8179 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00112/0.252, allocations: 1.093 MB / 0.819 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.252, allocations: 0 / 0.819 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001049/0.2531, allocations: 439.9 kB / 0.8194 GB, free: 10.22 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 (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.001103/0.2542, allocations: 478.8 kB / 0.8199 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002256/0.2565, allocations: 2.648 MB / 0.8225 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2565, allocations: 4 kB / 0.8225 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.2568, allocations: 343.7 kB / 0.8228 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2572, allocations: 42.55 kB / 0.8228 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.26, allocations: 2.721 MB / 0.8255 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.2607, allocations: 1.153 MB / 0.8266 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.2609, allocations: 32.55 kB / 0.8266 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.261, allocations: 23.42 kB / 0.8267 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/0.261, allocations: 0 / 0.8267 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of Templates: time 0.01621/0.2772, allocations: 9.557 MB / 0.836 GB, free: 9.191 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: