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.001019/0.001019, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001087/0.001087, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.316/1.316, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.671/1.671, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.00132/0.00132, allocations: 66.19 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1967, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002449/0.1992, allocations: 1.477 MB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.2035, allocations: 3.076 MB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.2036, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.2037, allocations: 7.922 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.204, allocations: 31.84 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.2063, allocations: 0.8893 MB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2064, allocations: 79.75 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.2064, allocations: 4 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.2065, allocations: 43.83 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.2067, allocations: 157 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.2068, allocations: 12 kB / 0.7885 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.2086, allocations: 1.412 MB / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.2088, allocations: 267.8 kB / 0.7902 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.2091, allocations: 286.2 kB / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.2108, allocations: 1.477 MB / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2108, allocations: 0 / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2108, allocations: 0 / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.2108, allocations: 3.984 kB / 0.7919 GB, free: 4.629 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.009138/0.22, allocations: 1.214 MB / 0.7931 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.22, allocations: 8.031 kB / 0.7931 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.2204, allocations: 87.69 kB / 0.7932 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.2208, allocations: 360.9 kB / 0.7935 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2208, allocations: 4.375 kB / 0.7935 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.2208, allocations: 8.375 kB / 0.7935 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.2213, allocations: 391.5 kB / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2213, allocations: 3.938 kB / 0.7939 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2213, allocations: 0 / 0.7939 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2213, allocations: 4 kB / 0.7939 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.2217, allocations: 435.7 kB / 0.7943 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.2223, allocations: 0.6286 MB / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.2228, allocations: 0.5633 MB / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.2231, allocations: 337.7 kB / 0.7958 GB, free: 440 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.2242, allocations: 1.028 MB / 0.7968 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.2246, allocations: 416.8 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.2246, allocations: 0 / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001274/0.2259, allocations: 1.281 MB / 0.7984 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.2259, allocations: 85.05 kB / 0.7985 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.227, allocations: 1.21 MB / 0.7997 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.2271, allocations: 29.7 kB / 0.7997 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.2272, allocations: 253.4 kB / 0.8 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.2273, allocations: 27.72 kB / 0.8 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.2276, allocations: 347.5 kB / 0.8003 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2277, allocations: 314 kB / 0.8006 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.2288, allocations: 1.357 MB / 0.802 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.2301, allocations: 1.501 MB / 0.8034 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/0.2371, allocations: 3.541 MB / 0.8069 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.2371, allocations: 0 / 0.8069 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004091/0.2412, allocations: 3.965 MB / 0.8108 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2412, allocations: 8 kB / 0.8108 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.2413, allocations: 0 / 0.8108 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2413, allocations: 0 / 0.8108 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.2414, allocations: 23.92 kB / 0.8108 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2414, allocations: 4 kB / 0.8108 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.2419, allocations: 224.4 kB / 0.811 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.242, allocations: 23.98 kB / 0.811 GB, free: 388 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.0002837/0.2423, allocations: 241.6 kB / 0.8113 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.2423, allocations: 66.72 kB / 0.8113 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.2426, allocations: 78.83 kB / 0.8114 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2427, allocations: 4 kB / 0.8114 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2427, allocations: 0 / 0.8114 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2427, allocations: 0 / 0.8114 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.2431, allocations: 0.4928 MB / 0.8119 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2431, allocations: 4.031 kB / 0.8119 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.2432, allocations: 15.92 kB / 0.8119 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2432, allocations: 0 / 0.8119 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2432, allocations: 0 / 0.8119 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2432, allocations: 4 kB / 0.8119 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2432, allocations: 0 / 0.8119 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.2441, allocations: 0.9974 MB / 0.8129 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2442, allocations: 155.8 kB / 0.813 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.2443, allocations: 4 kB / 0.813 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2444, allocations: 7.984 kB / 0.813 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2445, allocations: 7.984 kB / 0.813 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.2445, allocations: 11.97 kB / 0.8131 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006685/0.2452, allocations: 0.6687 MB / 0.8137 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2452, allocations: 4 kB / 0.8137 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009822/0.2462, allocations: 395.9 kB / 0.8141 GB, free: 13.12 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.001196/0.2474, allocations: 482.7 kB / 0.8146 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.2496, allocations: 2.503 MB / 0.817 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2496, allocations: 0 / 0.817 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.2499, allocations: 343.7 kB / 0.8173 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.2503, allocations: 36.98 kB / 0.8174 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2524, allocations: 1.92 MB / 0.8192 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.253, allocations: 0.964 MB / 0.8202 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.2532, allocations: 36.5 kB / 0.8202 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2533, allocations: 27.41 kB / 0.8202 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.2533, allocations: 0 / 0.8202 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of Templates: time 0.01594/0.2692, allocations: 9.532 MB / 0.8295 GB, free: 13.25 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)