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.001165/0.001165, 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.00115/0.00115, allocations: 193.6 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.381/1.381, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.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.8/1.8, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001424/0.001424, allocations: 67.83 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.238, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00259/0.2406, allocations: 1.256 MB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005002/0.2457, allocations: 3.348 MB / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.2457, allocations: 0 / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.295e-05/0.2458, allocations: 0 / 0.7879 GB, free: 8.801 MB / 0.6075 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.002802/0.2486, allocations: 0.9854 MB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.507e-05/0.2487, allocations: 35.89 kB / 0.7889 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.2488, allocations: 11.94 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.2489, allocations: 11.97 kB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.2489, allocations: 4 kB / 0.7889 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.249, allocations: 29.2 kB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.249, allocations: 0 / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.251, allocations: 1.412 MB / 0.7903 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.2512, allocations: 145.2 kB / 0.7905 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.2512, allocations: 8 kB / 0.7905 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.2526, allocations: 1.088 MB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2526, allocations: 0 / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2527, allocations: 0 / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2527, allocations: 3.938 kB / 0.7915 GB, free: 5.062 MB / 0.6075 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.0006833/0.2534, allocations: 0.5423 MB / 0.7921 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2534, allocations: 8.031 kB / 0.7921 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.2534, allocations: 0.9375 kB / 0.7921 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2536, allocations: 168.3 kB / 0.7922 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2536, allocations: 4.312 kB / 0.7922 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.2536, allocations: 4.125 kB / 0.7922 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2538, allocations: 169.6 kB / 0.7924 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2538, allocations: 0 / 0.7924 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2538, allocations: 8 kB / 0.7924 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2539, allocations: 3.984 kB / 0.7924 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.2541, allocations: 279.9 kB / 0.7927 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.2543, allocations: 281.6 kB / 0.793 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.2545, allocations: 162.5 kB / 0.7931 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2546, allocations: 148.8 kB / 0.7933 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.2546, allocations: 4 kB / 0.7933 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2547, allocations: 38.56 kB / 0.7933 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2547, allocations: 0 / 0.7933 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003951/0.2551, allocations: 445.5 kB / 0.7937 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2551, allocations: 51.41 kB / 0.7938 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2552, allocations: 169.8 kB / 0.7939 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2553, allocations: 25.7 kB / 0.794 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.2553, allocations: 84.12 kB / 0.794 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2553, allocations: 4.25 kB / 0.794 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.2554, allocations: 17.66 kB / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2555, allocations: 310.8 kB / 0.7944 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2556, allocations: 147.9 kB / 0.7945 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.2557, allocations: 136 kB / 0.7946 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.2559, allocations: 292.7 kB / 0.7949 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2559, allocations: 0 / 0.7949 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002405/0.2561, allocations: 321.5 kB / 0.7952 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2562, allocations: 9.031 kB / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2562, allocations: 0 / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2562, allocations: 0 / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.2563, allocations: 4 kB / 0.7952 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2563, allocations: 3.938 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.2564, allocations: 0 / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.2564, allocations: 0 / 0.7952 GB, free: 1.066 MB / 0.6075 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.0001018/0.2565, allocations: 165.8 kB / 0.7954 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.2565, allocations: 7.938 kB / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.2568, allocations: 324.7 kB / 0.7957 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2568, allocations: 0 / 0.7957 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2568, allocations: 3.938 kB / 0.7957 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2568, allocations: 0 / 0.7957 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.257, allocations: 293.5 kB / 0.796 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2571, allocations: 4 kB / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.2571, allocations: 0 / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2571, allocations: 0 / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.2571, allocations: 0 / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2571, allocations: 0 / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2571, allocations: 4.031 kB / 0.796 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2574, allocations: 344.9 kB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.2574, allocations: 81.02 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.2575, allocations: 4 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.2575, allocations: 0 / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.2576, allocations: 0 / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.2576, allocations: 4 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.581e-05/0.2577, allocations: 159.3 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2577, allocations: 0 / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009612/0.2586, allocations: 375.9 kB / 0.7969 GB, free: 15.23 MB / 0.6231 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.001577/0.2602, allocations: 0.6931 MB / 0.7976 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.2605, allocations: 287.8 kB / 0.7979 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2605, allocations: 0 / 0.7979 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.2606, allocations: 173.7 kB / 0.798 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2609, allocations: 10.72 kB / 0.798 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.262, allocations: 0.9298 MB / 0.799 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.2624, allocations: 0.8185 MB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.2624, allocations: 4 kB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.2624, allocations: 15.42 kB / 0.7998 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2624, allocations: 0 / 0.7998 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.01439/0.2768, allocations: 8.278 MB / 0.8079 GB, free: 4.086 MB / 0.6231 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)