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.001557/0.001557, allocations: 108 kB / 15.61 MB, free: 152 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.001908/0.001909, allocations: 193.9 kB / 16.53 MB, free: 6.66 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 64.7 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2686, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002394/0.271, allocations: 1.255 MB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006473/0.2775, allocations: 4.485 MB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.2776, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.213e-05/0.2777, allocations: 3.938 kB / 1.069 GB, free: 8.742 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 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.004002/0.2817, allocations: 1.506 MB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.45e-05/0.2818, allocations: 31.91 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.2818, allocations: 11.98 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.2819, allocations: 7.984 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.186e-05/0.2819, allocations: 4 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.282, allocations: 25.22 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.282, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.2853, allocations: 2.204 MB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.2855, allocations: 246.1 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.2859, allocations: 250.9 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.2892, allocations: 2.187 MB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2892, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2892, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.2892, allocations: 3.938 kB / 1.076 GB, free: 2.266 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.002516/0.2918, allocations: 1.495 MB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2918, allocations: 12.03 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.2919, allocations: 38.73 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.2921, allocations: 44.38 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.2929, allocations: 0.6325 MB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2929, allocations: 384 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.2929, allocations: 3.938 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2931, allocations: 173.6 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2931, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.2932, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2932, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.2934, allocations: 275.9 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.294, allocations: 0.5443 MB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2941, allocations: 166.4 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.2942, allocations: 144.9 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2943, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2943, allocations: 42.5 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2943, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0005686/0.2949, allocations: 497 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2949, allocations: 51.41 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.2959, allocations: 0.6981 MB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.2959, allocations: 25.7 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.2961, allocations: 224.1 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2961, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.2961, allocations: 17.72 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2963, allocations: 366.9 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2964, allocations: 143.9 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.2965, allocations: 143.9 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.2967, allocations: 284.8 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2967, allocations: 0 / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004146/0.2971, allocations: 364.9 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2972, allocations: 4 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2972, allocations: 0 / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2972, allocations: 0 / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.2973, allocations: 8.094 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2973, allocations: 0 / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.2975, allocations: 28 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2975, allocations: 0 / 1.082 GB, free: 11.66 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.0001714/0.2977, allocations: 213.7 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.2979, allocations: 43.44 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.2982, allocations: 380.9 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2982, allocations: 3.938 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2982, allocations: 4.031 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2982, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.2986, allocations: 437.5 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2987, allocations: 0 / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.2987, allocations: 0 / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2987, allocations: 0 / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2987, allocations: 0 / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2987, allocations: 3.938 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2987, allocations: 7.984 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.2991, allocations: 384.3 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.2995, allocations: 340.3 kB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.2997, allocations: 4 kB / 1.084 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2999, allocations: 28 kB / 1.084 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.3, allocations: 0 / 1.084 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3, allocations: 4 kB / 1.084 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007464/0.3007, allocations: 0.53 MB / 1.084 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3007, allocations: 0 / 1.084 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00153/0.3023, allocations: 0.5661 MB / 1.085 GB, free: 8.652 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.003337/0.3056, allocations: 1.745 MB / 1.086 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.3059, allocations: 287.8 kB / 1.087 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3059, allocations: 4.062 kB / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3061, allocations: 165.6 kB / 1.087 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3064, allocations: 40 kB / 1.087 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009313/0.3157, allocations: 7.41 MB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3162, allocations: 0.8197 MB / 1.095 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001365/0.3176, allocations: 450.5 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/0.3183, allocations: 375.1 kB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of SimCode: time 8.72e-07/0.3183, allocations: 0 / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05223/0.3706, allocations: 25.61 MB / 1.121 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.8, allocations: 14.61 kB / 1.121 GB, free: 3.961 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 & 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)