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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, 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.001322/0.001322, allocations: 194.8 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 4.77 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.68 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.001267/0.001267, allocations: 65.02 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2107, allocations: 114.6 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_1borehole_5meters): time 0.002399/0.2131, allocations: 1.469 MB / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004474/0.2176, allocations: 3.279 MB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.2177, allocations: 0 / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.702e-05/0.2178, allocations: 7.922 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.218, allocations: 27.91 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.2199, allocations: 0.7721 MB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2201, allocations: 99.72 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2201, allocations: 8 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.2202, allocations: 39.84 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.2204, allocations: 160.9 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.2205, allocations: 12 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.2223, allocations: 1.392 MB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.2226, allocations: 275.8 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.2228, allocations: 270.3 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.2244, allocations: 1.477 MB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2244, allocations: 0 / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2244, allocations: 0 / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2244, allocations: 4 kB / 0.7918 GB, free: 4.633 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.007421/0.2318, allocations: 1.207 MB / 0.7929 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.2319, allocations: 8.031 kB / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.2323, allocations: 87.69 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2327, allocations: 372.8 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2328, allocations: 384 / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.2328, allocations: 12.38 kB / 0.7934 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.2333, allocations: 387.5 kB / 0.7938 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2333, allocations: 4 kB / 0.7938 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2333, allocations: 0 / 0.7938 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2334, allocations: 0 / 0.7938 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.2338, allocations: 443.7 kB / 0.7942 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.2344, allocations: 0.6209 MB / 0.7948 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.2349, allocations: 0.5594 MB / 0.7954 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.2352, allocations: 345.7 kB / 0.7957 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.2362, allocations: 1.028 MB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.2367, allocations: 408.8 kB / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.2367, allocations: 0 / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001234/0.2379, allocations: 1.289 MB / 0.7983 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.238, allocations: 85.05 kB / 0.7984 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.239, allocations: 1.202 MB / 0.7996 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.2391, allocations: 37.7 kB / 0.7996 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2393, allocations: 261.4 kB / 0.7999 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.2393, allocations: 19.78 kB / 0.7999 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.2396, allocations: 347.6 kB / 0.8002 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2397, allocations: 314 kB / 0.8005 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.2408, allocations: 1.365 MB / 0.8019 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.242, allocations: 1.497 MB / 0.8033 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006657/0.2487, allocations: 3.538 MB / 0.8068 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2487, allocations: 0 / 0.8068 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003948/0.2527, allocations: 3.969 MB / 0.8107 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.2527, allocations: 8.031 kB / 0.8107 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.2527, allocations: 4 kB / 0.8107 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2528, allocations: 0 / 0.8107 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.2529, allocations: 15.98 kB / 0.8107 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2529, allocations: 0 / 0.8107 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.2534, allocations: 228.4 kB / 0.8109 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.2534, allocations: 23.92 kB / 0.8109 GB, free: 392 kB / 0.6231 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.0002758/0.2537, allocations: 249.5 kB / 0.8112 GB, free: 132 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.2537, allocations: 66.72 kB / 0.8112 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.254, allocations: 74.89 kB / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2541, allocations: 3.984 kB / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2541, allocations: 0 / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2541, allocations: 0 / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.2545, allocations: 0.4967 MB / 0.8118 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2545, allocations: 0 / 0.8118 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.2546, allocations: 15.95 kB / 0.8118 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2546, allocations: 0 / 0.8118 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2546, allocations: 8 kB / 0.8118 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2546, allocations: 0 / 0.8118 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2546, allocations: 0 / 0.8118 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.2554, allocations: 1.002 MB / 0.8128 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.2555, allocations: 159.8 kB / 0.8129 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.2556, allocations: 4 kB / 0.8129 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2557, allocations: 7.922 kB / 0.8129 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.2558, allocations: 7.938 kB / 0.813 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.2558, allocations: 15.97 kB / 0.813 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006208/0.2564, allocations: 0.6648 MB / 0.8136 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2564, allocations: 0 / 0.8136 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009522/0.2574, allocations: 399.9 kB / 0.814 GB, free: 13.11 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.001103/0.2585, allocations: 478.8 kB / 0.8145 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.2606, allocations: 2.492 MB / 0.8169 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2606, allocations: 0 / 0.8169 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.2609, allocations: 339.8 kB / 0.8172 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2612, allocations: 40.42 kB / 0.8173 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.2632, allocations: 1.927 MB / 0.8191 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.2637, allocations: 0.964 MB / 0.8201 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.2639, allocations: 28.56 kB / 0.8201 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.264, allocations: 27.42 kB / 0.8201 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.264, allocations: 0 / 0.8201 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of Templates: time 0.01557/0.2796, allocations: 9.267 MB / 0.8292 GB, free: 13.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)