Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.843/1.843, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 191 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008342/0.0008342, allocations: 96.09 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 13.06 kB / 0.9088 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5794/0.5799, allocations: 120.3 MB / 1.026 GB, free: 56.77 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.779, allocations: 160.7 MB / 1.183 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.7794, allocations: 120.8 kB / 1.183 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.09728/0.8767, allocations: 30.16 MB / 1.213 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8767, allocations: 0 / 1.213 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.056e-05/0.8768, allocations: 12 kB / 1.213 GB, free: 15.16 MB / 0.7917 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.002375/0.8792, allocations: 1.195 MB / 1.214 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.8792, allocations: 8.031 kB / 1.214 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.8796, allocations: 111.6 kB / 1.214 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.8803, allocations: 469.9 kB / 1.215 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.8804, allocations: 28.36 kB / 1.215 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.8804, allocations: 36.36 kB / 1.215 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.8809, allocations: 391.7 kB / 1.215 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8809, allocations: 192 / 1.215 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.8809, allocations: 15.88 kB / 1.215 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.8809, allocations: 0 / 1.215 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.8813, allocations: 435.7 kB / 1.215 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.8821, allocations: 0.7627 MB / 1.216 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.8826, allocations: 0.5633 MB / 1.217 GB, free: 11 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.8829, allocations: 337.7 kB / 1.217 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009426/0.8838, allocations: 1.032 MB / 1.218 GB, free: 9.406 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.8843, allocations: 412.7 kB / 1.218 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.8843, allocations: 0 / 1.218 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.001291/0.8856, allocations: 1.304 MB / 1.22 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.8856, allocations: 93.22 kB / 1.22 GB, free: 7.559 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.887, allocations: 1.265 MB / 1.221 GB, free: 6.281 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.8871, allocations: 41.7 kB / 1.221 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.8873, allocations: 294 kB / 1.221 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.8874, allocations: 19.8 kB / 1.221 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.8874, allocations: 16 kB / 1.221 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.8876, allocations: 423.8 kB / 1.222 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.8889, allocations: 1.214 MB / 1.223 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8903, allocations: 1.365 MB / 1.224 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005026/0.8953, allocations: 2.754 MB / 1.227 GB, free: 48 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8953, allocations: 0 / 1.227 GB, free: 48 kB / 0.7917 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004276/0.8996, allocations: 3.459 MB / 1.23 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.8997, allocations: 11.94 kB / 1.23 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.8997, allocations: 3.938 kB / 1.23 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.8997, allocations: 4 kB / 1.23 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.9003, allocations: 139.8 kB / 1.231 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.9004, allocations: 4 kB / 1.231 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.901, allocations: 244.3 kB / 1.231 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.9011, allocations: 59.97 kB / 1.231 GB, free: 12.09 MB / 0.8073 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.0003509/0.9015, allocations: 269.6 kB / 1.231 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.9016, allocations: 74.62 kB / 1.231 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.9026, allocations: 0.9522 MB / 1.232 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9026, allocations: 0 / 1.232 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9026, allocations: 0 / 1.232 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.9026, allocations: 0 / 1.232 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.9031, allocations: 0.5139 MB / 1.233 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9031, allocations: 0 / 1.233 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.9032, allocations: 15.86 kB / 1.233 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.9032, allocations: 7.938 kB / 1.233 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.9032, allocations: 0 / 1.233 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.9032, allocations: 0 / 1.233 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.9032, allocations: 4 kB / 1.233 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.9041, allocations: 1.009 MB / 1.234 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.9043, allocations: 159.8 kB / 1.234 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.9044, allocations: 3.938 kB / 1.234 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.9045, allocations: 7.984 kB / 1.234 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.9046, allocations: 7.984 kB / 1.234 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.9046, allocations: 11.98 kB / 1.234 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007805/0.9054, allocations: 0.7101 MB / 1.235 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9054, allocations: 0 / 1.235 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001564/0.907, allocations: 0.4916 MB / 1.235 GB, free: 7.75 MB / 0.8073 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.00224/0.9092, allocations: 0.6532 MB / 1.236 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002546/0.9118, allocations: 2.36 MB / 1.238 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9118, allocations: 64 / 1.238 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.9121, allocations: 347.7 kB / 1.238 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.9127, allocations: 52.64 kB / 1.238 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.9154, allocations: 1.985 MB / 1.24 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.9161, allocations: 0.9851 MB / 1.241 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.9164, allocations: 62.94 kB / 1.241 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.9166, allocations: 39.42 kB / 1.241 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of SimCode: time 1.183e-06/0.9166, allocations: 0 / 1.241 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of Templates: time 0.02321/0.9398, allocations: 11.19 MB / 1.252 GB, free: 6.086 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)