Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0007862/0.0007862, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004868/0.004868, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 9.5 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.27, allocations: 162.2 MB / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001904/0.272, allocations: 1.464 MB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007709/0.2797, allocations: 5.557 MB / 1.081 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.2799, allocations: 0 / 1.081 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.281, allocations: 362.6 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.2811, allocations: 55.73 kB / 1.081 GB, free: 4 kB / 0.8262 GB [/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.002984/0.2841, allocations: 1.181 MB / 1.083 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.2844, allocations: 206.5 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.2845, allocations: 9.562 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.2846, allocations: 63.72 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.2848, allocations: 172.8 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2848, allocations: 19.98 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.2878, allocations: 2.184 MB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.2881, allocations: 283.8 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.2884, allocations: 331.8 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.291, allocations: 2.217 MB / 1.088 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2911, allocations: 0 / 1.088 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2911, allocations: 7.875 kB / 1.088 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.2911, allocations: 4 kB / 1.088 GB, free: 9.332 MB / 0.8419 GB 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.01121/0.3023, allocations: 1.296 MB / 1.089 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3024, allocations: 16.02 kB / 1.089 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.3028, allocations: 91.59 kB / 1.089 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3033, allocations: 418 kB / 1.09 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3033, allocations: 4.375 kB / 1.09 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.3033, allocations: 4.375 kB / 1.09 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.3038, allocations: 403.4 kB / 1.09 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3038, allocations: 0 / 1.09 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3038, allocations: 0 / 1.09 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3038, allocations: 0 / 1.09 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.3043, allocations: 431.8 kB / 1.091 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.3049, allocations: 0.6654 MB / 1.091 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.3054, allocations: 0.5711 MB / 1.092 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.3057, allocations: 337.7 kB / 1.092 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009671/0.3067, allocations: 1.036 MB / 1.093 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.3071, allocations: 404.8 kB / 1.093 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3071, allocations: 0 / 1.093 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001313/0.3085, allocations: 1.3 MB / 1.095 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3085, allocations: 81.11 kB / 1.095 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.3098, allocations: 1.289 MB / 1.096 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.3098, allocations: 33.7 kB / 1.096 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.31, allocations: 285.4 kB / 1.096 GB, free: 248 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.3101, allocations: 19.8 kB / 1.096 GB, free: 228 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.3103, allocations: 295.9 kB / 1.097 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3104, allocations: 318 kB / 1.097 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3117, allocations: 1.369 MB / 1.098 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.313, allocations: 1.514 MB / 1.1 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/0.3202, allocations: 3.56 MB / 1.103 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3202, allocations: 0 / 1.103 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0043/0.3245, allocations: 4.014 MB / 1.107 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3246, allocations: 7.938 kB / 1.107 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.3246, allocations: 4 kB / 1.107 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3246, allocations: 0 / 1.107 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3247, allocations: 15.98 kB / 1.107 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3248, allocations: 4.031 kB / 1.107 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.3253, allocations: 228.3 kB / 1.107 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.3253, allocations: 27.98 kB / 1.107 GB, free: 4.727 MB / 0.8575 GB 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.0003139/0.3256, allocations: 250.2 kB / 1.108 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.3257, allocations: 74.62 kB / 1.108 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.326, allocations: 87.75 kB / 1.108 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.326, allocations: 0 / 1.108 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.326, allocations: 0 / 1.108 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.326, allocations: 4 kB / 1.108 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.3265, allocations: 0.5101 MB / 1.108 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3265, allocations: 0 / 1.108 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.3266, allocations: 11.94 kB / 1.108 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3266, allocations: 0 / 1.108 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3266, allocations: 7.984 kB / 1.108 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3266, allocations: 4 kB / 1.108 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3266, allocations: 4.031 kB / 1.108 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.3275, allocations: 1.014 MB / 1.109 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3277, allocations: 159.7 kB / 1.109 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.3277, allocations: 4 kB / 1.11 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3279, allocations: 15.98 kB / 1.11 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3279, allocations: 4 kB / 1.11 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.328, allocations: 11.97 kB / 1.11 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007676/0.3288, allocations: 0.7222 MB / 1.11 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3288, allocations: 3.938 kB / 1.11 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001465/0.3302, allocations: 0.5935 MB / 1.111 GB, free: 1.152 MB / 0.8575 GB 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.001798/0.332, allocations: 0.6862 MB / 1.111 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002291/0.3343, allocations: 2.55 MB / 1.114 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3344, allocations: 3.938 kB / 1.114 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.3347, allocations: 335.8 kB / 1.114 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3352, allocations: 68.61 kB / 1.114 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.3375, allocations: 2.082 MB / 1.116 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.338, allocations: 0.9842 MB / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.3382, allocations: 41.44 kB / 1.117 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3383, allocations: 27.41 kB / 1.117 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.3384, allocations: 0 / 1.117 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.02354/0.3619, allocations: 13.77 MB / 1.131 GB, free: 12.59 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)