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.001193/0.001193, 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.001277/0.001277, allocations: 193.6 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.716/2.716, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.39 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.259, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002527/0.2615, allocations: 1.488 MB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006537/0.2681, allocations: 4.499 MB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.2682, allocations: 0 / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2683, allocations: 11.92 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.2685, allocations: 27.84 kB / 1.073 GB, free: 4.809 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.003134/0.2716, allocations: 1.201 MB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.2718, allocations: 115.7 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.2719, allocations: 7.984 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.2719, allocations: 43.83 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.2722, allocations: 157 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.2722, allocations: 16 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.2754, allocations: 2.184 MB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.2757, allocations: 267.8 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.2759, allocations: 286.2 kB / 1.078 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.279, allocations: 2.147 MB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2791, allocations: 0 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2791, allocations: 0 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2791, allocations: 0 / 1.08 GB, free: 14.39 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.008342/0.2874, allocations: 1.308 MB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2875, allocations: 8.031 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.2879, allocations: 87.69 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.2884, allocations: 364.9 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2884, allocations: 4.375 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.2885, allocations: 8.359 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.289, allocations: 399.5 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.289, allocations: 3.938 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.289, allocations: 0 / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.289, allocations: 0 / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.2895, allocations: 439.7 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.2901, allocations: 0.6366 MB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.2906, allocations: 0.5595 MB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.2909, allocations: 341.5 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.292, allocations: 1.025 MB / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.2924, allocations: 408.8 kB / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.2924, allocations: 0 / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001302/0.2937, allocations: 1.301 MB / 1.086 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2938, allocations: 81.11 kB / 1.086 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2949, allocations: 1.214 MB / 1.088 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.2949, allocations: 29.7 kB / 1.088 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.2951, allocations: 261.4 kB / 1.088 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.2952, allocations: 23.73 kB / 1.088 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.2955, allocations: 355.7 kB / 1.088 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2956, allocations: 310 kB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.2968, allocations: 1.373 MB / 1.09 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.2981, allocations: 1.505 MB / 1.091 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/0.3055, allocations: 3.56 MB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3055, allocations: 0 / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004331/0.3098, allocations: 4.006 MB / 1.099 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3099, allocations: 4 kB / 1.099 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.3099, allocations: 4 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3099, allocations: 0 / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3101, allocations: 15.98 kB / 1.099 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3101, allocations: 4.031 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.3105, allocations: 240.2 kB / 1.099 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.3106, allocations: 23.98 kB / 1.099 GB, free: 9.922 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.0003022/0.3109, allocations: 237.6 kB / 1.099 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.311, allocations: 70.72 kB / 1.099 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.3113, allocations: 75.06 kB / 1.099 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3113, allocations: 4 kB / 1.099 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3113, allocations: 0 / 1.099 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3113, allocations: 0 / 1.099 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.3118, allocations: 496.8 kB / 1.1 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3118, allocations: 4 kB / 1.1 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.3119, allocations: 11.92 kB / 1.1 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3119, allocations: 0 / 1.1 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3119, allocations: 4 kB / 1.1 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3119, allocations: 0 / 1.1 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3119, allocations: 4.031 kB / 1.1 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/0.3128, allocations: 1.005 MB / 1.101 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3129, allocations: 155.8 kB / 1.101 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.313, allocations: 4 kB / 1.101 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3132, allocations: 7.984 kB / 1.101 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.3132, allocations: 11.88 kB / 1.101 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.3133, allocations: 19.97 kB / 1.101 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007057/0.314, allocations: 0.6689 MB / 1.102 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.314, allocations: 0 / 1.102 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001423/0.3154, allocations: 0.5779 MB / 1.102 GB, free: 6.473 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.002207/0.3176, allocations: 0.6886 MB / 1.103 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.3199, allocations: 2.548 MB / 1.105 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.32, allocations: 4 kB / 1.105 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.3203, allocations: 335.8 kB / 1.106 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3206, allocations: 52.39 kB / 1.106 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3227, allocations: 1.933 MB / 1.108 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.3233, allocations: 0.9644 MB / 1.109 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.3235, allocations: 36.56 kB / 1.109 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3236, allocations: 27.41 kB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.3236, allocations: 0 / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.02251/0.3461, allocations: 13.28 MB / 1.122 GB, free: 2.578 MB / 0.8731 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)