Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006931/0.006931, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001844/0.001844, allocations: 192.5 kB / 16.67 MB, free: 5.973 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.519/2.519, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 64.08 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6352, allocations: 159.1 MB / 1.22 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002055/0.6372, allocations: 1.259 MB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006226/0.6435, allocations: 4.48 MB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.6435, allocations: 0 / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.6436, allocations: 3.938 kB / 1.226 GB, free: 12.34 MB / 0.9512 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.1.0-maint.11.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.003322/0.6469, allocations: 1.509 MB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.561e-05/0.647, allocations: 35.89 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.036e-05/0.6471, allocations: 11.94 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.6471, allocations: 7.984 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.6471, allocations: 8 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.6472, allocations: 25.2 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.6472, allocations: 4 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.6502, allocations: 2.274 MB / 1.23 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.6504, allocations: 242.1 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.6507, allocations: 250.8 kB / 1.23 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.6531, allocations: 2.205 MB / 1.232 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6532, allocations: 0 / 1.232 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6532, allocations: 4 kB / 1.232 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.6532, allocations: 0 / 1.232 GB, free: 5.766 MB / 0.9512 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.002014/0.6552, allocations: 1.532 MB / 1.234 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6552, allocations: 12.02 kB / 1.234 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.6553, allocations: 30.75 kB / 1.234 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.6555, allocations: 48.61 kB / 1.234 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.6562, allocations: 0.633 MB / 1.234 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.6562, allocations: 384 / 1.234 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.6562, allocations: 3.938 kB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.6564, allocations: 177.6 kB / 1.235 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.6564, allocations: 0 / 1.235 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.6565, allocations: 0 / 1.235 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.6565, allocations: 0 / 1.235 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.6567, allocations: 283.9 kB / 1.235 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.6573, allocations: 0.5327 MB / 1.235 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.6574, allocations: 158.5 kB / 1.236 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.6575, allocations: 152.8 kB / 1.236 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.6575, allocations: 4 kB / 1.236 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.6576, allocations: 34.56 kB / 1.236 GB, free: 2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.6576, allocations: 3.938 kB / 1.236 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0005683/0.6581, allocations: 493.2 kB / 1.236 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.6582, allocations: 55.41 kB / 1.236 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009133/0.6591, allocations: 0.6942 MB / 1.237 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.6591, allocations: 25.7 kB / 1.237 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6593, allocations: 232.2 kB / 1.237 GB, free: 484 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.6593, allocations: 3.984 kB / 1.237 GB, free: 480 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.6594, allocations: 13.72 kB / 1.237 GB, free: 460 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6595, allocations: 362.8 kB / 1.238 GB, free: 88 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.6596, allocations: 139.9 kB / 1.238 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.6598, allocations: 143.9 kB / 1.238 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.66, allocations: 288.7 kB / 1.238 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.66, allocations: 4.062 kB / 1.238 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004044/0.6604, allocations: 365.2 kB / 1.238 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6604, allocations: 4 kB / 1.238 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6604, allocations: 0 / 1.238 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.6605, allocations: 0 / 1.238 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.6605, allocations: 4 kB / 1.238 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6605, allocations: 3.984 kB / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.6607, allocations: 28 kB / 1.238 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.6607, allocations: 0 / 1.238 GB, free: 15.12 MB / 0.9669 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.0001712/0.6609, allocations: 213.7 kB / 1.239 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.6611, allocations: 43.72 kB / 1.239 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.6614, allocations: 380.9 kB / 1.239 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6614, allocations: 0 / 1.239 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6614, allocations: 0 / 1.239 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.6614, allocations: 0 / 1.239 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.6619, allocations: 441.5 kB / 1.239 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.6619, allocations: 3.984 kB / 1.24 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.6619, allocations: 0 / 1.24 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.6619, allocations: 4 kB / 1.24 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.6619, allocations: 4.031 kB / 1.24 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6619, allocations: 0 / 1.24 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6619, allocations: 3.938 kB / 1.24 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.6623, allocations: 392.6 kB / 1.24 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.6627, allocations: 336.5 kB / 1.24 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.6628, allocations: 3.984 kB / 1.24 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.663, allocations: 32 kB / 1.24 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.663, allocations: 4.031 kB / 1.24 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.6631, allocations: 4 kB / 1.24 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007303/0.6638, allocations: 0.5338 MB / 1.241 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6638, allocations: 0 / 1.241 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001187/0.665, allocations: 0.5725 MB / 1.241 GB, free: 12.08 MB / 0.9669 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.00285/0.6678, allocations: 1.758 MB / 1.243 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.6681, allocations: 287.8 kB / 1.243 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6681, allocations: 0 / 1.243 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.6683, allocations: 169.6 kB / 1.243 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.6686, allocations: 41.31 kB / 1.244 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0085/0.6771, allocations: 7.18 MB / 1.251 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.6775, allocations: 0.8197 MB / 1.251 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009588/0.6785, allocations: 452.4 kB / 1.252 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/0.6791, allocations: 367.2 kB / 1.252 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.6791, allocations: 3.938 kB / 1.252 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.183/4.862, allocations: 25.78 MB / 1.277 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.29/25.15, allocations: 9.438 kB / 1.277 GB, free: 7.457 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)