Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004927/0.004927, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.00122/0.00122, allocations: 194.2 kB / 16.67 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2612, allocations: 151.6 MB / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00219/0.2634, allocations: 1.261 MB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006282/0.2697, allocations: 4.491 MB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.2698, allocations: 0 / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.2699, allocations: 3.938 kB / 1.172 GB, free: 1.645 MB / 0.92 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 10.1.1-maint.10.0.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.004087/0.274, allocations: 1.504 MB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.79e-05/0.2741, allocations: 35.91 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.2742, allocations: 8 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.2742, allocations: 3.984 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.2742, allocations: 7.984 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.2743, allocations: 21.28 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.2743, allocations: 0 / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.2781, allocations: 2.285 MB / 1.176 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.2783, allocations: 246.1 kB / 1.176 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.2787, allocations: 242.9 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003734/0.2824, allocations: 2.209 MB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2824, allocations: 3.984 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2824, allocations: 0 / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.2825, allocations: 0 / 1.178 GB, free: 11.07 MB / 0.9356 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.002762/0.2852, allocations: 1.532 MB / 1.18 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2853, allocations: 16.03 kB / 1.18 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.2853, allocations: 34.73 kB / 1.18 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.2856, allocations: 44.66 kB / 1.18 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.2865, allocations: 0.6369 MB / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2866, allocations: 384 / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2866, allocations: 3.938 kB / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2868, allocations: 173.6 kB / 1.181 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.2868, allocations: 0 / 1.181 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2868, allocations: 0 / 1.181 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.2868, allocations: 8 kB / 1.181 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.287, allocations: 275.9 kB / 1.181 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.2876, allocations: 0.5365 MB / 1.181 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2877, allocations: 162.5 kB / 1.182 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.2878, allocations: 140.9 kB / 1.182 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.2879, allocations: 7.938 kB / 1.182 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2879, allocations: 38.55 kB / 1.182 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.2879, allocations: 4 kB / 1.182 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000535/0.2884, allocations: 489.2 kB / 1.182 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2885, allocations: 51.41 kB / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.2894, allocations: 0.6942 MB / 1.183 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2894, allocations: 29.7 kB / 1.183 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2895, allocations: 224.1 kB / 1.183 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.2896, allocations: 3.953 kB / 1.183 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2896, allocations: 17.7 kB / 1.183 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2897, allocations: 366.9 kB / 1.184 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.2899, allocations: 139.9 kB / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.29, allocations: 143.9 kB / 1.184 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.2902, allocations: 288.8 kB / 1.184 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2902, allocations: 0 / 1.184 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000406/0.2906, allocations: 365.2 kB / 1.184 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2906, allocations: 7.938 kB / 1.184 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2906, allocations: 96 / 1.184 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2906, allocations: 4 kB / 1.184 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.2907, allocations: 4 kB / 1.184 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2907, allocations: 0 / 1.184 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.2909, allocations: 39.86 kB / 1.184 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2909, allocations: 3.984 kB / 1.184 GB, free: 4.406 MB / 0.9356 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.0001532/0.2911, allocations: 213.6 kB / 1.185 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.2913, allocations: 39.72 kB / 1.185 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.2916, allocations: 377 kB / 1.185 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2916, allocations: 4.031 kB / 1.185 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2916, allocations: 0 / 1.185 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2916, allocations: 0 / 1.185 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.292, allocations: 441.5 kB / 1.186 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.292, allocations: 0 / 1.186 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.292, allocations: 3.984 kB / 1.186 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.292, allocations: 0 / 1.186 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.292, allocations: 4 kB / 1.186 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.292, allocations: 0 / 1.186 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.292, allocations: 0 / 1.186 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.2924, allocations: 392.6 kB / 1.186 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/0.293, allocations: 344.5 kB / 1.186 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.2931, allocations: 0 / 1.186 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.2934, allocations: 28 kB / 1.186 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.2934, allocations: 4 kB / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2934, allocations: 0 / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000691/0.2941, allocations: 0.5339 MB / 1.187 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2941, allocations: 32 / 1.187 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001393/0.2955, allocations: 0.5765 MB / 1.187 GB, free: 1.379 MB / 0.9356 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.00301/0.2985, allocations: 1.759 MB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.2988, allocations: 283.9 kB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2988, allocations: 0 / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2989, allocations: 169.6 kB / 1.189 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.2993, allocations: 30.31 kB / 1.19 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.3077, allocations: 7.191 MB / 1.197 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.308, allocations: 0.8236 MB / 1.197 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009353/0.309, allocations: 442.4 kB / 1.198 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.3096, allocations: 375.2 kB / 1.198 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of SimCode: time 6.81e-07/0.3096, allocations: 0 / 1.198 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9199/1.229, allocations: 25.76 MB / 1.223 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.58, allocations: 12.45 kB / 1.223 GB, free: 12.78 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)