Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.007737/0.007737, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.002112/0.002112, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 64.12 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002249/0.3174, allocations: 1.267 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006803/0.3242, allocations: 4.492 MB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.3243, allocations: 0 / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.178e-05/0.3244, allocations: 3.984 kB / 1.226 GB, free: 8.469 MB / 0.9825 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-maint.11.x/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.00415/0.3285, allocations: 1.488 MB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.628e-05/0.3287, allocations: 35.89 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.3287, allocations: 11.98 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.3288, allocations: 8 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.3288, allocations: 11.92 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.3289, allocations: 21.28 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3289, allocations: 3.938 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.3326, allocations: 2.282 MB / 1.23 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.3328, allocations: 238.1 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.3332, allocations: 246.9 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.3368, allocations: 2.205 MB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3368, allocations: 0 / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3368, allocations: 0 / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3368, allocations: 0 / 1.232 GB, free: 1.918 MB / 0.9825 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.002339/0.3392, allocations: 1.539 MB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3392, allocations: 11.97 kB / 1.234 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.3393, allocations: 30.75 kB / 1.234 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.3394, allocations: 48.61 kB / 1.234 GB, free: 232 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000785/0.3402, allocations: 0.6369 MB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3403, allocations: 384 / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.3403, allocations: 3.938 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3405, allocations: 169.6 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3405, allocations: 3.984 kB / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3405, allocations: 0 / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3405, allocations: 0 / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.3407, allocations: 283.9 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.3414, allocations: 0.5327 MB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3415, allocations: 166.4 kB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.3416, allocations: 152.9 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.3417, allocations: 3.938 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3417, allocations: 34.56 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/0.3417, allocations: 0 / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0006204/0.3423, allocations: 0.4893 MB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3424, allocations: 59.53 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/0.3433, allocations: 0.6903 MB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3434, allocations: 25.7 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3435, allocations: 232.1 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.3436, allocations: 0 / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3436, allocations: 13.72 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3438, allocations: 366.8 kB / 1.238 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3439, allocations: 139.9 kB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.344, allocations: 144 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.3443, allocations: 288.7 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3443, allocations: 0 / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004455/0.3447, allocations: 365.1 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3448, allocations: 7.984 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3448, allocations: 0 / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3448, allocations: 0 / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.3448, allocations: 4 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3448, allocations: 0 / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.345, allocations: 32.09 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3451, allocations: 0 / 1.238 GB, free: 11.25 MB / 0.9981 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.0001767/0.3452, allocations: 209.7 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.3454, allocations: 47.7 kB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.3458, allocations: 373 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3458, allocations: 0 / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3458, allocations: 0 / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3458, allocations: 0 / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3463, allocations: 445.4 kB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3463, allocations: 7.969 kB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3463, allocations: 0 / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3463, allocations: 4 kB / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.3463, allocations: 0 / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3463, allocations: 0 / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3463, allocations: 0 / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.3468, allocations: 388.6 kB / 1.24 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.3472, allocations: 336.5 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.3473, allocations: 4.031 kB / 1.24 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3475, allocations: 31.94 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.3475, allocations: 3.984 kB / 1.24 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3475, allocations: 4 kB / 1.24 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007562/0.3483, allocations: 0.5377 MB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3483, allocations: 0 / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001444/0.3498, allocations: 0.5725 MB / 1.241 GB, free: 8.227 MB / 0.9981 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.003262/0.353, allocations: 1.756 MB / 1.243 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.3534, allocations: 287.9 kB / 1.243 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3534, allocations: 4.062 kB / 1.243 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3535, allocations: 169.6 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3539, allocations: 35.56 kB / 1.244 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5633/0.9172, allocations: 7.172 MB / 1.251 GB, free: 27.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.9175, allocations: 0.8176 MB / 1.251 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001045/0.9186, allocations: 448.4 kB / 1.252 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.9192, allocations: 373.7 kB / 1.252 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.9193, allocations: 0 / 1.252 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06349/0.9827, allocations: 25.77 MB / 1.277 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.252/10.23, allocations: 6.297 kB / 1.277 GB, free: 23.98 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)