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.0009011/0.000901, allocations: 95.77 kB / 16.02 MB, free: 76 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.0009017/0.0009015, allocations: 181.9 kB / 16.92 MB, free: 6.691 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.427/1.427, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003045, allocations: 8.875 kB / 0.4934 GB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3585, allocations: 79.29 MB / 0.5708 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001652/0.3602, allocations: 1.141 MB / 0.5719 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.3663, allocations: 4.391 MB / 0.5762 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.3664, allocations: 1.062 kB / 0.5762 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3665, allocations: 12.11 kB / 0.5762 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.3667, allocations: 25.66 kB / 0.5762 GB, free: 7.199 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.003659/0.3704, allocations: 1.17 MB / 0.5774 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3706, allocations: 121.9 kB / 0.5775 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3707, allocations: 4 kB / 0.5775 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.3707, allocations: 52.94 kB / 0.5775 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.371, allocations: 158.2 kB / 0.5777 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.371, allocations: 14.09 kB / 0.5777 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.3749, allocations: 2.18 MB / 0.5798 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.3752, allocations: 272.2 kB / 0.5801 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.3755, allocations: 311.5 kB / 0.5804 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003985/0.3795, allocations: 2.153 MB / 0.5825 GB, free: 5.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3795, allocations: 0 / 0.5825 GB, free: 5.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3795, allocations: 0 / 0.5825 GB, free: 5.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3795, allocations: 0 / 0.5825 GB, free: 5.082 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.01155/0.3911, allocations: 1.247 MB / 0.5837 GB, free: 4.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3912, allocations: 10.83 kB / 0.5837 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/0.3916, allocations: 85.39 kB / 0.5838 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.392, allocations: 363.9 kB / 0.5841 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.392, allocations: 7 kB / 0.5842 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3921, allocations: 6.594 kB / 0.5842 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.3926, allocations: 401.6 kB / 0.5845 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3926, allocations: 0 / 0.5845 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.3926, allocations: 5.406 kB / 0.5845 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3927, allocations: 1.156 kB / 0.5845 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.3932, allocations: 436.8 kB / 0.585 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.3939, allocations: 0.643 MB / 0.5856 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.3945, allocations: 0.5591 MB / 0.5861 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/0.395, allocations: 338.4 kB / 0.5865 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/0.3959, allocations: 1.042 MB / 0.5875 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.3963, allocations: 404.5 kB / 0.5879 GB, free: 2.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.3963, allocations: 0 / 0.5879 GB, free: 2.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001513/0.3978, allocations: 1.295 MB / 0.5891 GB, free: 1.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.3979, allocations: 80.22 kB / 0.5892 GB, free: 1.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3993, allocations: 1.21 MB / 0.5904 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.3994, allocations: 31.7 kB / 0.5904 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3995, allocations: 263 kB / 0.5907 GB, free: 1.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.3996, allocations: 18.17 kB / 0.5907 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.3998, allocations: 296.9 kB / 0.591 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.3999, allocations: 310.4 kB / 0.5913 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.4012, allocations: 1.37 MB / 0.5926 GB, free: 240 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4027, allocations: 1.509 MB / 0.5941 GB, free: 15.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007572/0.4103, allocations: 3.56 MB / 0.5976 GB, free: 13.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4103, allocations: 0 / 0.5976 GB, free: 13.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00486/0.4152, allocations: 4.006 MB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4152, allocations: 5.5 kB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4153, allocations: 2.75 kB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4153, allocations: 1.375 kB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4154, allocations: 19.02 kB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4155, allocations: 1.688 kB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.4162, allocations: 230.8 kB / 0.6017 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.4162, allocations: 27.23 kB / 0.6017 GB, free: 11.19 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 (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.0003849/0.4166, allocations: 244 kB / 0.602 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.4167, allocations: 76.39 kB / 0.602 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.417, allocations: 74.2 kB / 0.6021 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.417, allocations: 1.375 kB / 0.6021 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4171, allocations: 0 / 0.6021 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4171, allocations: 1.375 kB / 0.6021 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.4176, allocations: 498.8 kB / 0.6026 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4176, allocations: 0 / 0.6026 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.4177, allocations: 17.36 kB / 0.6026 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4177, allocations: 1.219 kB / 0.6026 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4177, allocations: 2.281 kB / 0.6026 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4177, allocations: 16 kB / 0.6026 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4178, allocations: 1.625 kB / 0.6026 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009538/0.4187, allocations: 0.9957 MB / 0.6036 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4188, allocations: 153.2 kB / 0.6038 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.4189, allocations: 5.172 kB / 0.6038 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4191, allocations: 7.875 kB / 0.6038 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.4191, allocations: 8.016 kB / 0.6038 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.4192, allocations: 14.2 kB / 0.6038 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007801/0.4199, allocations: 0.6783 MB / 0.6044 GB, free: 9.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4199, allocations: 0 / 0.6044 GB, free: 9.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002466/0.4224, allocations: 0.5857 MB / 0.605 GB, free: 8.828 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 (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.002686/0.4251, allocations: 0.6903 MB / 0.6057 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.4279, allocations: 2.548 MB / 0.6082 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4279, allocations: 0 / 0.6082 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.4282, allocations: 335.8 kB / 0.6085 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.4287, allocations: 41.47 kB / 0.6085 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.4312, allocations: 1.942 MB / 0.6104 GB, free: 3.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.4317, allocations: 0.972 MB / 0.6114 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.4319, allocations: 32.55 kB / 0.6114 GB, free: 2.215 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4321, allocations: 27.42 kB / 0.6114 GB, free: 2.191 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4321, allocations: 0 / 0.6114 GB, free: 2.191 MB / 446.1 MB Notification: Performance of Templates: time 0.02358/0.4557, allocations: 13.17 MB / 0.6243 GB, free: 5.059 MB / 462.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)