Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 289.7 MB / 302.2 MB, free: 2.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 189.1 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 92.47 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.728e-05, allocations: 4 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2607, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.847/1.108, allocations: 153.9 MB / 1.13 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.108, allocations: 113.7 kB / 1.13 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08241/1.191, allocations: 21.78 MB / 1.151 GB, free: 22.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.024e-06/1.191, allocations: 0 / 1.151 GB, free: 22.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.422e-05/1.191, allocations: 12 kB / 1.151 GB, free: 22.32 MB / 0.7448 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.002601/1.193, allocations: 1.02 MB / 1.152 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.193, allocations: 8.031 kB / 1.152 GB, free: 21.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/1.194, allocations: 97.42 kB / 1.153 GB, free: 21.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/1.194, allocations: 431 kB / 1.153 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/1.195, allocations: 27.78 kB / 1.153 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/1.195, allocations: 33.38 kB / 1.153 GB, free: 20.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/1.195, allocations: 380.1 kB / 1.153 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.195, allocations: 0 / 1.153 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.195, allocations: 0 / 1.153 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.195, allocations: 4 kB / 1.153 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/1.195, allocations: 432.4 kB / 1.154 GB, free: 20.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/1.196, allocations: 0.7434 MB / 1.155 GB, free: 19.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/1.197, allocations: 0.5559 MB / 1.155 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/1.197, allocations: 332.3 kB / 1.155 GB, free: 18.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000814/1.198, allocations: 1.035 MB / 1.156 GB, free: 17.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/1.198, allocations: 395.4 kB / 1.157 GB, free: 17.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/1.198, allocations: 0 / 1.157 GB, free: 17.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0008748/1.199, allocations: 0.9692 MB / 1.158 GB, free: 16.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/1.199, allocations: 82.78 kB / 1.158 GB, free: 16.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.2, allocations: 1.056 MB / 1.159 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.098e-05/1.2, allocations: 39.39 kB / 1.159 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/1.201, allocations: 275.4 kB / 1.159 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/1.201, allocations: 21.44 kB / 1.159 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/1.201, allocations: 17.69 kB / 1.159 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.201, allocations: 419.5 kB / 1.16 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.202, allocations: 1.206 MB / 1.161 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/1.203, allocations: 1.345 MB / 1.162 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/1.205, allocations: 1.604 MB / 1.164 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/1.205, allocations: 0 / 1.164 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003805/1.209, allocations: 3.42 MB / 1.167 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.209, allocations: 8 kB / 1.167 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.209, allocations: 0.6562 kB / 1.167 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/1.209, allocations: 4 kB / 1.167 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/1.209, allocations: 145.8 kB / 1.167 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.209, allocations: 6.078 kB / 1.167 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/1.21, allocations: 243 kB / 1.167 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/1.21, allocations: 58.86 kB / 1.167 GB, free: 9.742 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/1.21, allocations: 131.9 kB / 1.168 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/1.21, allocations: 63.62 kB / 1.168 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007683/1.211, allocations: 0.9376 MB / 1.169 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.211, allocations: 0 / 1.169 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.211, allocations: 0 / 1.169 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.211, allocations: 10.05 kB / 1.169 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/1.212, allocations: 0.4885 MB / 1.169 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.212, allocations: 0 / 1.169 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/1.212, allocations: 4 kB / 1.169 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.212, allocations: 4 kB / 1.169 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.212, allocations: 3.984 kB / 1.169 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.212, allocations: 0.75 kB / 1.169 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/1.212, allocations: 3.938 kB / 1.169 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/1.212, allocations: 1.009 MB / 1.17 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.212, allocations: 155.9 kB / 1.17 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/1.213, allocations: 0 / 1.17 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/1.213, allocations: 4 kB / 1.17 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/1.213, allocations: 16.95 kB / 1.17 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/1.213, allocations: 11.98 kB / 1.17 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006453/1.213, allocations: 0.6444 MB / 1.171 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.92e-07/1.213, allocations: 0 / 1.171 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002056/1.216, allocations: 497.3 kB / 1.171 GB, free: 5.938 MB / 0.7448 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002855/1.218, allocations: 0.561 MB / 1.172 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00226/1.221, allocations: 2.352 MB / 1.174 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.221, allocations: 3.875 kB / 1.174 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/1.221, allocations: 332 kB / 1.174 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/1.221, allocations: 41.2 kB / 1.175 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/1.223, allocations: 1.415 MB / 1.176 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.223, allocations: 0.9852 MB / 1.177 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002378/1.223, allocations: 56.31 kB / 1.177 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.224, allocations: 42.47 kB / 1.177 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.224, allocations: 0 / 1.177 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of Templates: time 0.01984/1.243, allocations: 9.301 MB / 1.186 GB, free: 7.742 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)