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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001232/0.001232, allocations: 194.5 kB / 16.14 MB, free: 6.688 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.23 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2971, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003021/0.3002, allocations: 1.815 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008609/0.3088, allocations: 5.66 MB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.3089, allocations: 3.938 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3102, allocations: 358.6 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3103, allocations: 59.78 kB / 1.075 GB, free: 2.961 MB / 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.002862/0.3131, allocations: 1.173 MB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.3135, allocations: 199.3 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.3135, allocations: 21.47 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.3136, allocations: 55.73 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3138, allocations: 184.8 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.3139, allocations: 16 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.317, allocations: 2.184 MB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.3172, allocations: 279.8 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.3175, allocations: 306.1 kB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.3204, allocations: 2.225 MB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3204, allocations: 0 / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3204, allocations: 0 / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3204, allocations: 0 / 1.082 GB, free: 12.33 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.008003/0.3285, allocations: 1.37 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3285, allocations: 12.03 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.3289, allocations: 95.59 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.3294, allocations: 414.1 kB / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3294, allocations: 4.375 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.3295, allocations: 8.359 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.3299, allocations: 391.5 kB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3299, allocations: 0 / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3299, allocations: 4 kB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3299, allocations: 0 / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.3304, allocations: 439.7 kB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.331, allocations: 0.6654 MB / 1.085 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.3315, allocations: 0.5594 MB / 1.086 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3319, allocations: 333.7 kB / 1.086 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.3329, allocations: 1.036 MB / 1.087 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/0.3333, allocations: 412.8 kB / 1.087 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3333, allocations: 0 / 1.087 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.00132/0.3346, allocations: 1.293 MB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3347, allocations: 85.23 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.3359, allocations: 1.293 MB / 1.09 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.336, allocations: 25.7 kB / 1.09 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.3362, allocations: 289.4 kB / 1.09 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.3362, allocations: 19.8 kB / 1.09 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.3365, allocations: 351.6 kB / 1.091 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3367, allocations: 318 kB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3378, allocations: 1.369 MB / 1.092 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.3392, allocations: 1.515 MB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007122/0.3463, allocations: 3.56 MB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3463, allocations: 0 / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004277/0.3506, allocations: 4.022 MB / 1.101 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3506, allocations: 4 kB / 1.101 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.3507, allocations: 3.938 kB / 1.101 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3507, allocations: 4 kB / 1.101 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3508, allocations: 15.98 kB / 1.101 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3509, allocations: 4.062 kB / 1.101 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.3513, allocations: 232.3 kB / 1.101 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.3514, allocations: 19.98 kB / 1.101 GB, free: 7.605 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.0003144/0.3517, allocations: 257.6 kB / 1.102 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.3518, allocations: 74.62 kB / 1.102 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.3521, allocations: 75.81 kB / 1.102 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3521, allocations: 4 kB / 1.102 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3521, allocations: 0 / 1.102 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3521, allocations: 0 / 1.102 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.3525, allocations: 0.518 MB / 1.102 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3526, allocations: 3.938 kB / 1.102 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.3526, allocations: 11.88 kB / 1.102 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3527, allocations: 4 kB / 1.102 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3527, allocations: 7.984 kB / 1.102 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3527, allocations: 0 / 1.102 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3527, allocations: 4 kB / 1.102 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.3536, allocations: 1.002 MB / 1.103 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3537, allocations: 163.6 kB / 1.103 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.3538, allocations: 4 kB / 1.103 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.354, allocations: 11.97 kB / 1.103 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.354, allocations: 4 kB / 1.103 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.3541, allocations: 19.91 kB / 1.103 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007634/0.3548, allocations: 0.7261 MB / 1.104 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3548, allocations: 0 / 1.104 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001497/0.3563, allocations: 0.5935 MB / 1.105 GB, free: 4.023 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.001793/0.3581, allocations: 0.6858 MB / 1.105 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.3604, allocations: 2.554 MB / 1.108 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3604, allocations: 4 kB / 1.108 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.3607, allocations: 335.9 kB / 1.108 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3612, allocations: 60.62 kB / 1.108 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3634, allocations: 2.062 MB / 1.11 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.3639, allocations: 0.9842 MB / 1.111 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.3641, allocations: 37.42 kB / 1.111 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3642, allocations: 31.36 kB / 1.111 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.3642, allocations: 0 / 1.111 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.02164/0.3859, allocations: 13.88 MB / 1.125 GB, free: 15.38 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)