Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, 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.001189/0.001189, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.59 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2982, allocations: 157.4 MB / 1.053 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002674/0.301, allocations: 1.253 MB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007142/0.3081, allocations: 4.499 MB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.3082, allocations: 0 / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.3083, allocations: 3.938 kB / 1.059 GB, free: 2.406 MB / 0.8106 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 11.0.1-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.004191/0.3125, allocations: 1.504 MB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.969e-05/0.3126, allocations: 31.89 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.348e-05/0.3126, allocations: 16 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.3127, allocations: 4 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.3127, allocations: 7.984 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.3128, allocations: 21.22 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.3128, allocations: 0 / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.3163, allocations: 2.212 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.3165, allocations: 242.1 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.3169, allocations: 246.9 kB / 1.063 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.3204, allocations: 2.195 MB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3204, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3204, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.3204, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 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.002423/0.3228, allocations: 1.493 MB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3229, allocations: 8.625 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.3229, allocations: 34.75 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.3231, allocations: 48.38 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.324, allocations: 0.6324 MB / 1.067 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.324, allocations: 4.375 kB / 1.067 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.324, allocations: 3.938 kB / 1.067 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3242, allocations: 173.6 kB / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3242, allocations: 0 / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3242, allocations: 0 / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3242, allocations: 4 kB / 1.067 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.3245, allocations: 279.9 kB / 1.067 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.3251, allocations: 0.5366 MB / 1.068 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3253, allocations: 162.5 kB / 1.068 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3254, allocations: 148.8 kB / 1.068 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.3254, allocations: 0 / 1.068 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3254, allocations: 30.56 kB / 1.068 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3254, allocations: 3.938 kB / 1.068 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0006036/0.3261, allocations: 493 kB / 1.069 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3261, allocations: 59.53 kB / 1.069 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/0.3271, allocations: 0.6942 MB / 1.07 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3271, allocations: 25.7 kB / 1.07 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.3273, allocations: 228.1 kB / 1.07 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3273, allocations: 4 kB / 1.07 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.3274, allocations: 9.719 kB / 1.07 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3276, allocations: 370.7 kB / 1.07 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.882e-05/0.3277, allocations: 143.9 kB / 1.07 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.3278, allocations: 143.9 kB / 1.07 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.328, allocations: 288.7 kB / 1.071 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.328, allocations: 0 / 1.071 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004383/0.3285, allocations: 353 kB / 1.071 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3285, allocations: 8 kB / 1.071 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3285, allocations: 0 / 1.071 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3285, allocations: 0 / 1.071 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.3286, allocations: 3.984 kB / 1.071 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3286, allocations: 4.094 kB / 1.071 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3288, allocations: 36 kB / 1.071 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3288, allocations: 0 / 1.071 GB, free: 5.332 MB / 0.8262 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.0001774/0.329, allocations: 215.2 kB / 1.071 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.3292, allocations: 47.34 kB / 1.071 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.3296, allocations: 373 kB / 1.072 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3296, allocations: 7.984 kB / 1.072 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3296, allocations: 0 / 1.072 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3296, allocations: 4.031 kB / 1.072 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.33, allocations: 441.4 kB / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.33, allocations: 0 / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.33, allocations: 0 / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.33, allocations: 0 / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3301, allocations: 0 / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3301, allocations: 0 / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3301, allocations: 0 / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.3305, allocations: 392.3 kB / 1.072 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.331, allocations: 336.3 kB / 1.073 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.3311, allocations: 3.938 kB / 1.073 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.3313, allocations: 32 kB / 1.073 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.3313, allocations: 0 / 1.073 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3314, allocations: 0 / 1.073 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008007/0.3322, allocations: 0.5338 MB / 1.073 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3322, allocations: 0 / 1.073 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00163/0.3338, allocations: 0.5661 MB / 1.074 GB, free: 2.32 MB / 0.8262 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.003519/0.3373, allocations: 1.74 MB / 1.076 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.3376, allocations: 279.9 kB / 1.076 GB, free: 388 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3376, allocations: 4 kB / 1.076 GB, free: 384 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3378, allocations: 169.7 kB / 1.076 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3381, allocations: 38.3 kB / 1.076 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/0.3477, allocations: 7.399 MB / 1.083 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3482, allocations: 0.8313 MB / 1.084 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001302/0.3495, allocations: 448.5 kB / 1.085 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.3502, allocations: 371.2 kB / 1.085 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.3502, allocations: 0 / 1.085 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05023/0.4004, allocations: 25.62 MB / 1.11 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.294, allocations: 17.83 kB / 1.11 GB, free: 13.62 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)