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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.764/2.764, allocations: 287.5 MB / 303.2 MB, free: 8.277 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.001387/0.001387, allocations: 173.3 kB / 371.8 MB, free: 10.84 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.078/2.078, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009784/0.0009783, allocations: 94.69 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006109/0.0006112, allocations: 12.83 kB / 0.8668 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2059, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9151/1.121, allocations: 152.7 MB / 1.128 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/1.121, allocations: 117.4 kB / 1.129 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.126/1.247, allocations: 21.92 MB / 1.15 GB, free: 23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.248, allocations: 0 / 1.15 GB, free: 23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.2e-05/1.248, allocations: 15.41 kB / 1.15 GB, free: 23 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.002755/1.25, allocations: 1.146 MB / 1.151 GB, free: 22.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.25, allocations: 7.812 kB / 1.151 GB, free: 22.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/1.251, allocations: 94.28 kB / 1.151 GB, free: 22.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/1.252, allocations: 435 kB / 1.152 GB, free: 21.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.252, allocations: 30.28 kB / 1.152 GB, free: 21.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.252, allocations: 34.78 kB / 1.152 GB, free: 21.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/1.252, allocations: 385.5 kB / 1.152 GB, free: 21.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.252, allocations: 192 / 1.152 GB, free: 21.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/1.252, allocations: 7.922 kB / 1.152 GB, free: 21.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/1.252, allocations: 0 / 1.152 GB, free: 21.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/1.253, allocations: 440.7 kB / 1.153 GB, free: 21.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/1.254, allocations: 0.7435 MB / 1.153 GB, free: 21.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/1.254, allocations: 0.5597 MB / 1.154 GB, free: 20.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/1.255, allocations: 336.8 kB / 1.154 GB, free: 20.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.256, allocations: 1.032 MB / 1.155 GB, free: 19.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/1.257, allocations: 404 kB / 1.156 GB, free: 18.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.215e-06/1.257, allocations: 0 / 1.156 GB, free: 18.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001654/1.258, allocations: 1.296 MB / 1.157 GB, free: 17.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/1.258, allocations: 88.72 kB / 1.157 GB, free: 17.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.26, allocations: 1.194 MB / 1.158 GB, free: 16.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/1.26, allocations: 43.08 kB / 1.158 GB, free: 16.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/1.26, allocations: 275.5 kB / 1.158 GB, free: 16.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/1.26, allocations: 29.73 kB / 1.158 GB, free: 16.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/1.26, allocations: 12.81 kB / 1.158 GB, free: 16.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000219/1.261, allocations: 419.8 kB / 1.159 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.262, allocations: 1.216 MB / 1.16 GB, free: 14.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/1.264, allocations: 1.357 MB / 1.161 GB, free: 13.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007178/1.272, allocations: 2.758 MB / 1.164 GB, free: 11.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/1.272, allocations: 0 / 1.164 GB, free: 11.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006609/1.278, allocations: 3.441 MB / 1.167 GB, free: 9.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.278, allocations: 13.34 kB / 1.167 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/1.278, allocations: 4.031 kB / 1.167 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.278, allocations: 4 kB / 1.167 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.28, allocations: 142.8 kB / 1.167 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/1.28, allocations: 4 kB / 1.167 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/1.281, allocations: 242.1 kB / 1.168 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.281, allocations: 62.61 kB / 1.168 GB, free: 8.926 MB / 0.698 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.0005046/1.282, allocations: 264.4 kB / 1.168 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/1.282, allocations: 73.78 kB / 1.168 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.283, allocations: 0.9355 MB / 1.169 GB, free: 7.676 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.283, allocations: 4 kB / 1.169 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.283, allocations: 3.938 kB / 1.169 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.283, allocations: 0 / 1.169 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/1.284, allocations: 0.49 MB / 1.17 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.284, allocations: 0 / 1.17 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/1.284, allocations: 16.02 kB / 1.17 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/1.284, allocations: 3.938 kB / 1.17 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/1.284, allocations: 0 / 1.17 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.284, allocations: 4 kB / 1.17 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.284, allocations: 0 / 1.17 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/1.286, allocations: 1.002 MB / 1.171 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/1.286, allocations: 155.8 kB / 1.171 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.286, allocations: 3.938 kB / 1.171 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/1.286, allocations: 11.98 kB / 1.171 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/1.286, allocations: 4 kB / 1.171 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/1.286, allocations: 15.97 kB / 1.171 GB, free: 5.988 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001142/1.287, allocations: 0.6543 MB / 1.171 GB, free: 5.445 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.287, allocations: 4 kB / 1.171 GB, free: 5.441 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001956/1.289, allocations: 493.6 kB / 1.172 GB, free: 4.984 MB / 0.698 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.002167/1.292, allocations: 0.5608 MB / 1.172 GB, free: 4.453 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003491/1.295, allocations: 2.364 MB / 1.175 GB, free: 2.863 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.295, allocations: 0 / 1.175 GB, free: 2.863 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/1.296, allocations: 339.4 kB / 1.175 GB, free: 2.539 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/1.296, allocations: 38.67 kB / 1.175 GB, free: 2.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/1.3, allocations: 1.844 MB / 1.177 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/1.3, allocations: 0.9614 MB / 1.178 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003726/1.301, allocations: 59.58 kB / 1.178 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/1.301, allocations: 35.3 kB / 1.178 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of SimCode: time 1.263e-06/1.301, allocations: 0 / 1.178 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.02804/1.329, allocations: 9.472 MB / 1.187 GB, free: 6.191 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)