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.001088/0.001088, allocations: 99.2 kB / 16.29 MB, free: 5.992 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.00113/0.00113, allocations: 178.6 kB / 17.22 MB, free: 5.613 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.382/1.382, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.864/1.864, allocations: 292.3 MB / 0.5495 GB, free: 17.39 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.001428/0.001428, allocations: 75.89 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 114.5 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002514/0.2509, allocations: 1.263 MB / 0.7853 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3847/0.6356, allocations: 3.342 MB / 0.7886 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.6357, allocations: 0 / 0.7886 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.264e-05/0.6359, allocations: 0 / 0.7886 GB, free: 46.01 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.003722/0.6396, allocations: 0.9905 MB / 0.7896 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.6398, allocations: 32.98 kB / 0.7896 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.115e-05/0.6398, allocations: 20.05 kB / 0.7896 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.6399, allocations: 0 / 0.7896 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.6399, allocations: 7.125 kB / 0.7896 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.64, allocations: 23.02 kB / 0.7897 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.64, allocations: 2.969 kB / 0.7897 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.6426, allocations: 1.448 MB / 0.7911 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.6428, allocations: 149.1 kB / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.6428, allocations: 0 / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.6447, allocations: 1.094 MB / 0.7923 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6448, allocations: 0.9375 kB / 0.7923 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6448, allocations: 0 / 0.7923 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.6448, allocations: 1.625 kB / 0.7923 GB, free: 45.92 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.0007815/0.6456, allocations: 0.5366 MB / 0.7928 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.6456, allocations: 6.875 kB / 0.7928 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.6457, allocations: 1.938 kB / 0.7928 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.6458, allocations: 168.2 kB / 0.793 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.6458, allocations: 2.312 kB / 0.793 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.6459, allocations: 4.312 kB / 0.793 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.6461, allocations: 174.8 kB / 0.7931 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.6461, allocations: 1.5 kB / 0.7931 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.6461, allocations: 4.094 kB / 0.7932 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6462, allocations: 0 / 0.7932 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.6464, allocations: 281.5 kB / 0.7934 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.6467, allocations: 285.5 kB / 0.7937 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.6469, allocations: 161.6 kB / 0.7938 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.6471, allocations: 152.7 kB / 0.794 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.6471, allocations: 3.938 kB / 0.794 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.6471, allocations: 33.89 kB / 0.794 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6471, allocations: 0 / 0.794 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0005438/0.6477, allocations: 452.8 kB / 0.7945 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.6477, allocations: 55.53 kB / 0.7945 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.6479, allocations: 171.3 kB / 0.7947 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.6479, allocations: 25.7 kB / 0.7947 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.474e-05/0.6479, allocations: 80.14 kB / 0.7948 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.648, allocations: 0 / 0.7948 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.648, allocations: 13.03 kB / 0.7948 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.6481, allocations: 313.7 kB / 0.7951 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.6482, allocations: 145.8 kB / 0.7952 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.6484, allocations: 141.7 kB / 0.7954 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.6487, allocations: 286.1 kB / 0.7956 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6487, allocations: 0 / 0.7956 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003857/0.6491, allocations: 315.7 kB / 0.7959 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6491, allocations: 7.5 kB / 0.7959 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6491, allocations: 2.141 kB / 0.7959 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6492, allocations: 0 / 0.7959 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.6492, allocations: 1.438 kB / 0.7959 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.6493, allocations: 6.531 kB / 0.796 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.6494, allocations: 0 / 0.796 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.6494, allocations: 3 kB / 0.796 GB, free: 44.28 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 0.0001389/0.6495, allocations: 170.5 kB / 0.7961 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.6496, allocations: 4.734 kB / 0.7961 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.65, allocations: 318.6 kB / 0.7964 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.65, allocations: 3.844 kB / 0.7964 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6501, allocations: 6 kB / 0.7964 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6501, allocations: 3.438 kB / 0.7964 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.6504, allocations: 294.2 kB / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.6504, allocations: 6.047 kB / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-06/0.6504, allocations: 0.75 kB / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6504, allocations: 0 / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-06/0.6504, allocations: 3.156 kB / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6505, allocations: 2.891 kB / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6505, allocations: 0 / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.6509, allocations: 336.2 kB / 0.7971 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.6509, allocations: 86.42 kB / 0.7971 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.651, allocations: 0.5 kB / 0.7971 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.6511, allocations: 2.25 kB / 0.7971 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.6512, allocations: 2.625 kB / 0.7971 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.6512, allocations: 1.312 kB / 0.7971 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000115/0.6513, allocations: 152.1 kB / 0.7973 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.6513, allocations: 0 / 0.7973 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001598/0.6529, allocations: 384 kB / 0.7977 GB, free: 43.63 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.00257/0.6555, allocations: 0.6812 MB / 0.7983 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006543/0.6562, allocations: 287.7 kB / 0.7986 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.6562, allocations: 0 / 0.7986 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.6565, allocations: 171.2 kB / 0.7988 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.6568, allocations: 5.281 kB / 0.7988 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.6589, allocations: 0.9252 MB / 0.7997 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.6594, allocations: 0.8221 MB / 0.8005 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.6595, allocations: 2.125 kB / 0.8005 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.6595, allocations: 13.7 kB / 0.8005 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.6595, allocations: 0 / 0.8005 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.01768/0.6772, allocations: 8.277 MB / 0.8086 GB, free: 41.89 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)