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_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/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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.0008643/0.0008643, allocations: 97.95 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.005071/0.005071, allocations: 170 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 9.594 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001476/0.2768, allocations: 1.155 MB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006326/0.2831, allocations: 4.403 MB / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.2832, allocations: 0 / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2833, allocations: 11.86 kB / 1.08 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.2835, allocations: 23.91 kB / 1.08 GB, free: 1.891 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.003089/0.2866, allocations: 1.193 MB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.2867, allocations: 115.7 kB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.2868, allocations: 7.984 kB / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.975e-05/0.2869, allocations: 47.83 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.2871, allocations: 160.9 kB / 1.081 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2872, allocations: 12 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.2902, allocations: 2.184 MB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2905, allocations: 271.7 kB / 1.084 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.2907, allocations: 300 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.2935, allocations: 2.163 MB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2935, allocations: 0 / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2935, allocations: 3.938 kB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.2935, allocations: 4 kB / 1.086 GB, free: 11.43 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.01098/0.3045, allocations: 1.238 MB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3046, allocations: 12.03 kB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.3049, allocations: 91.67 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.3053, allocations: 357 kB / 1.088 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3054, allocations: 8.375 kB / 1.088 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.3054, allocations: 4.375 kB / 1.088 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.3059, allocations: 399.4 kB / 1.088 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3059, allocations: 0 / 1.088 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3059, allocations: 4 kB / 1.088 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3059, allocations: 0 / 1.088 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.3063, allocations: 435.7 kB / 1.088 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.3069, allocations: 0.6366 MB / 1.089 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.3074, allocations: 0.5594 MB / 1.09 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.3078, allocations: 341.7 kB / 1.09 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009798/0.3088, allocations: 1.032 MB / 1.091 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.3092, allocations: 412.8 kB / 1.091 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 2.966e-06/0.3092, allocations: 3.938 kB / 1.091 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001321/0.3105, allocations: 1.293 MB / 1.093 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3106, allocations: 85.17 kB / 1.093 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3117, allocations: 1.21 MB / 1.094 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.3118, allocations: 33.7 kB / 1.094 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.312, allocations: 261.4 kB / 1.094 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.312, allocations: 23.66 kB / 1.094 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.3123, allocations: 287.7 kB / 1.094 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.3124, allocations: 314 kB / 1.095 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3136, allocations: 1.373 MB / 1.096 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.315, allocations: 1.501 MB / 1.097 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007205/0.3222, allocations: 3.557 MB / 1.101 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3222, allocations: 0 / 1.101 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004311/0.3265, allocations: 4.003 MB / 1.105 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3265, allocations: 11.98 kB / 1.105 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3266, allocations: 0 / 1.105 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.3266, allocations: 7.984 kB / 1.105 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3267, allocations: 19.94 kB / 1.105 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3267, allocations: 3.984 kB / 1.105 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.3272, allocations: 232.3 kB / 1.105 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.3273, allocations: 19.98 kB / 1.105 GB, free: 7.094 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.0002889/0.3276, allocations: 242.4 kB / 1.105 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.3277, allocations: 70.72 kB / 1.105 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.3279, allocations: 79 kB / 1.106 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3279, allocations: 0 / 1.106 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.328, allocations: 4 kB / 1.106 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.328, allocations: 0 / 1.106 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.3284, allocations: 0.4891 MB / 1.106 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3284, allocations: 0 / 1.106 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.3285, allocations: 19.86 kB / 1.106 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3285, allocations: 4 kB / 1.106 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3285, allocations: 3.938 kB / 1.106 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.3285, allocations: 4 kB / 1.106 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3285, allocations: 0 / 1.106 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.3294, allocations: 1.001 MB / 1.107 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3296, allocations: 159.8 kB / 1.107 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.3296, allocations: 4 kB / 1.107 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3298, allocations: 7.984 kB / 1.107 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.3298, allocations: 4 kB / 1.107 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.3299, allocations: 15.97 kB / 1.107 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007121/0.3306, allocations: 0.6728 MB / 1.108 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3306, allocations: 0 / 1.108 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001389/0.332, allocations: 0.5857 MB / 1.108 GB, free: 3.625 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.002015/0.334, allocations: 0.6833 MB / 1.109 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.3363, allocations: 2.548 MB / 1.112 GB, free: 396 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3363, allocations: 0 / 1.112 GB, free: 396 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.3366, allocations: 339.8 kB / 1.112 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.337, allocations: 48.52 kB / 1.112 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3392, allocations: 1.934 MB / 1.114 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.3397, allocations: 0.9643 MB / 1.115 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.3399, allocations: 32.5 kB / 1.115 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/0.34, allocations: 31.41 kB / 1.115 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.34, allocations: 0 / 1.115 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.02153/0.3615, allocations: 13.18 MB / 1.128 GB, free: 15.84 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)