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.001692/0.001692, 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.002169/0.002169, 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.609/2.609, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.552, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002139/0.5542, allocations: 1.251 MB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006133/0.5604, allocations: 4.495 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.5604, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.5605, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 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.003696/0.5642, allocations: 1.5 MB / 1.025 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.097e-05/0.5643, allocations: 39.89 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.5643, allocations: 15.98 kB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.5644, allocations: 0 / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.5644, allocations: 7.984 kB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.5645, allocations: 21.28 kB / 1.025 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.5645, allocations: 0 / 1.025 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.5677, allocations: 2.204 MB / 1.027 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.5679, allocations: 246.1 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.5683, allocations: 242.9 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.5714, allocations: 2.205 MB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5714, allocations: 0 / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5714, allocations: 0 / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.5715, allocations: 0 / 1.029 GB, free: 6.293 MB / 0.7794 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.002389/0.5738, allocations: 1.491 MB / 1.031 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5739, allocations: 12.03 kB / 1.031 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.5739, allocations: 38.67 kB / 1.031 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.5742, allocations: 44.38 kB / 1.031 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/0.575, allocations: 0.6325 MB / 1.032 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.575, allocations: 4.312 kB / 1.032 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.575, allocations: 3.938 kB / 1.032 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.5752, allocations: 169.6 kB / 1.032 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5752, allocations: 0 / 1.032 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5753, allocations: 0 / 1.032 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5753, allocations: 0 / 1.032 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.5755, allocations: 279.9 kB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.5761, allocations: 0.5366 MB / 1.033 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.5762, allocations: 170.4 kB / 1.033 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.5763, allocations: 140.9 kB / 1.033 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.5763, allocations: 0 / 1.033 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.5764, allocations: 38.55 kB / 1.033 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.5764, allocations: 0 / 1.033 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0005662/0.5769, allocations: 496.9 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.577, allocations: 55.53 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/0.5779, allocations: 0.6981 MB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5779, allocations: 25.7 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.5781, allocations: 228.1 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.5781, allocations: 3.984 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.5781, allocations: 13.72 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5783, allocations: 366.7 kB / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.5784, allocations: 139.9 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/0.5785, allocations: 143.9 kB / 1.035 GB, free: 392 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.5787, allocations: 284.8 kB / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5787, allocations: 0 / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004539/0.5792, allocations: 365 kB / 1.036 GB, free: 15.74 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5792, allocations: 4 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5792, allocations: 0 / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5793, allocations: 0 / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.5793, allocations: 4 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5793, allocations: 0 / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.5795, allocations: 40.02 kB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.5796, allocations: 0 / 1.036 GB, free: 15.69 MB / 0.795 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.0001706/0.5797, allocations: 207.2 kB / 1.036 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.5799, allocations: 43.44 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.5803, allocations: 377 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5803, allocations: 0 / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.5803, allocations: 0 / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5803, allocations: 0 / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.5807, allocations: 445.4 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5807, allocations: 8.016 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.5807, allocations: 0 / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5807, allocations: 0 / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.5807, allocations: 0 / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5807, allocations: 4 kB / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5807, allocations: 0 / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.5812, allocations: 388.2 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.5816, allocations: 340.3 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.5818, allocations: 4 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.582, allocations: 28 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.582, allocations: 0 / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.582, allocations: 7.922 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007602/0.5828, allocations: 0.5378 MB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5828, allocations: 0 / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001435/0.5842, allocations: 0.5622 MB / 1.038 GB, free: 12.68 MB / 0.795 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.003108/0.5874, allocations: 1.733 MB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.5876, allocations: 279.9 kB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5876, allocations: 3.938 kB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.5878, allocations: 177.7 kB / 1.041 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.5881, allocations: 27.48 kB / 1.041 GB, free: 10.54 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008881/0.597, allocations: 7.426 MB / 1.048 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.5974, allocations: 0.8197 MB / 1.049 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001304/0.5987, allocations: 454.8 kB / 1.049 GB, free: 1.773 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/0.5994, allocations: 376.8 kB / 1.049 GB, free: 1.406 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.5994, allocations: 3.938 kB / 1.049 GB, free: 1.402 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/0.6489, allocations: 25.6 MB / 1.074 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.785, allocations: 13.38 kB / 1.074 GB, free: 7.98 MB / 0.8262 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)