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.001176/0.001176, allocations: 111.3 kB / 17.04 MB, free: 6.078 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.001225/0.001225, allocations: 195 kB / 17.98 MB, free: 5.16 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7216/0.7216, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 63.91 kB / 494.9 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3201, allocations: 76.14 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002547/0.3227, allocations: 1.734 MB / 0.5593 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006384/0.3291, allocations: 5.384 MB / 0.5646 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3292, allocations: 5 kB / 0.5646 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3304, allocations: 371.1 kB / 0.5649 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3306, allocations: 57.16 kB / 0.565 GB, free: 31.71 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.004067/0.3346, allocations: 1.494 MB / 0.5664 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.3349, allocations: 158 kB / 0.5666 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.335, allocations: 11.05 kB / 0.5666 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.3351, allocations: 63.59 kB / 0.5667 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.3353, allocations: 169.1 kB / 0.5668 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.3354, allocations: 14.62 kB / 0.5668 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.339, allocations: 2.208 MB / 0.569 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.3393, allocations: 278.4 kB / 0.5693 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.3396, allocations: 305.4 kB / 0.5696 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004036/0.3436, allocations: 2.178 MB / 0.5717 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3436, allocations: 1.156 kB / 0.5717 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3436, allocations: 0.9688 kB / 0.5717 GB, free: 29.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3437, allocations: 0 / 0.5717 GB, free: 29.46 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.00907/0.3527, allocations: 1.369 MB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3528, allocations: 11.98 kB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.3532, allocations: 93.47 kB / 0.5731 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.3537, allocations: 412.5 kB / 0.5735 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3538, allocations: 8.078 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.3538, allocations: 7.109 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.3543, allocations: 397.7 kB / 0.5739 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3543, allocations: 1.375 kB / 0.5739 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3543, allocations: 2.141 kB / 0.5739 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3543, allocations: 1.469 kB / 0.5739 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.3548, allocations: 434.1 kB / 0.5743 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.3554, allocations: 0.6764 MB / 0.575 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.356, allocations: 0.5596 MB / 0.5755 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.3563, allocations: 351.1 kB / 0.5759 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007822/0.3571, allocations: 1.024 MB / 0.5769 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.3575, allocations: 408.7 kB / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.3575, allocations: 1.312 kB / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001431/0.359, allocations: 1.298 MB / 0.5785 GB, free: 26.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.359, allocations: 81.58 kB / 0.5786 GB, free: 26.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3605, allocations: 1.295 MB / 0.5799 GB, free: 25.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.3606, allocations: 32.69 kB / 0.5799 GB, free: 25.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.3608, allocations: 281.6 kB / 0.5802 GB, free: 25.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3608, allocations: 17.62 kB / 0.5802 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.3612, allocations: 352.9 kB / 0.5805 GB, free: 25.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.3612, allocations: 321.4 kB / 0.5808 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.3625, allocations: 1.371 MB / 0.5822 GB, free: 24.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.3637, allocations: 1.507 MB / 0.5836 GB, free: 23.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007146/0.3709, allocations: 3.559 MB / 0.5871 GB, free: 21.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3709, allocations: 0 / 0.5871 GB, free: 21.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003437/0.3744, allocations: 4.021 MB / 0.591 GB, free: 17.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3744, allocations: 11.94 kB / 0.591 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.3744, allocations: 0 / 0.591 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3745, allocations: 0 / 0.591 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3746, allocations: 22.33 kB / 0.5911 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3746, allocations: 4 kB / 0.5911 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.3752, allocations: 224.3 kB / 0.5913 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.3753, allocations: 23.98 kB / 0.5913 GB, free: 17.43 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.0003346/0.3756, allocations: 254.2 kB / 0.5916 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.3757, allocations: 78.61 kB / 0.5916 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.3759, allocations: 80.67 kB / 0.5917 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.376, allocations: 3.984 kB / 0.5917 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.376, allocations: 5.375 kB / 0.5917 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.376, allocations: 0 / 0.5917 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.3764, allocations: 0.5102 MB / 0.5922 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3765, allocations: 0 / 0.5922 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.3765, allocations: 14.25 kB / 0.5922 GB, free: 16.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3765, allocations: 0 / 0.5922 GB, free: 16.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3766, allocations: 7.984 kB / 0.5922 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3766, allocations: 0 / 0.5922 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3766, allocations: 0 / 0.5922 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.3772, allocations: 1.018 MB / 0.5932 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.3773, allocations: 167.6 kB / 0.5934 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.3774, allocations: 0 / 0.5934 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3776, allocations: 4 kB / 0.5934 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3776, allocations: 7.984 kB / 0.5934 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3777, allocations: 17.7 kB / 0.5934 GB, free: 15.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006532/0.3783, allocations: 0.7183 MB / 0.5941 GB, free: 14.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3783, allocations: 0 / 0.5941 GB, free: 14.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002032/0.3804, allocations: 0.5818 MB / 0.5947 GB, free: 13.88 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.001783/0.3822, allocations: 0.6966 MB / 0.5954 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.3841, allocations: 2.552 MB / 0.5979 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3841, allocations: 0 / 0.5979 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.3844, allocations: 335.8 kB / 0.5982 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.3849, allocations: 60.69 kB / 0.5982 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3867, allocations: 1.87 MB / 0.6001 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.387, allocations: 0.9879 MB / 0.601 GB, free: 7.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.3872, allocations: 41.42 kB / 0.6011 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.957e-05/0.3873, allocations: 31.42 kB / 0.6011 GB, free: 7.293 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3873, allocations: 0 / 0.6011 GB, free: 7.293 MB / 446.1 MB Notification: Performance of Templates: time 0.02114/0.4084, allocations: 14.18 MB / 0.6149 GB, free: 9.176 MB / 462.1 MB 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)