Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.7 MB / 0.5092 GB, free: 2.969 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 0.6223 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5546, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00269/0.5573, allocations: 1.263 MB / 0.7258 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005669/0.563, allocations: 3.361 MB / 0.7291 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.5631, allocations: 0 / 0.7291 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/0.5631, allocations: 0 / 0.7291 GB, free: 8.266 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-281:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/LoadAggregation/temperatureResponseMatrix.mo:2:1-106:30:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temperatureResponseMatrix' contains a call to impure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction'. Notification: Performance of NFTyping.typeBindings: time 0.00254/0.5657, allocations: 0.9886 MB / 0.73 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.385e-05/0.5658, allocations: 35.89 kB / 0.7301 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.5658, allocations: 15.94 kB / 0.7301 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.5659, allocations: 0 / 0.7301 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.5659, allocations: 8 kB / 0.7301 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.566, allocations: 29.25 kB / 0.7301 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.566, allocations: 0 / 0.7301 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.568, allocations: 1.4 MB / 0.7315 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.5682, allocations: 153.2 kB / 0.7316 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.5682, allocations: 7.938 kB / 0.7316 GB, free: 5.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.5695, allocations: 1.082 MB / 0.7327 GB, free: 4.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5696, allocations: 4 kB / 0.7327 GB, free: 4.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5696, allocations: 0 / 0.7327 GB, free: 4.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5696, allocations: 4 kB / 0.7327 GB, free: 4.535 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006676/0.5702, allocations: 0.5306 MB / 0.7332 GB, free: 3.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5703, allocations: 12.03 kB / 0.7332 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.5703, allocations: 0.9375 kB / 0.7332 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5704, allocations: 168.3 kB / 0.7334 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.5705, allocations: 384 / 0.7334 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.5705, allocations: 8.125 kB / 0.7334 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.5707, allocations: 173.6 kB / 0.7336 GB, free: 3.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.5707, allocations: 4 kB / 0.7336 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.5707, allocations: 0 / 0.7336 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.5707, allocations: 0 / 0.7336 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.571, allocations: 283.8 kB / 0.7338 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.5713, allocations: 285.7 kB / 0.7341 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.5715, allocations: 162.5 kB / 0.7343 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.5717, allocations: 152.8 kB / 0.7344 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.5718, allocations: 0 / 0.7344 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.5718, allocations: 38.5 kB / 0.7344 GB, free: 2.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.5718, allocations: 0 / 0.7344 GB, free: 2.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004236/0.5722, allocations: 453.5 kB / 0.7349 GB, free: 2.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5723, allocations: 51.41 kB / 0.7349 GB, free: 2.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.5724, allocations: 169.8 kB / 0.7351 GB, free: 1.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5724, allocations: 25.7 kB / 0.7351 GB, free: 1.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.5725, allocations: 80.14 kB / 0.7352 GB, free: 1.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.5725, allocations: 8.156 kB / 0.7352 GB, free: 1.773 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.5725, allocations: 13.72 kB / 0.7352 GB, free: 1.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.5727, allocations: 314.8 kB / 0.7355 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.5728, allocations: 139.9 kB / 0.7356 GB, free: 1.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.573, allocations: 143.9 kB / 0.7358 GB, free: 1.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5733, allocations: 284.8 kB / 0.7361 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5733, allocations: 0 / 0.7361 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000254/0.5736, allocations: 321.6 kB / 0.7364 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5736, allocations: 4 kB / 0.7364 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5736, allocations: 7.984 kB / 0.7364 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.5736, allocations: 4 kB / 0.7364 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.5737, allocations: 0 / 0.7364 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5737, allocations: 0 / 0.7364 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.5738, allocations: 0 / 0.7364 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.5738, allocations: 0 / 0.7364 GB, free: 0.543 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5739, allocations: 169.8 kB / 0.7365 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5739, allocations: 7.938 kB / 0.7365 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.5742, allocations: 324.7 kB / 0.7369 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5742, allocations: 0 / 0.7369 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5742, allocations: 0 / 0.7369 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5743, allocations: 3.984 kB / 0.7369 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5745, allocations: 289.6 kB / 0.7371 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5745, allocations: 0 / 0.7371 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-06/0.5745, allocations: 3.938 kB / 0.7371 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5745, allocations: 3.938 kB / 0.7371 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5745, allocations: 4 kB / 0.7371 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5746, allocations: 4.031 kB / 0.7371 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5746, allocations: 0 / 0.7371 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.5748, allocations: 344.9 kB / 0.7375 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.5749, allocations: 77.11 kB / 0.7375 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.5749, allocations: 0 / 0.7375 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.575, allocations: 0 / 0.7375 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.575, allocations: 0 / 0.7375 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.5751, allocations: 7.984 kB / 0.7376 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001038/0.5752, allocations: 151.3 kB / 0.7377 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5752, allocations: 0 / 0.7377 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001075/0.5763, allocations: 379.8 kB / 0.7381 GB, free: 14.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/0.578, allocations: 0.684 MB / 0.7387 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.5783, allocations: 291.9 kB / 0.739 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5783, allocations: 4.062 kB / 0.739 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.5784, allocations: 169.6 kB / 0.7392 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5786, allocations: 7.938 kB / 0.7392 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.5797, allocations: 0.9338 MB / 0.7401 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.5802, allocations: 0.8185 MB / 0.7409 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.5802, allocations: 3.906 kB / 0.7409 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.5803, allocations: 15.38 kB / 0.7409 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.5803, allocations: 0 / 0.7409 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.0143/0.5946, allocations: 8.27 MB / 0.749 GB, free: 3.57 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)