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_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_1.6_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_1.6_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.001159/0.001159, 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.001435/0.001435, allocations: 190.7 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 72.45 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2618, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002579/0.2645, allocations: 1.497 MB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006624/0.2711, allocations: 4.494 MB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.2712, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2713, allocations: 7.938 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.2715, allocations: 27.83 kB / 1.073 GB, free: 4.855 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.003409/0.275, allocations: 1.193 MB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.2752, allocations: 119.7 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.2752, allocations: 7.984 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2753, allocations: 47.84 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.2756, allocations: 153 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.2757, allocations: 12 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.279, allocations: 2.188 MB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.2792, allocations: 271.8 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.2795, allocations: 274.3 kB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003252/0.2828, allocations: 2.159 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2828, allocations: 0 / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2828, allocations: 0 / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.2828, allocations: 4 kB / 1.08 GB, free: 14.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.008292/0.2911, allocations: 1.296 MB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2911, allocations: 8.031 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.2916, allocations: 91.61 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.292, allocations: 372.9 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.292, allocations: 4.375 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.292, allocations: 12.38 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.2925, allocations: 395.4 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2925, allocations: 0 / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2925, allocations: 0 / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2925, allocations: 0 / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.293, allocations: 435.7 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.2935, allocations: 0.6366 MB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.294, allocations: 0.5594 MB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.2944, allocations: 337.7 kB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.2954, allocations: 1.032 MB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.2958, allocations: 408.8 kB / 1.085 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.2958, allocations: 0 / 1.085 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001316/0.2971, allocations: 1.289 MB / 1.086 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2972, allocations: 77.11 kB / 1.086 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2983, allocations: 1.214 MB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.2984, allocations: 33.7 kB / 1.088 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.2986, allocations: 261.4 kB / 1.088 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.2986, allocations: 27.84 kB / 1.088 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.299, allocations: 351.6 kB / 1.088 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2991, allocations: 314 kB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.3003, allocations: 1.373 MB / 1.09 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.3017, allocations: 1.501 MB / 1.091 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007321/0.309, allocations: 3.557 MB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.309, allocations: 4 kB / 1.095 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004387/0.3134, allocations: 4.006 MB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3135, allocations: 8 kB / 1.099 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.3135, allocations: 4 kB / 1.099 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3135, allocations: 4 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3137, allocations: 20.02 kB / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3137, allocations: 0 / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.3142, allocations: 232.2 kB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.3142, allocations: 19.98 kB / 1.099 GB, free: 9.984 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.0003152/0.3146, allocations: 245.6 kB / 1.099 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.3146, allocations: 70.72 kB / 1.099 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.3149, allocations: 75.08 kB / 1.099 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.315, allocations: 0 / 1.099 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.315, allocations: 7.984 kB / 1.099 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.315, allocations: 7.922 kB / 1.099 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.3154, allocations: 0.4891 MB / 1.1 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3154, allocations: 0 / 1.1 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.444e-05/0.3155, allocations: 11.94 kB / 1.1 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3155, allocations: 0 / 1.1 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3155, allocations: 8.016 kB / 1.1 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3155, allocations: 4 kB / 1.1 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3155, allocations: 0 / 1.1 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.3164, allocations: 0.9858 MB / 1.101 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3166, allocations: 163.8 kB / 1.101 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.3166, allocations: 8 kB / 1.101 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3168, allocations: 4 kB / 1.101 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3169, allocations: 11.92 kB / 1.101 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.3169, allocations: 11.98 kB / 1.101 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007073/0.3176, allocations: 0.6728 MB / 1.102 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3176, allocations: 0 / 1.102 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001475/0.3191, allocations: 0.5818 MB / 1.102 GB, free: 6.523 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.002109/0.3212, allocations: 0.6965 MB / 1.103 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.3236, allocations: 2.552 MB / 1.105 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3236, allocations: 0 / 1.105 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.3239, allocations: 343.7 kB / 1.106 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3243, allocations: 42.78 kB / 1.106 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3265, allocations: 1.933 MB / 1.108 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.327, allocations: 0.9683 MB / 1.109 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.3272, allocations: 32.55 kB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3273, allocations: 27.42 kB / 1.109 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.3273, allocations: 0 / 1.109 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.02363/0.3509, allocations: 13.26 MB / 1.122 GB, free: 2.637 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)