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.001041/0.001041, allocations: 112.8 kB / 17.04 MB, free: 5.812 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.001043/0.001043, allocations: 195 kB / 17.98 MB, free: 5.027 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.232/1.232, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6654/0.6654, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.75 kB / 494.9 MB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2991, allocations: 76.14 MB / 0.5576 GB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002081/0.3012, allocations: 1.416 MB / 0.559 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00479/0.306, allocations: 4.193 MB / 0.5631 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.306, allocations: 0 / 0.5631 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.3062, allocations: 16.61 kB / 0.5631 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.3064, allocations: 34.22 kB / 0.5631 GB, free: 32.72 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.003568/0.3099, allocations: 1.493 MB / 0.5646 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3101, allocations: 96.22 kB / 0.5647 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.3102, allocations: 4.078 kB / 0.5647 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.3102, allocations: 51.97 kB / 0.5647 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3104, allocations: 148.1 kB / 0.5649 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.3105, allocations: 13.16 kB / 0.5649 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.3138, allocations: 2.201 MB / 0.567 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.314, allocations: 274 kB / 0.5673 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.3142, allocations: 282.9 kB / 0.5676 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.3174, allocations: 2.105 MB / 0.5696 GB, free: 30.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3174, allocations: 1.312 kB / 0.5696 GB, free: 30.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3174, allocations: 8.75 kB / 0.5696 GB, free: 30.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.3175, allocations: 0 / 0.5696 GB, free: 30.55 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.00806/0.3255, allocations: 1.298 MB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3256, allocations: 9.031 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.3259, allocations: 87.09 kB / 0.571 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3263, allocations: 368.5 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3263, allocations: 7.609 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.3264, allocations: 8.344 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.3268, allocations: 392.4 kB / 0.5717 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3268, allocations: 1.688 kB / 0.5717 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3268, allocations: 1.156 kB / 0.5717 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3268, allocations: 1.906 kB / 0.5718 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.3273, allocations: 437.5 kB / 0.5722 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.3278, allocations: 0.6294 MB / 0.5728 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.3283, allocations: 0.5674 MB / 0.5733 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.3286, allocations: 339.9 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.3294, allocations: 1.023 MB / 0.5747 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.3298, allocations: 414.3 kB / 0.5751 GB, free: 27.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.744e-06/0.3298, allocations: 0 / 0.5751 GB, free: 27.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001293/0.3311, allocations: 1.293 MB / 0.5763 GB, free: 27.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.3311, allocations: 82.12 kB / 0.5764 GB, free: 27.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.3323, allocations: 1.213 MB / 0.5776 GB, free: 26.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.3324, allocations: 31.45 kB / 0.5776 GB, free: 26.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3325, allocations: 260.1 kB / 0.5779 GB, free: 26.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.3326, allocations: 26.52 kB / 0.5779 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.3329, allocations: 355 kB / 0.5782 GB, free: 26.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.333, allocations: 309.9 kB / 0.5785 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.3342, allocations: 1.372 MB / 0.5799 GB, free: 25.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.3355, allocations: 1.503 MB / 0.5813 GB, free: 25.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006615/0.3421, allocations: 3.562 MB / 0.5848 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3422, allocations: 0 / 0.5848 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003385/0.3456, allocations: 4.014 MB / 0.5887 GB, free: 20.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3456, allocations: 7.938 kB / 0.5887 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.3456, allocations: 4 kB / 0.5887 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3456, allocations: 3.938 kB / 0.5887 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3458, allocations: 15.98 kB / 0.5888 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3458, allocations: 4.781 kB / 0.5888 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.3463, allocations: 224.3 kB / 0.589 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.3463, allocations: 29.39 kB / 0.589 GB, free: 19.75 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.0002475/0.3466, allocations: 239.1 kB / 0.5892 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.3466, allocations: 70.66 kB / 0.5893 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.3468, allocations: 76.97 kB / 0.5894 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3468, allocations: 7.938 kB / 0.5894 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3469, allocations: 0 / 0.5894 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3469, allocations: 1.062 kB / 0.5894 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3472, allocations: 0.4892 MB / 0.5899 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3472, allocations: 0.6562 kB / 0.5899 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.3473, allocations: 11.92 kB / 0.5899 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3473, allocations: 0.625 kB / 0.5899 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3473, allocations: 4.531 kB / 0.5899 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3473, allocations: 0 / 0.5899 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3473, allocations: 5.078 kB / 0.5899 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.3479, allocations: 1 MB / 0.5909 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.3479, allocations: 155.8 kB / 0.591 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.348, allocations: 4 kB / 0.591 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3481, allocations: 9.109 kB / 0.591 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3482, allocations: 3.984 kB / 0.591 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3482, allocations: 12.89 kB / 0.591 GB, free: 17.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005017/0.3487, allocations: 0.6698 MB / 0.5917 GB, free: 16.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3487, allocations: 0 / 0.5917 GB, free: 16.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001714/0.3504, allocations: 0.5779 MB / 0.5923 GB, free: 16.32 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.001571/0.352, allocations: 0.6938 MB / 0.5929 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3536, allocations: 2.543 MB / 0.5954 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3536, allocations: 3.938 kB / 0.5954 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3539, allocations: 341 kB / 0.5957 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3541, allocations: 50.44 kB / 0.5958 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3556, allocations: 1.755 MB / 0.5975 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3559, allocations: 0.9679 MB / 0.5984 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.356, allocations: 35.17 kB / 0.5985 GB, free: 9.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.3561, allocations: 31.41 kB / 0.5985 GB, free: 9.898 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3561, allocations: 4 kB / 0.5985 GB, free: 9.895 MB / 446.1 MB Notification: Performance of Templates: time 0.01768/0.3738, allocations: 13.54 MB / 0.6117 GB, free: 12.4 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)