Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008456/0.0008455, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004961/0.004962, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 473.4 MB / 0.7469 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.000346, allocations: 14.38 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2731, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.0019/0.2751, allocations: 1.478 MB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007913/0.283, allocations: 5.548 MB / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.2831, allocations: 3.938 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.2843, allocations: 358.6 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2845, allocations: 59.8 kB / 1.081 GB, free: 72 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.003088/0.2876, allocations: 1.169 MB / 1.083 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.2878, allocations: 207.3 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.2879, allocations: 13.55 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.288, allocations: 59.72 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.2882, allocations: 176.8 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.2883, allocations: 20 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.2914, allocations: 2.18 MB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.2916, allocations: 275.8 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.2919, allocations: 343.7 kB / 1.086 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.2947, allocations: 2.217 MB / 1.088 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2947, allocations: 3.938 kB / 1.088 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2948, allocations: 4 kB / 1.088 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2948, allocations: 0 / 1.088 GB, free: 9.406 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.01081/0.3056, allocations: 1.296 MB / 1.089 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3056, allocations: 12.03 kB / 1.089 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.306, allocations: 99.58 kB / 1.089 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.3065, allocations: 414 kB / 1.09 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3065, allocations: 12.36 kB / 1.09 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.3066, allocations: 4.375 kB / 1.09 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.307, allocations: 387.5 kB / 1.09 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.307, allocations: 4 kB / 1.09 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3071, allocations: 0 / 1.09 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3071, allocations: 4 kB / 1.09 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.3075, allocations: 439.7 kB / 1.091 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.3082, allocations: 0.6654 MB / 1.091 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.3087, allocations: 0.5634 MB / 1.092 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.309, allocations: 333.6 kB / 1.092 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.3101, allocations: 1.044 MB / 1.093 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.3105, allocations: 404.8 kB / 1.093 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.3105, allocations: 0 / 1.093 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001355/0.3118, allocations: 1.3 MB / 1.095 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3119, allocations: 81.09 kB / 1.095 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.3132, allocations: 1.293 MB / 1.096 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3132, allocations: 33.7 kB / 1.096 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.3135, allocations: 281.4 kB / 1.096 GB, free: 320 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.3135, allocations: 19.8 kB / 1.096 GB, free: 300 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.3137, allocations: 283.7 kB / 1.097 GB, free: 12 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3139, allocations: 326 kB / 1.097 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3151, allocations: 1.377 MB / 1.098 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.3165, allocations: 1.509 MB / 1.1 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/0.3236, allocations: 3.56 MB / 1.103 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3236, allocations: 4 kB / 1.103 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004275/0.3279, allocations: 4.006 MB / 1.107 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3279, allocations: 7.984 kB / 1.107 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.3279, allocations: 4 kB / 1.107 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.328, allocations: 0 / 1.107 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3281, allocations: 16 kB / 1.107 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3281, allocations: 3.984 kB / 1.107 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.3287, allocations: 232.3 kB / 1.107 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.3287, allocations: 23.98 kB / 1.107 GB, free: 4.801 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.0003222/0.329, allocations: 250.2 kB / 1.108 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.3291, allocations: 78.62 kB / 1.108 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3294, allocations: 79.81 kB / 1.108 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3294, allocations: 4.031 kB / 1.108 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3294, allocations: 0 / 1.108 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3294, allocations: 7.984 kB / 1.108 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.3299, allocations: 0.5101 MB / 1.108 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.3299, allocations: 4 kB / 1.108 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.33, allocations: 15.88 kB / 1.108 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.33, allocations: 0 / 1.108 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.33, allocations: 7.984 kB / 1.108 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.33, allocations: 0 / 1.108 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.33, allocations: 0 / 1.108 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.331, allocations: 1.01 MB / 1.109 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3311, allocations: 163.7 kB / 1.109 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.3312, allocations: 4 kB / 1.109 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3313, allocations: 4 kB / 1.109 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3314, allocations: 15.98 kB / 1.11 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.3314, allocations: 11.92 kB / 1.11 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007912/0.3322, allocations: 0.7299 MB / 1.11 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3322, allocations: 0 / 1.11 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001505/0.3337, allocations: 0.5935 MB / 1.111 GB, free: 1.219 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.001809/0.3356, allocations: 0.6855 MB / 1.111 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.3379, allocations: 2.548 MB / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3379, allocations: 0 / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.3383, allocations: 340.2 kB / 1.114 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.3388, allocations: 60.73 kB / 1.114 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.3411, allocations: 2.09 MB / 1.116 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.3417, allocations: 0.9842 MB / 1.117 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.3419, allocations: 41.42 kB / 1.117 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.342, allocations: 27.42 kB / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.342, allocations: 0 / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.02345/0.3655, allocations: 13.78 MB / 1.131 GB, free: 12.65 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)