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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 112.8 kB / 17.09 MB, free: 5.992 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.001193/0.001193, allocations: 194.9 kB / 18.03 MB, free: 5.066 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6809/0.6809, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 72.42 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1356, allocations: 76.17 MB / 0.6328 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003034/0.1387, allocations: 1.73 MB / 0.6345 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007261/0.146, allocations: 5.394 MB / 0.6398 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1461, allocations: 0 / 0.6398 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.1473, allocations: 378.3 kB / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1475, allocations: 55.67 kB / 0.6402 GB, free: 12.8 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.003601/0.1511, allocations: 1.506 MB / 0.6417 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1514, allocations: 162.1 kB / 0.6418 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.1514, allocations: 21.52 kB / 0.6418 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.1515, allocations: 59.77 kB / 0.6419 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1518, allocations: 167.4 kB / 0.642 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.1518, allocations: 16 kB / 0.6421 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.155, allocations: 2.208 MB / 0.6442 GB, free: 8.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1552, allocations: 279.8 kB / 0.6445 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.1554, allocations: 302.1 kB / 0.6448 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.1583, allocations: 2.178 MB / 0.6469 GB, free: 5.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1583, allocations: 3.984 kB / 0.6469 GB, free: 5.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1583, allocations: 0 / 0.6469 GB, free: 5.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.1584, allocations: 0 / 0.6469 GB, free: 5.902 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.01049/0.1689, allocations: 1.376 MB / 0.6482 GB, free: 4.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1689, allocations: 8.031 kB / 0.6483 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.1693, allocations: 95.58 kB / 0.6483 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.1699, allocations: 410.3 kB / 0.6487 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1699, allocations: 384 / 0.6487 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1699, allocations: 8.375 kB / 0.6487 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.1703, allocations: 395.5 kB / 0.6491 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.1703, allocations: 0 / 0.6491 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1704, allocations: 8 kB / 0.6491 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1704, allocations: 0 / 0.6491 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.1708, allocations: 435.7 kB / 0.6495 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.1714, allocations: 0.6692 MB / 0.6502 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.1719, allocations: 0.5671 MB / 0.6508 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.1721, allocations: 337.7 kB / 0.6511 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009006/0.173, allocations: 1.032 MB / 0.6521 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.1734, allocations: 400.8 kB / 0.6525 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.1735, allocations: 0 / 0.6525 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001212/0.1747, allocations: 1.297 MB / 0.6537 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1747, allocations: 81.11 kB / 0.6538 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1759, allocations: 1.286 MB / 0.6551 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.1759, allocations: 37.64 kB / 0.6551 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1761, allocations: 285.4 kB / 0.6554 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1762, allocations: 23.73 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.1765, allocations: 355.8 kB / 0.6557 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.1766, allocations: 318 kB / 0.656 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.1777, allocations: 1.369 MB / 0.6574 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.1791, allocations: 1.505 MB / 0.6588 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.1861, allocations: 3.557 MB / 0.6623 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1861, allocations: 0 / 0.6623 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004326/0.1904, allocations: 4.018 MB / 0.6662 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.1905, allocations: 7.938 kB / 0.6663 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.1905, allocations: 4 kB / 0.6663 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1905, allocations: 0 / 0.6663 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1907, allocations: 15.98 kB / 0.6663 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1907, allocations: 11.97 kB / 0.6663 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.1912, allocations: 228.3 kB / 0.6665 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.1912, allocations: 27.98 kB / 0.6665 GB, free: 1.18 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.0003186/0.1916, allocations: 241.7 kB / 0.6668 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.1917, allocations: 82.62 kB / 0.6668 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.1919, allocations: 83.75 kB / 0.6669 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.192, allocations: 0 / 0.6669 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.192, allocations: 3.938 kB / 0.6669 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1921, allocations: 159.7 kB / 0.6671 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.1922, allocations: 11.98 kB / 0.6671 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1923, allocations: 0 / 0.6671 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1924, allocations: 7.984 kB / 0.6671 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009491/0.1933, allocations: 1.07 MB / 0.6681 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009751/0.1943, allocations: 1.213 MB / 0.6693 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003079/0.1946, allocations: 347.8 kB / 0.6697 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008964/0.1955, allocations: 0.7261 MB / 0.6704 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of Backend: time 2.9e-07/0.1956, allocations: 0 / 0.6704 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004757/0.2003, allocations: 2.906 MB / 0.6732 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00202/0.2023, allocations: 1.856 MB / 0.675 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of Templates: time 0.02332/0.2257, allocations: 14.54 MB / 0.6892 GB, free: 9.879 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)