Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.445/2.445, allocations: 287.5 MB / 303.2 MB, free: 8.305 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.001412/0.001411, allocations: 186.9 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000953/0.0009525, allocations: 104.8 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 15.27 kB / 0.8668 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2043, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9015/1.106, allocations: 157.3 MB / 1.133 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/1.106, allocations: 122.2 kB / 1.133 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1598/1.266, allocations: 29.83 MB / 1.162 GB, free: 14.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/1.266, allocations: 0 / 1.162 GB, free: 14.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.044e-05/1.266, allocations: 16 kB / 1.162 GB, free: 14.45 MB / 0.698 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.003363/1.27, allocations: 1.193 MB / 1.163 GB, free: 13.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.27, allocations: 12.03 kB / 1.163 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005323/1.27, allocations: 99.59 kB / 1.163 GB, free: 13.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.271, allocations: 474.2 kB / 1.164 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/1.271, allocations: 21.25 kB / 1.164 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.272, allocations: 40.67 kB / 1.164 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/1.272, allocations: 392.9 kB / 1.164 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.272, allocations: 192 / 1.164 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.272, allocations: 3.938 kB / 1.164 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.272, allocations: 0 / 1.164 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/1.273, allocations: 438.8 kB / 1.165 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/1.274, allocations: 0.7749 MB / 1.165 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/1.275, allocations: 0.5643 MB / 1.166 GB, free: 10.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/1.275, allocations: 336.6 kB / 1.166 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/1.277, allocations: 1.032 MB / 1.167 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006535/1.278, allocations: 405.8 kB / 1.168 GB, free: 8.555 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/1.278, allocations: 0 / 1.168 GB, free: 8.555 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002226/1.28, allocations: 1.315 MB / 1.169 GB, free: 7.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/1.28, allocations: 77.11 kB / 1.169 GB, free: 7.164 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/1.282, allocations: 1.266 MB / 1.17 GB, free: 6.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.282, allocations: 55.23 kB / 1.17 GB, free: 6.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/1.283, allocations: 295.1 kB / 1.171 GB, free: 5.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/1.283, allocations: 15.53 kB / 1.171 GB, free: 5.871 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/1.283, allocations: 15.12 kB / 1.171 GB, free: 5.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002399/1.283, allocations: 429.7 kB / 1.171 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/1.285, allocations: 1.227 MB / 1.172 GB, free: 4.676 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/1.287, allocations: 1.357 MB / 1.174 GB, free: 3.773 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/1.295, allocations: 2.76 MB / 1.176 GB, free: 1.719 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.295, allocations: 0 / 1.176 GB, free: 1.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006536/1.301, allocations: 3.448 MB / 1.18 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/1.302, allocations: 9.969 kB / 1.18 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/1.302, allocations: 0 / 1.18 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.302, allocations: 4 kB / 1.18 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.303, allocations: 150.1 kB / 1.18 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.303, allocations: 8.031 kB / 1.18 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.304, allocations: 242.6 kB / 1.18 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.304, allocations: 58.98 kB / 1.18 GB, free: 14.7 MB / 0.7136 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.0005559/1.305, allocations: 263.9 kB / 1.18 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/1.305, allocations: 74.62 kB / 1.18 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/1.307, allocations: 0.9472 MB / 1.181 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.307, allocations: 0 / 1.181 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.307, allocations: 4 kB / 1.181 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/1.307, allocations: 7.984 kB / 1.181 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/1.307, allocations: 0.5101 MB / 1.182 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.307, allocations: 3.984 kB / 1.182 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.308, allocations: 8 kB / 1.182 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.308, allocations: 3.938 kB / 1.182 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/1.308, allocations: 7.359 kB / 1.182 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.308, allocations: 8.031 kB / 1.182 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.308, allocations: 0 / 1.182 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/1.309, allocations: 0.9988 MB / 1.183 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/1.309, allocations: 155.8 kB / 1.183 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.309, allocations: 11.92 kB / 1.183 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/1.31, allocations: 7.812 kB / 1.183 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/1.31, allocations: 7.984 kB / 1.183 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/1.31, allocations: 11.98 kB / 1.183 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001316/1.311, allocations: 0.7113 MB / 1.184 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.311, allocations: 0 / 1.184 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002081/1.313, allocations: 0.4993 MB / 1.184 GB, free: 10.67 MB / 0.7136 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.002532/1.316, allocations: 0.6472 MB / 1.185 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003647/1.319, allocations: 2.365 MB / 1.187 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.32, allocations: 0 / 1.187 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/1.32, allocations: 338.4 kB / 1.188 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/1.321, allocations: 53.27 kB / 1.188 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/1.325, allocations: 1.989 MB / 1.19 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008508/1.325, allocations: 0.9812 MB / 1.191 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004217/1.326, allocations: 67.5 kB / 1.191 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/1.326, allocations: 35.11 kB / 1.191 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of SimCode: time 1.213e-06/1.326, allocations: 0 / 1.191 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of Templates: time 0.03372/1.36, allocations: 11.23 MB / 1.202 GB, free: 9.844 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)