Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001373/0.001373, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00112/0.00112, allocations: 191.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.83 kB / 0.9116 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2678, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002189/0.27, allocations: 1.322 MB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006161/0.2762, allocations: 4.502 MB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.2763, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.2763, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.003465/0.2798, allocations: 1.353 MB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.23e-05/0.2799, allocations: 31.97 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.2799, allocations: 19.92 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.28, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.28, allocations: 4 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.2801, allocations: 70.48 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.2801, allocations: 0 / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.2833, allocations: 2.239 MB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2834, allocations: 153.2 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.2835, allocations: 29.22 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.286, allocations: 1.747 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2861, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2861, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2861, allocations: 4 kB / 1.079 GB, free: 15.27 MB / 0.8419 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.0009461/0.287, allocations: 0.6164 MB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2871, allocations: 8.031 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.2871, allocations: 4.844 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2872, allocations: 172.4 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2873, allocations: 4.359 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2873, allocations: 4.125 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2875, allocations: 169.6 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2875, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.2875, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2875, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.2877, allocations: 287.8 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.288, allocations: 285.6 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2881, allocations: 162.5 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2882, allocations: 148.8 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.2883, allocations: 0 / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2883, allocations: 38.56 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.2883, allocations: 0 / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0003925/0.2887, allocations: 449.5 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.2887, allocations: 59.52 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2889, allocations: 169.8 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2889, allocations: 25.7 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.2889, allocations: 80.14 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.2889, allocations: 7.938 kB / 1.082 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.289, allocations: 9.719 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.2891, allocations: 310.8 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2892, allocations: 148 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.2893, allocations: 143.9 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.2895, allocations: 288.8 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2895, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002558/0.2898, allocations: 321.5 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2898, allocations: 4 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2898, allocations: 3.938 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2898, allocations: 0 / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.2899, allocations: 4 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2899, allocations: 4.094 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.29, allocations: 0 / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.29, allocations: 0 / 1.083 GB, free: 11.18 MB / 0.8419 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.0001014/0.2901, allocations: 165.8 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.2901, allocations: 7.938 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.2904, allocations: 328.6 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2904, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2904, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2904, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.2907, allocations: 293.6 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2907, allocations: 4 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.2907, allocations: 0 / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2907, allocations: 0 / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.2907, allocations: 0 / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2907, allocations: 0 / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2907, allocations: 0 / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.291, allocations: 344.9 kB / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.291, allocations: 81.14 kB / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.2911, allocations: 4 kB / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.2912, allocations: 0 / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.2912, allocations: 0 / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.2912, allocations: 3.938 kB / 1.084 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.001e-05/0.2913, allocations: 155.2 kB / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2913, allocations: 0 / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001265/0.2926, allocations: 0.57 MB / 1.085 GB, free: 9.152 MB / 0.8419 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.002324/0.2949, allocations: 0.9202 MB / 1.085 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.2952, allocations: 283.9 kB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2952, allocations: 0 / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.2953, allocations: 169.6 kB / 1.086 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2955, allocations: 7.922 kB / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2967, allocations: 1.02 MB / 1.087 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.297, allocations: 0.8146 MB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.2971, allocations: 4 kB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.2971, allocations: 11.44 kB / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.2971, allocations: 0 / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of Templates: time 0.01917/0.3163, allocations: 12.24 MB / 1.1 GB, free: 9.77 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)