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.001123/0.001123, 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.001435/0.001435, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.495/2.495, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5848, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002489/0.5873, allocations: 1.261 MB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007089/0.5944, allocations: 4.488 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.5945, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.5945, allocations: 7.984 kB / 1.023 GB, free: 12.72 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.004033/0.5986, allocations: 1.5 MB / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.375e-05/0.5987, allocations: 35.89 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.5988, allocations: 19.92 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.5988, allocations: 0 / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.5988, allocations: 4 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.5989, allocations: 29.27 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.5989, allocations: 0 / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.6023, allocations: 2.207 MB / 1.027 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.6026, allocations: 242.1 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.6029, allocations: 242.9 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.6065, allocations: 2.193 MB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6065, allocations: 4 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6065, allocations: 0 / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6065, allocations: 0 / 1.029 GB, free: 6.246 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.002585/0.6091, allocations: 1.499 MB / 1.031 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.6092, allocations: 12.03 kB / 1.031 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.6092, allocations: 30.75 kB / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.6095, allocations: 48.36 kB / 1.031 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.6103, allocations: 0.6247 MB / 1.032 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.6103, allocations: 384 / 1.032 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.6104, allocations: 7.938 kB / 1.032 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.6106, allocations: 173.6 kB / 1.032 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.6106, allocations: 0 / 1.032 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.6106, allocations: 0 / 1.032 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.6106, allocations: 0 / 1.032 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.6109, allocations: 283.8 kB / 1.032 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.6115, allocations: 0.5326 MB / 1.033 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.6117, allocations: 166.4 kB / 1.033 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.6118, allocations: 144.9 kB / 1.033 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.6118, allocations: 4 kB / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.6119, allocations: 38.55 kB / 1.033 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6119, allocations: 0 / 1.033 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0006195/0.6125, allocations: 0.4891 MB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.6125, allocations: 55.34 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.6135, allocations: 0.6942 MB / 1.034 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.6135, allocations: 29.83 kB / 1.034 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.6137, allocations: 228.1 kB / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.6137, allocations: 0 / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.6138, allocations: 21.64 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.614, allocations: 362.8 kB / 1.035 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.6141, allocations: 139.9 kB / 1.035 GB, free: 480 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.6142, allocations: 139.9 kB / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.6144, allocations: 288.8 kB / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6144, allocations: 0 / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004748/0.6149, allocations: 364.9 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6149, allocations: 4 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.615, allocations: 0 / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.615, allocations: 0 / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.615, allocations: 4 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6151, allocations: 0 / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.6153, allocations: 32 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.6153, allocations: 3.984 kB / 1.036 GB, free: 15.64 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.0001839/0.6155, allocations: 215.3 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.6157, allocations: 39.44 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.616, allocations: 380.9 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6161, allocations: 0 / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6161, allocations: 0 / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6161, allocations: 0 / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.6165, allocations: 441.5 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.6165, allocations: 0 / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.6165, allocations: 0 / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.6165, allocations: 8.016 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.6165, allocations: 4 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.6166, allocations: 0 / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6166, allocations: 0 / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.617, allocations: 380.3 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005571/0.6176, allocations: 340.3 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6178, allocations: 0 / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.618, allocations: 28 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.618, allocations: 7.969 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.618, allocations: 4 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009051/0.6189, allocations: 0.5339 MB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6189, allocations: 3.938 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001423/0.6204, allocations: 0.5661 MB / 1.038 GB, free: 12.62 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.003555/0.6239, allocations: 1.738 MB / 1.04 GB, free: 10.96 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.6243, allocations: 283.8 kB / 1.04 GB, free: 10.69 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6243, allocations: 0 / 1.04 GB, free: 10.69 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.6244, allocations: 173.6 kB / 1.041 GB, free: 10.51 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.6248, allocations: 31.48 kB / 1.041 GB, free: 10.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009873/0.6347, allocations: 7.415 MB / 1.048 GB, free: 2.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.6352, allocations: 0.8197 MB / 1.049 GB, free: 2.137 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001272/0.6364, allocations: 440.5 kB / 1.049 GB, free: 1.738 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006845/0.6371, allocations: 388.5 kB / 1.049 GB, free: 1.359 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.6372, allocations: 0 / 1.049 GB, free: 1.359 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/0.6883, allocations: 25.61 MB / 1.074 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.914, allocations: 5.25 kB / 1.074 GB, free: 7.941 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 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)