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.001321/0.001321, allocations: 107.7 kB / 15.99 MB, free: 6.355 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.001477/0.001477, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7836/0.7836, allocations: 126.1 MB / 416.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 0.4945 GB, free: 3.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3285, allocations: 78.69 MB / 0.5714 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002222/0.3308, allocations: 1.482 MB / 0.5728 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005382/0.3362, allocations: 4.217 MB / 0.5769 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.3363, allocations: 6 kB / 0.5769 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.3364, allocations: 7.312 kB / 0.5769 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3366, allocations: 30.36 kB / 0.577 GB, free: 26.95 MB / 446.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.003815/0.3405, allocations: 1.346 MB / 0.5783 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3406, allocations: 90.53 kB / 0.5784 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.3406, allocations: 7.484 kB / 0.5784 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.3407, allocations: 50.88 kB / 0.5784 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.341, allocations: 156 kB / 0.5786 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.341, allocations: 15.66 kB / 0.5786 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.3442, allocations: 2.197 MB / 0.5807 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.3444, allocations: 265.6 kB / 0.581 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3447, allocations: 282.5 kB / 0.5813 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.3477, allocations: 2.12 MB / 0.5833 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3477, allocations: 0 / 0.5833 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3477, allocations: 0 / 0.5833 GB, free: 23.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3477, allocations: 0 / 0.5833 GB, free: 23.7 MB / 446.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.009298/0.357, allocations: 1.301 MB / 0.5846 GB, free: 22.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.3571, allocations: 10.12 kB / 0.5846 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.3575, allocations: 93.77 kB / 0.5847 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.3578, allocations: 360 kB / 0.585 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3578, allocations: 11.3 kB / 0.5851 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.3579, allocations: 8.406 kB / 0.5851 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.3583, allocations: 392.7 kB / 0.5854 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3583, allocations: 0 / 0.5854 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3584, allocations: 1 kB / 0.5854 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.3584, allocations: 1.344 kB / 0.5854 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.3588, allocations: 431.9 kB / 0.5859 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.3593, allocations: 0.6433 MB / 0.5865 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.3598, allocations: 0.5617 MB / 0.587 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.3601, allocations: 341.8 kB / 0.5874 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/0.3609, allocations: 1.03 MB / 0.5884 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.3613, allocations: 421.1 kB / 0.5888 GB, free: 20.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3613, allocations: 0.6562 kB / 0.5888 GB, free: 20.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001244/0.3626, allocations: 1.291 MB / 0.59 GB, free: 19.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.3626, allocations: 82.58 kB / 0.5901 GB, free: 19.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/0.3635, allocations: 1.21 MB / 0.5913 GB, free: 18.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.3636, allocations: 30.33 kB / 0.5913 GB, free: 18.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3637, allocations: 261.4 kB / 0.5916 GB, free: 17.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3637, allocations: 24.27 kB / 0.5916 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.364, allocations: 352.2 kB / 0.5919 GB, free: 17.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.3641, allocations: 314.7 kB / 0.5922 GB, free: 17.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/0.3649, allocations: 1.371 MB / 0.5936 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.3659, allocations: 1.511 MB / 0.595 GB, free: 14.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/0.3722, allocations: 3.556 MB / 0.5985 GB, free: 10.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3722, allocations: 0.5 kB / 0.5985 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003323/0.3755, allocations: 4.004 MB / 0.6024 GB, free: 6.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3755, allocations: 5.094 kB / 0.6024 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.3756, allocations: 7.938 kB / 0.6024 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3756, allocations: 0 / 0.6024 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3757, allocations: 16.98 kB / 0.6024 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3758, allocations: 0 / 0.6024 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.3762, allocations: 229.6 kB / 0.6027 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.3763, allocations: 23.98 kB / 0.6027 GB, free: 6.25 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.0002876/0.3766, allocations: 252.6 kB / 0.6029 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.3766, allocations: 70.77 kB / 0.603 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3769, allocations: 68.98 kB / 0.6031 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3769, allocations: 4 kB / 0.6031 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3769, allocations: 0 / 0.6031 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.377, allocations: 0 / 0.6031 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.3773, allocations: 0.4969 MB / 0.6036 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3773, allocations: 0.9688 kB / 0.6036 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.3774, allocations: 4 kB / 0.6036 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3774, allocations: 3.469 kB / 0.6036 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3774, allocations: 7.984 kB / 0.6036 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3775, allocations: 0 / 0.6036 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3775, allocations: 0 / 0.6036 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.3781, allocations: 1.002 MB / 0.6045 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.3782, allocations: 153.2 kB / 0.6047 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.3783, allocations: 11.98 kB / 0.6047 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3784, allocations: 4 kB / 0.6047 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3785, allocations: 9.109 kB / 0.6047 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3785, allocations: 11.98 kB / 0.6047 GB, free: 4.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005648/0.3791, allocations: 0.6776 MB / 0.6054 GB, free: 3.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3791, allocations: 0 / 0.6054 GB, free: 3.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001544/0.3806, allocations: 0.5751 MB / 0.6059 GB, free: 2.812 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.002113/0.3828, allocations: 0.6861 MB / 0.6066 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.3845, allocations: 2.553 MB / 0.6091 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3846, allocations: 0.6562 kB / 0.6091 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.3849, allocations: 341.1 kB / 0.6094 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3852, allocations: 38.58 kB / 0.6095 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3875, allocations: 1.935 MB / 0.6114 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.388, allocations: 0.9718 MB / 0.6123 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.3882, allocations: 36.55 kB / 0.6123 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3883, allocations: 27.36 kB / 0.6124 GB, free: 12.2 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3883, allocations: 0 / 0.6124 GB, free: 12.2 MB / 462.1 MB Notification: Performance of Templates: time 0.02398/0.4123, allocations: 13.53 MB / 0.6256 GB, free: 14.71 MB / 478.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)