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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001682/0.001682, allocations: 112.5 kB / 15.73 MB, free: 76 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.001862/0.001862, allocations: 191.4 kB / 16.67 MB, free: 6.539 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.61/2.61, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 75.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2783, allocations: 162.3 MB / 1.242 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002088/0.2804, allocations: 1.267 MB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006316/0.2867, allocations: 4.475 MB / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.2868, allocations: 0 / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.2868, allocations: 0 / 1.247 GB, free: 4.012 MB / 0.9981 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 12.0.0-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.003449/0.2903, allocations: 1.496 MB / 1.249 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.796e-05/0.2904, allocations: 35.91 kB / 1.249 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.2904, allocations: 11.94 kB / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.2905, allocations: 8 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.2905, allocations: 7.984 kB / 1.249 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.2906, allocations: 25.2 kB / 1.249 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.2906, allocations: 0 / 1.249 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/0.2938, allocations: 2.282 MB / 1.251 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.4742/0.768, allocations: 236.1 kB / 1.251 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.7684, allocations: 247.1 kB / 1.252 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.7719, allocations: 2.198 MB / 1.254 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.772, allocations: 0 / 1.254 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.772, allocations: 3.438 kB / 1.254 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.772, allocations: 0 / 1.254 GB, free: 8.094 MB / 0.9981 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.002223/0.7742, allocations: 1.533 MB / 1.255 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.7743, allocations: 9.656 kB / 1.255 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.888e-05/0.7743, allocations: 31.56 kB / 1.255 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.7745, allocations: 48.56 kB / 1.255 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.7751, allocations: 0.6424 MB / 1.256 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7752, allocations: 5.219 kB / 1.256 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-06/0.7752, allocations: 0 / 1.256 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.7754, allocations: 173.8 kB / 1.256 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.7754, allocations: 0 / 1.256 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.7754, allocations: 1.5 kB / 1.256 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.7754, allocations: 0 / 1.256 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.7756, allocations: 280.8 kB / 1.257 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.7762, allocations: 0.5339 MB / 1.257 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.7764, allocations: 162.4 kB / 1.257 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.7765, allocations: 148.2 kB / 1.257 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.7765, allocations: 9.156 kB / 1.257 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.7765, allocations: 33.77 kB / 1.257 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7765, allocations: 0 / 1.257 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000567/0.7771, allocations: 0.4903 MB / 1.258 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.7771, allocations: 52.31 kB / 1.258 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/0.778, allocations: 0.6964 MB / 1.259 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-06/0.7781, allocations: 28.92 kB / 1.259 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.7782, allocations: 228.4 kB / 1.259 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.7782, allocations: 4.516 kB / 1.259 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.7782, allocations: 11.75 kB / 1.259 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.7783, allocations: 367.4 kB / 1.259 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.7784, allocations: 140.5 kB / 1.259 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.7786, allocations: 145.1 kB / 1.259 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.7787, allocations: 284.8 kB / 1.26 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7787, allocations: 4.547 kB / 1.26 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003552/0.7791, allocations: 365.1 kB / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7791, allocations: 5.547 kB / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.7791, allocations: 0 / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.7791, allocations: 2.156 kB / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.813e-05/0.7792, allocations: 0.6562 kB / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.7792, allocations: 2 kB / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.7794, allocations: 31.14 kB / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.7794, allocations: 0 / 1.26 GB, free: 5.918 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.0001204/0.7795, allocations: 207 kB / 1.26 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.7797, allocations: 51.86 kB / 1.26 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.78, allocations: 379 kB / 1.261 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.78, allocations: 0 / 1.261 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.78, allocations: 2.5 kB / 1.261 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.78, allocations: 1.922 kB / 1.261 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.7803, allocations: 434.9 kB / 1.261 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.7804, allocations: 4.625 kB / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.7804, allocations: 1.359 kB / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7804, allocations: 1.969 kB / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.7804, allocations: 0 / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7804, allocations: 0.9062 kB / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7804, allocations: 0 / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.7807, allocations: 386.5 kB / 1.262 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.781, allocations: 343.6 kB / 1.262 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.7812, allocations: 2.938 kB / 1.262 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.7814, allocations: 29.5 kB / 1.262 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.7814, allocations: 2.594 kB / 1.262 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.7814, allocations: 3.531 kB / 1.262 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006354/0.782, allocations: 0.5284 MB / 1.262 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.71e-07/0.782, allocations: 3.938 kB / 1.262 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001776/0.7838, allocations: 0.5852 MB / 1.263 GB, free: 5.141 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.002697/0.7865, allocations: 1.757 MB / 1.265 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.7868, allocations: 286 kB / 1.265 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7868, allocations: 0 / 1.265 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.7869, allocations: 166.6 kB / 1.265 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.7872, allocations: 39.22 kB / 1.265 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008277/0.7955, allocations: 7.194 MB / 1.272 GB, free: 18.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.796, allocations: 0.8178 MB / 1.273 GB, free: 18.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008883/0.7969, allocations: 454 kB / 1.273 GB, free: 17.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.7975, allocations: 369.6 kB / 1.274 GB, free: 17.96 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.7975, allocations: 0 / 1.274 GB, free: 17.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.008/2.806, allocations: 25.77 MB / 1.299 GB, free: 14.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/14.15, allocations: 16.22 kB / 1.299 GB, free: 14.61 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 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)