Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_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_8_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.001274/0.001274, allocations: 105.3 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001456/0.001456, allocations: 71.19 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2263, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002451/0.2288, allocations: 1.263 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3996/0.6285, allocations: 3.348 MB / 0.7893 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.6285, allocations: 0 / 0.7893 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.6286, allocations: 1.406 kB / 0.7893 GB, free: 46.53 MB / 0.6544 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 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-295: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 8.1.4-maint.8.1.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.002689/0.6313, allocations: 0.9843 MB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.938e-05/0.6314, allocations: 35.12 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.6315, allocations: 12.27 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.6315, allocations: 7.25 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.6315, allocations: 8.141 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.6316, allocations: 19.41 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.6316, allocations: 1.312 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.6335, allocations: 1.446 MB / 0.7918 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.6336, allocations: 148.1 kB / 0.7919 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.6337, allocations: 7.219 kB / 0.7919 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.635, allocations: 1.091 MB / 0.793 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.635, allocations: 4.062 kB / 0.793 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.635, allocations: 1.719 kB / 0.793 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.635, allocations: 2.656 kB / 0.793 GB, free: 46.43 MB / 0.6544 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.0005908/0.6356, allocations: 0.5312 MB / 0.7935 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6357, allocations: 10.06 kB / 0.7935 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.6357, allocations: 4.156 kB / 0.7935 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.677e-05/0.6358, allocations: 163.7 kB / 0.7937 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.6358, allocations: 5.188 kB / 0.7937 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.6359, allocations: 384 / 0.7937 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.636, allocations: 174.7 kB / 0.7939 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.636, allocations: 1.031 kB / 0.7939 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.636, allocations: 0.8438 kB / 0.7939 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6361, allocations: 0.5625 kB / 0.7939 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.6362, allocations: 292.6 kB / 0.7941 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.6364, allocations: 284.6 kB / 0.7944 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.6365, allocations: 158.1 kB / 0.7946 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.6366, allocations: 147.8 kB / 0.7947 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.6367, allocations: 3.938 kB / 0.7947 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.6367, allocations: 33.44 kB / 0.7947 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.6367, allocations: 0 / 0.7947 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0003648/0.637, allocations: 458.2 kB / 0.7952 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.6371, allocations: 51.41 kB / 0.7952 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.6372, allocations: 170.2 kB / 0.7954 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.6372, allocations: 27.17 kB / 0.7954 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.285e-05/0.6372, allocations: 83.45 kB / 0.7955 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.6372, allocations: 0 / 0.7955 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.6373, allocations: 13.34 kB / 0.7955 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.6373, allocations: 312.8 kB / 0.7958 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.6374, allocations: 140.5 kB / 0.7959 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.6375, allocations: 141.5 kB / 0.7961 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.6377, allocations: 293.3 kB / 0.7963 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6377, allocations: 0 / 0.7963 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002762/0.638, allocations: 319.5 kB / 0.7967 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.638, allocations: 7.188 kB / 0.7967 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.638, allocations: 1.766 kB / 0.7967 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.638, allocations: 0 / 0.7967 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.6381, allocations: 1.5 kB / 0.7967 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.6381, allocations: 0 / 0.7967 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.6382, allocations: 6.344 kB / 0.7967 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.6382, allocations: 1.938 kB / 0.7967 GB, free: 44.78 MB / 0.6544 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 8.715e-05/0.6383, allocations: 168.2 kB / 0.7968 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.6383, allocations: 3.938 kB / 0.7968 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.6386, allocations: 325.4 kB / 0.7971 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6387, allocations: 0 / 0.7971 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6387, allocations: 2.719 kB / 0.7971 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6387, allocations: 0 / 0.7971 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.6389, allocations: 290.2 kB / 0.7974 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6389, allocations: 6.109 kB / 0.7974 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.6389, allocations: 1.094 kB / 0.7974 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6389, allocations: 3.938 kB / 0.7974 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6389, allocations: 5.953 kB / 0.7974 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6389, allocations: 0 / 0.7974 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6389, allocations: 0 / 0.7974 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.6392, allocations: 339 kB / 0.7978 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.6392, allocations: 82.83 kB / 0.7978 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.6393, allocations: 1.688 kB / 0.7978 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.6393, allocations: 8.453 kB / 0.7979 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.6394, allocations: 0 / 0.7979 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.6394, allocations: 3.281 kB / 0.7979 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.548e-05/0.6395, allocations: 151.7 kB / 0.798 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6395, allocations: 1.375 kB / 0.798 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009139/0.6404, allocations: 379.2 kB / 0.7984 GB, free: 44.14 MB / 0.6544 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.001535/0.6419, allocations: 0.6898 MB / 0.799 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.6423, allocations: 285.9 kB / 0.7993 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6423, allocations: 0 / 0.7993 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.6425, allocations: 168.9 kB / 0.7995 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.6427, allocations: 4.719 kB / 0.7995 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.6434, allocations: 419.6 kB / 0.7999 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.6435, allocations: 0.6783 MB / 0.8005 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.6435, allocations: 11.91 kB / 0.8005 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.6435, allocations: 0 / 0.8005 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.01993/0.6635, allocations: 8.857 MB / 0.8092 GB, free: 41.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)