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.00112/0.00112, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 176.7 kB / 16.57 MB, free: 6.855 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.402/1.402, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6686/0.6686, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 12 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 77.16 MB / 0.5569 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001305/0.1345, allocations: 1.113 MB / 0.558 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005734/0.1402, allocations: 3.837 MB / 0.5617 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.1403, allocations: 0 / 0.5617 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1405, allocations: 11.92 kB / 0.5617 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1407, allocations: 27.89 kB / 0.5618 GB, free: 6.562 MB / 430.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.1439, allocations: 1.078 MB / 0.5628 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.144, allocations: 63.84 kB / 0.5629 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.144, allocations: 11.92 kB / 0.5629 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.1441, allocations: 39.84 kB / 0.5629 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1443, allocations: 151.7 kB / 0.5631 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.1443, allocations: 12 kB / 0.5631 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.147, allocations: 1.868 MB / 0.5649 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.1471, allocations: 243.3 kB / 0.5651 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1472, allocations: 113.2 kB / 0.5652 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.149, allocations: 1.396 MB / 0.5666 GB, free: 1.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.149, allocations: 0 / 0.5666 GB, free: 1.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.149, allocations: 0 / 0.5666 GB, free: 1.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.149, allocations: 3.938 kB / 0.5666 GB, free: 1.586 MB / 430.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.009881/0.1589, allocations: 1.253 MB / 0.5678 GB, free: 288 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.159, allocations: 16.02 kB / 0.5678 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.1594, allocations: 86.75 kB / 0.5679 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.1598, allocations: 355.8 kB / 0.5683 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1598, allocations: 15.97 kB / 0.5683 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.1599, allocations: 4 kB / 0.5683 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.1603, allocations: 387.1 kB / 0.5687 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1603, allocations: 0 / 0.5687 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1603, allocations: 0 / 0.5687 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1603, allocations: 4 kB / 0.5687 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.1607, allocations: 439.7 kB / 0.5691 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.1613, allocations: 0.6365 MB / 0.5697 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.1619, allocations: 0.5633 MB / 0.5702 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009656/0.1629, allocations: 1.04 MB / 0.5713 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.1633, allocations: 404.8 kB / 0.5716 GB, free: 11.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.1633, allocations: 0 / 0.5716 GB, free: 11.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001249/0.1646, allocations: 1.293 MB / 0.5729 GB, free: 10.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1646, allocations: 85.11 kB / 0.573 GB, free: 10.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1657, allocations: 1.202 MB / 0.5742 GB, free: 9.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.1658, allocations: 33.7 kB / 0.5742 GB, free: 9.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.166, allocations: 265.5 kB / 0.5745 GB, free: 9.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.166, allocations: 27.67 kB / 0.5745 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.166, allocations: 3.984 kB / 0.5745 GB, free: 9.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1662, allocations: 415.9 kB / 0.5749 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.1674, allocations: 1.373 MB / 0.5762 GB, free: 7.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.1687, allocations: 1.497 MB / 0.5777 GB, free: 5.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.1702, allocations: 1.918 MB / 0.5796 GB, free: 3.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1702, allocations: 0 / 0.5796 GB, free: 3.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.281/0.4512, allocations: 3.976 MB / 0.5834 GB, free: 31.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4512, allocations: 5.797 kB / 0.5834 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.4513, allocations: 9.016 kB / 0.5835 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.4513, allocations: 2.812 kB / 0.5835 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.4515, allocations: 17.12 kB / 0.5835 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4515, allocations: 2.062 kB / 0.5835 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.4521, allocations: 229.3 kB / 0.5837 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.4522, allocations: 26.08 kB / 0.5837 GB, free: 31.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000355/0.4525, allocations: 241.4 kB / 0.5839 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.4526, allocations: 66.95 kB / 0.584 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.4529, allocations: 74.97 kB / 0.5841 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4529, allocations: 1.531 kB / 0.5841 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4529, allocations: 1.359 kB / 0.5841 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.453, allocations: 2.516 kB / 0.5841 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.4535, allocations: 0.4898 MB / 0.5846 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4535, allocations: 4.562 kB / 0.5846 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.4536, allocations: 7.984 kB / 0.5846 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.4536, allocations: 1.547 kB / 0.5846 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4537, allocations: 6.188 kB / 0.5846 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4537, allocations: 3.062 kB / 0.5846 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4537, allocations: 1.125 kB / 0.5846 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.455, allocations: 1.01 MB / 0.5856 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4551, allocations: 152.3 kB / 0.5857 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.4551, allocations: 2.828 kB / 0.5857 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4553, allocations: 9.484 kB / 0.5857 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.4554, allocations: 6.469 kB / 0.5857 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.4554, allocations: 13.91 kB / 0.5858 GB, free: 30.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.4565, allocations: 0.6621 MB / 0.5864 GB, free: 30.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4565, allocations: 1.125 kB / 0.5864 GB, free: 30.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002083/0.4586, allocations: 0.5767 MB / 0.587 GB, free: 30.82 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/0.4606, allocations: 0.6847 MB / 0.5876 GB, free: 30.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002863/0.4634, allocations: 2.549 MB / 0.5901 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4634, allocations: 1.859 kB / 0.5901 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.4639, allocations: 345.7 kB / 0.5905 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.4642, allocations: 35.72 kB / 0.5905 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.4668, allocations: 1.834 MB / 0.5923 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.4674, allocations: 0.9835 MB / 0.5932 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.4676, allocations: 36.45 kB / 0.5933 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.4677, allocations: 37.3 kB / 0.5933 GB, free: 28.84 MB / 446.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4677, allocations: 0 / 0.5933 GB, free: 28.84 MB / 446.1 MB Notification: Performance of Templates: time 0.02441/0.4921, allocations: 13.02 MB / 0.606 GB, free: 24.77 MB / 446.1 MB 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)