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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.006808/0.006808, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001519/0.001519, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.514/2.514, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 67.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7557/0.7573, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002288/0.7597, allocations: 1.245 MB / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006525/0.7662, allocations: 4.496 MB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.7663, allocations: 0 / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.7663, allocations: 0 / 1.225 GB, free: 12.51 MB / 0.9512 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.1.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.00402/0.7704, allocations: 1.507 MB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 9.09e-05/0.7705, allocations: 39.88 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.7705, allocations: 8 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.7706, allocations: 4 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.7706, allocations: 7.984 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.7707, allocations: 21.22 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.7707, allocations: 4 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.7743, allocations: 2.282 MB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.7745, allocations: 250 kB / 1.229 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.7749, allocations: 242.9 kB / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.779, allocations: 2.203 MB / 1.232 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.779, allocations: 0 / 1.232 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.779, allocations: 4 kB / 1.232 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.779, allocations: 0 / 1.232 GB, free: 5.945 MB / 0.9512 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.002898/0.7819, allocations: 1.535 MB / 1.233 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.782, allocations: 12.62 kB / 1.233 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.7821, allocations: 30.75 kB / 1.233 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.7823, allocations: 48.61 kB / 1.233 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.7833, allocations: 0.6369 MB / 1.234 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.7834, allocations: 384 / 1.234 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.7834, allocations: 7.938 kB / 1.234 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.7836, allocations: 169.6 kB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.7836, allocations: 0 / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7836, allocations: 0 / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.7836, allocations: 0 / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.7838, allocations: 283.9 kB / 1.234 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.7845, allocations: 0.5365 MB / 1.235 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.7846, allocations: 162.4 kB / 1.235 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.7848, allocations: 144.9 kB / 1.235 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.7848, allocations: 0 / 1.235 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.7848, allocations: 30.56 kB / 1.235 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7848, allocations: 4 kB / 1.235 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0006517/0.7855, allocations: 0.4933 MB / 1.236 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.7855, allocations: 51.41 kB / 1.236 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.7865, allocations: 0.698 MB / 1.237 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.7865, allocations: 29.64 kB / 1.237 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.7866, allocations: 232.1 kB / 1.237 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.7867, allocations: 0 / 1.237 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.7867, allocations: 9.719 kB / 1.237 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.7869, allocations: 370.9 kB / 1.237 GB, free: 264 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.787, allocations: 139.9 kB / 1.237 GB, free: 124 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.7871, allocations: 143.9 kB / 1.237 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.7873, allocations: 284.8 kB / 1.238 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7873, allocations: 0 / 1.238 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004256/0.7878, allocations: 361.2 kB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7878, allocations: 4 kB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7878, allocations: 4 kB / 1.238 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7878, allocations: 8.031 kB / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.7879, allocations: 0 / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.7879, allocations: 0 / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.7881, allocations: 32 kB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.7882, allocations: 4 kB / 1.238 GB, free: 15.29 MB / 0.9669 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.000159/0.7883, allocations: 212.8 kB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.7885, allocations: 47.7 kB / 1.238 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.7888, allocations: 373 kB / 1.239 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7889, allocations: 4.031 kB / 1.239 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7889, allocations: 4 kB / 1.239 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7889, allocations: 4 kB / 1.239 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.7893, allocations: 437.5 kB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.7893, allocations: 4 kB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.7893, allocations: 0 / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7893, allocations: 0 / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.7893, allocations: 0 / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7894, allocations: 3.938 kB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7894, allocations: 0 / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.7898, allocations: 388.6 kB / 1.239 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/0.7904, allocations: 344.5 kB / 1.24 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.7905, allocations: 0 / 1.24 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.7908, allocations: 32 kB / 1.24 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.7908, allocations: 0 / 1.24 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.7908, allocations: 0 / 1.24 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007265/0.7915, allocations: 0.5338 MB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7915, allocations: 0 / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001437/0.793, allocations: 0.5843 MB / 1.241 GB, free: 12.25 MB / 0.9669 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.003009/0.796, allocations: 1.747 MB / 1.243 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.7963, allocations: 283.9 kB / 1.243 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7963, allocations: 0 / 1.243 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.7964, allocations: 173.6 kB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.7968, allocations: 34.31 kB / 1.243 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008921/0.8057, allocations: 7.183 MB / 1.25 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.8061, allocations: 0.8158 MB / 1.251 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000987/0.8071, allocations: 452 kB / 1.251 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/0.8077, allocations: 371.2 kB / 1.252 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/0.8078, allocations: 0 / 1.252 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.857, allocations: 25.76 MB / 1.277 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.848/9.705, allocations: 13.89 kB / 1.277 GB, free: 7.664 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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)