Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001522/0.001522, allocations: 121.6 kB / 17.09 MB, free: 6.012 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.001388/0.001388, allocations: 192.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7945/0.7945, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.19 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1776, allocations: 76.18 MB / 0.6328 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002893/0.1806, allocations: 1.412 MB / 0.6342 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.1878, allocations: 4.203 MB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.1879, allocations: 0 / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1881, allocations: 7.875 kB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1885, allocations: 39.77 kB / 0.6383 GB, free: 14.67 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.1935, allocations: 1.503 MB / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1937, allocations: 95.78 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.1938, allocations: 7.938 kB / 0.6399 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.1939, allocations: 43.84 kB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1942, allocations: 143.6 kB / 0.6401 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.1942, allocations: 12 kB / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/0.1981, allocations: 2.211 MB / 0.6423 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.1983, allocations: 271.8 kB / 0.6425 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.1986, allocations: 274.3 kB / 0.6428 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.2012, allocations: 2.112 MB / 0.6448 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2012, allocations: 0 / 0.6448 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2012, allocations: 0 / 0.6448 GB, free: 7.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2012, allocations: 0 / 0.6448 GB, free: 7.992 MB / 494.1 MB 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.009731/0.211, allocations: 1.3 MB / 0.6461 GB, free: 6.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.211, allocations: 12.03 kB / 0.6461 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.2114, allocations: 91.59 kB / 0.6462 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.2118, allocations: 364.9 kB / 0.6466 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2119, allocations: 8.375 kB / 0.6466 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.2119, allocations: 4.375 kB / 0.6466 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.2123, allocations: 395.4 kB / 0.6469 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2123, allocations: 0 / 0.6469 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2124, allocations: 7.984 kB / 0.6469 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2124, allocations: 0 / 0.6469 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.2128, allocations: 427.8 kB / 0.6474 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.2134, allocations: 0.6405 MB / 0.648 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.2138, allocations: 0.5711 MB / 0.6485 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.2141, allocations: 337.7 kB / 0.6489 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.2152, allocations: 1.028 MB / 0.6499 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.2156, allocations: 404.8 kB / 0.6503 GB, free: 2.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2156, allocations: 0 / 0.6503 GB, free: 2.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001249/0.2168, allocations: 1.297 MB / 0.6515 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.2169, allocations: 85.09 kB / 0.6516 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.218, allocations: 1.214 MB / 0.6528 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.218, allocations: 29.7 kB / 0.6528 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2182, allocations: 261.3 kB / 0.6531 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2183, allocations: 19.75 kB / 0.6531 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.2186, allocations: 351.6 kB / 0.6534 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2187, allocations: 318.1 kB / 0.6537 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.2198, allocations: 1.369 MB / 0.6551 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.2211, allocations: 1.505 MB / 0.6565 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/0.2277, allocations: 3.56 MB / 0.66 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2277, allocations: 4 kB / 0.66 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00391/0.2316, allocations: 4.003 MB / 0.6639 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.2316, allocations: 7.984 kB / 0.6639 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.2317, allocations: 4 kB / 0.6639 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2317, allocations: 3.938 kB / 0.6639 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.2318, allocations: 12 kB / 0.6639 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2319, allocations: 7.984 kB / 0.664 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.2324, allocations: 232.2 kB / 0.6642 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.2324, allocations: 23.98 kB / 0.6642 GB, free: 3.527 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003018/0.2327, allocations: 249.6 kB / 0.6644 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.2328, allocations: 66.72 kB / 0.6645 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.2331, allocations: 79.05 kB / 0.6646 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2331, allocations: 4.031 kB / 0.6646 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2331, allocations: 0 / 0.6646 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2331, allocations: 0 / 0.6646 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.2335, allocations: 496.9 kB / 0.665 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2335, allocations: 0 / 0.665 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.2336, allocations: 11.92 kB / 0.6651 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2336, allocations: 4 kB / 0.6651 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2336, allocations: 0 / 0.6651 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2337, allocations: 3.938 kB / 0.6651 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2337, allocations: 0 / 0.6651 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.2345, allocations: 1.001 MB / 0.666 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.2346, allocations: 155.7 kB / 0.6662 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.2347, allocations: 8 kB / 0.6662 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2348, allocations: 7.984 kB / 0.6662 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2349, allocations: 8 kB / 0.6662 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.2349, allocations: 15.97 kB / 0.6662 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006463/0.2356, allocations: 0.6689 MB / 0.6669 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2356, allocations: 0 / 0.6669 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001522/0.2371, allocations: 0.5818 MB / 0.6675 GB, free: 76 kB / 0.4981 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.001667/0.2388, allocations: 0.6911 MB / 0.6681 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.241, allocations: 2.552 MB / 0.6706 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.241, allocations: 0 / 0.6706 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.2413, allocations: 335.8 kB / 0.6709 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2416, allocations: 44.03 kB / 0.671 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.2436, allocations: 1.782 MB / 0.6727 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.2441, allocations: 0.964 MB / 0.6737 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2442, allocations: 27.42 kB / 0.6737 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.2442, allocations: 4 kB / 0.6737 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of Templates: time 0.02186/0.2661, allocations: 13.83 MB / 0.6872 GB, free: 11.78 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)