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.001319/0.001319, allocations: 115 kB / 17.09 MB, free: 5.988 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.001116/0.001116, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.283/1.283, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.75 kB / 0.5584 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002615/0.1402, allocations: 1.411 MB / 0.6342 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.1465, allocations: 4.2 MB / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.1466, allocations: 0 / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1467, allocations: 11.86 kB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.147, allocations: 43.72 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.003858/0.1508, allocations: 1.495 MB / 0.6398 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.151, allocations: 99.59 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.151, allocations: 8 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.1511, allocations: 43.91 kB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1514, allocations: 147.6 kB / 0.6401 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.1514, allocations: 16 kB / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.1548, allocations: 2.207 MB / 0.6423 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1551, allocations: 263.8 kB / 0.6425 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.1553, allocations: 282.3 kB / 0.6428 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.1586, allocations: 2.108 MB / 0.6448 GB, free: 8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1586, allocations: 4 kB / 0.6448 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1587, allocations: 0 / 0.6448 GB, free: 7.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1587, allocations: 3.938 kB / 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.01019/0.1689, allocations: 1.296 MB / 0.6461 GB, free: 6.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1689, allocations: 8.031 kB / 0.6461 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.1693, allocations: 91.58 kB / 0.6462 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.1697, allocations: 368.9 kB / 0.6466 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1698, allocations: 12.31 kB / 0.6466 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.1698, allocations: 4.375 kB / 0.6466 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.1702, allocations: 395.5 kB / 0.647 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1702, allocations: 0 / 0.647 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1703, allocations: 0 / 0.647 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1703, allocations: 0 / 0.647 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1707, allocations: 443.7 kB / 0.6474 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1713, allocations: 0.6366 MB / 0.648 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.1717, allocations: 0.5633 MB / 0.6485 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.1721, allocations: 345.7 kB / 0.6489 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.1731, allocations: 1.021 MB / 0.6499 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.1735, allocations: 408.8 kB / 0.6503 GB, free: 2.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.1735, allocations: 0 / 0.6503 GB, free: 2.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001306/0.1748, allocations: 1.289 MB / 0.6515 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1749, allocations: 81.09 kB / 0.6516 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.1761, allocations: 1.218 MB / 0.6528 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.1761, allocations: 29.7 kB / 0.6528 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1763, allocations: 269.5 kB / 0.6531 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.1764, allocations: 15.81 kB / 0.6531 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.1767, allocations: 347.6 kB / 0.6534 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1768, allocations: 314 kB / 0.6537 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.178, allocations: 1.369 MB / 0.6551 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.1793, allocations: 1.51 MB / 0.6565 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006801/0.1861, allocations: 3.564 MB / 0.66 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1862, allocations: 0 / 0.66 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004364/0.1905, allocations: 3.999 MB / 0.6639 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1906, allocations: 11.88 kB / 0.6639 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.1906, allocations: 11.97 kB / 0.6639 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1906, allocations: 0 / 0.6639 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1907, allocations: 15.98 kB / 0.664 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1908, allocations: 0 / 0.664 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.1912, allocations: 236.2 kB / 0.6642 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.1913, allocations: 23.97 kB / 0.6642 GB, free: 3.531 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.000303/0.1916, allocations: 245.4 kB / 0.6644 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.1917, allocations: 70.7 kB / 0.6645 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.192, allocations: 75.08 kB / 0.6646 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.192, allocations: 0 / 0.6646 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.192, allocations: 0 / 0.6646 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1921, allocations: 151.9 kB / 0.6647 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.1922, allocations: 3.984 kB / 0.6647 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1923, allocations: 4 kB / 0.6647 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1924, allocations: 16.02 kB / 0.6647 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009023/0.1933, allocations: 1.062 MB / 0.6658 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009505/0.1943, allocations: 1.212 MB / 0.667 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002943/0.1946, allocations: 343.8 kB / 0.6673 GB, free: 312 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007069/0.1953, allocations: 0.6728 MB / 0.668 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Backend: time 5.51e-07/0.1953, allocations: 0 / 0.668 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004428/0.1997, allocations: 2.896 MB / 0.6708 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001766/0.2015, allocations: 1.722 MB / 0.6725 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.02262/0.2241, allocations: 13.93 MB / 0.6861 GB, free: 13.06 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)