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.7/1.7, allocations: 292.6 MB / 307.5 MB, free: 5.254 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.001116/0.001116, allocations: 188.3 kB / 377.1 MB, free: 1.547 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.723/1.723, allocations: 205.4 MB / 0.6367 GB, free: 8.582 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.001016/0.001016, allocations: 89.48 kB / 0.751 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003931, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3081, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7863/1.094, allocations: 153.9 MB / 1.139 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/1.095, allocations: 111.5 kB / 1.139 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07155/1.166, allocations: 21.85 MB / 1.16 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.713e-06/1.166, allocations: 4 kB / 1.16 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.613e-05/1.166, allocations: 12 kB / 1.16 GB, free: 6.777 MB / 0.7292 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.00228/1.169, allocations: 1.161 MB / 1.161 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.169, allocations: 12.02 kB / 1.161 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/1.169, allocations: 94.75 kB / 1.161 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/1.17, allocations: 430.9 kB / 1.162 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/1.17, allocations: 20 kB / 1.162 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/1.17, allocations: 36 kB / 1.162 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/1.17, allocations: 391.7 kB / 1.162 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.17, allocations: 3.984 kB / 1.162 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/1.17, allocations: 0 / 1.162 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.17, allocations: 0 / 1.162 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/1.171, allocations: 435.7 kB / 1.163 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/1.171, allocations: 0.7388 MB / 1.163 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/1.171, allocations: 0.5644 MB / 1.164 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/1.172, allocations: 1.039 MB / 1.165 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/1.172, allocations: 409.5 kB / 1.165 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.172, allocations: 0 / 1.165 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.00106/1.174, allocations: 1.294 MB / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.174, allocations: 89.23 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.175, allocations: 1.06 MB / 1.168 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/1.175, allocations: 41.7 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/1.175, allocations: 277.9 kB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/1.175, allocations: 23.73 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/1.175, allocations: 16 kB / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.175, allocations: 419.8 kB / 1.168 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.177, allocations: 1.222 MB / 1.17 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/1.178, allocations: 1.361 MB / 1.171 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/1.18, allocations: 1.607 MB / 1.173 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.18, allocations: 0 / 1.173 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00414/1.184, allocations: 3.447 MB / 1.176 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.184, allocations: 9.812 kB / 1.176 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.184, allocations: 0 / 1.176 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.184, allocations: 4 kB / 1.176 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/1.185, allocations: 147.7 kB / 1.176 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/1.185, allocations: 4 kB / 1.176 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/1.185, allocations: 240.4 kB / 1.176 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/1.185, allocations: 57.61 kB / 1.176 GB, free: 5.652 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 () * Number of clocked 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.0003545/1.186, allocations: 261.5 kB / 1.177 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/1.186, allocations: 66.78 kB / 1.177 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009765/1.187, allocations: 0.941 MB / 1.178 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.187, allocations: 4 kB / 1.178 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.187, allocations: 0 / 1.178 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.187, allocations: 0 / 1.178 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/1.187, allocations: 0.489 MB / 1.178 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.187, allocations: 5.062 kB / 1.178 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/1.187, allocations: 11.98 kB / 1.178 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.187, allocations: 0.875 kB / 1.178 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/1.187, allocations: 4 kB / 1.178 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.187, allocations: 0 / 1.178 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.187, allocations: 0 / 1.178 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009672/1.188, allocations: 1.017 MB / 1.179 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.188, allocations: 155.8 kB / 1.179 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/1.188, allocations: 0 / 1.179 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.189, allocations: 9.047 kB / 1.179 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/1.189, allocations: 4 kB / 1.179 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/1.189, allocations: 16.53 kB / 1.179 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007297/1.189, allocations: 0.6609 MB / 1.18 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.189, allocations: 0 / 1.18 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001849/1.191, allocations: 495.4 kB / 1.18 GB, free: 1.418 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) * 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 (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.001522/1.193, allocations: 0.5666 MB / 1.181 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.195, allocations: 2.368 MB / 1.183 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.195, allocations: 4 kB / 1.183 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/1.195, allocations: 339.8 kB / 1.184 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/1.196, allocations: 36.44 kB / 1.184 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.198, allocations: 1.829 MB / 1.185 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/1.198, allocations: 0.9769 MB / 1.186 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000204/1.199, allocations: 60.61 kB / 1.186 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/1.199, allocations: 43.42 kB / 1.186 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/1.199, allocations: 0 / 1.186 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of Templates: time 0.01712/1.216, allocations: 9.195 MB / 1.195 GB, free: 2.02 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)