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.001068/0.001068, allocations: 105.4 kB / 15.7 MB, free: 24 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.001113/0.001114, allocations: 198.6 kB / 16.64 MB, free: 6.445 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.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.684/1.684, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001695/0.001695, allocations: 69.69 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.249, allocations: 114.6 MB / 0.7842 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002865/0.2519, allocations: 1.248 MB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005355/0.2573, allocations: 3.348 MB / 0.7887 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.2574, allocations: 0 / 0.7887 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.2575, allocations: 0 / 0.7887 GB, free: 8.117 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.003042/0.2605, allocations: 0.9938 MB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.2607, allocations: 35.91 kB / 0.7897 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.2607, allocations: 19.92 kB / 0.7897 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.2608, allocations: 0 / 0.7897 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.2608, allocations: 7.984 kB / 0.7897 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.2609, allocations: 21.28 kB / 0.7897 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.2609, allocations: 0 / 0.7897 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.2633, allocations: 1.439 MB / 0.7911 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.2635, allocations: 149.2 kB / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.2635, allocations: 4 kB / 0.7913 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.2656, allocations: 1.092 MB / 0.7923 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2657, allocations: 4 kB / 0.7923 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2657, allocations: 4 kB / 0.7923 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2657, allocations: 3.938 kB / 0.7923 GB, free: 4.336 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.0009156/0.2666, allocations: 0.5306 MB / 0.7929 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2667, allocations: 12.03 kB / 0.7929 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.2667, allocations: 0.9375 kB / 0.7929 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2668, allocations: 168.2 kB / 0.793 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2669, allocations: 384 / 0.793 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2669, allocations: 8.125 kB / 0.793 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2671, allocations: 169.6 kB / 0.7932 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2671, allocations: 0 / 0.7932 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2671, allocations: 4 kB / 0.7932 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2671, allocations: 0 / 0.7932 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.2674, allocations: 283.9 kB / 0.7935 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.2677, allocations: 285.7 kB / 0.7938 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.2678, allocations: 158.5 kB / 0.7939 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.268, allocations: 152.8 kB / 0.794 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.268, allocations: 3.938 kB / 0.7941 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2681, allocations: 38.55 kB / 0.7941 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2681, allocations: 0 / 0.7941 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0004179/0.2685, allocations: 449.5 kB / 0.7945 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2686, allocations: 51.41 kB / 0.7946 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2687, allocations: 169.8 kB / 0.7947 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2687, allocations: 29.95 kB / 0.7948 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.2687, allocations: 80.14 kB / 0.7948 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.2688, allocations: 3.938 kB / 0.7948 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.2688, allocations: 13.72 kB / 0.7949 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.2689, allocations: 314.8 kB / 0.7952 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.269, allocations: 136 kB / 0.7953 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.2691, allocations: 139.9 kB / 0.7954 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.2693, allocations: 296.8 kB / 0.7957 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2693, allocations: 0 / 0.7957 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002792/0.2696, allocations: 313.5 kB / 0.796 GB, free: 380 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2696, allocations: 4 kB / 0.796 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2696, allocations: 0 / 0.796 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2697, allocations: 4 kB / 0.796 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.2697, allocations: 3.984 kB / 0.796 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2698, allocations: 3.938 kB / 0.796 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.051e-05/0.2698, allocations: 4 kB / 0.796 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2698, allocations: 0 / 0.796 GB, free: 360 kB / 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.0001279/0.27, allocations: 174.5 kB / 0.7962 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.27, allocations: 3.938 kB / 0.7962 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.2703, allocations: 320.7 kB / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2703, allocations: 0 / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2703, allocations: 3.938 kB / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2703, allocations: 0 / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.2706, allocations: 293.5 kB / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.2706, allocations: 3.984 kB / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.2706, allocations: 0 / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2706, allocations: 4.031 kB / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2707, allocations: 4 kB / 0.7968 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2707, allocations: 3.984 kB / 0.7968 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2707, allocations: 0 / 0.7968 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.2709, allocations: 344.8 kB / 0.7971 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.271, allocations: 85 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.2711, allocations: 0 / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.2711, allocations: 4.031 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.2711, allocations: 0 / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2711, allocations: 4 kB / 0.7972 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.908e-05/0.2713, allocations: 151.2 kB / 0.7974 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2713, allocations: 0 / 0.7974 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009859/0.2722, allocations: 375.9 kB / 0.7977 GB, free: 14.51 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.002077/0.2743, allocations: 0.6842 MB / 0.7984 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.2747, allocations: 295.8 kB / 0.7987 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2747, allocations: 0 / 0.7987 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.2749, allocations: 165.6 kB / 0.7988 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2751, allocations: 11.88 kB / 0.7988 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2766, allocations: 0.9297 MB / 0.7997 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.2771, allocations: 0.8185 MB / 0.8005 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.2772, allocations: 3.625 kB / 0.8005 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2772, allocations: 11.44 kB / 0.8006 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.2772, allocations: 0 / 0.8006 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.01652/0.2937, allocations: 8.281 MB / 0.8086 GB, free: 3.375 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)