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.006968/0.006968, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.00186/0.00186, allocations: 198.1 kB / 16.68 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.408/2.408, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2519, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002075/0.254, allocations: 1.255 MB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006013/0.26, allocations: 4.488 MB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.2601, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.2601, allocations: 4 kB / 1.172 GB, free: 1.445 MB / 0.92 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.003031/0.2632, allocations: 1.502 MB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.4e-05/0.2632, allocations: 35.89 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.465e-05/0.2633, allocations: 15.92 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.2633, allocations: 4 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.2634, allocations: 7.938 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.2634, allocations: 17.28 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.2634, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.2664, allocations: 2.282 MB / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.2666, allocations: 246.1 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.2669, allocations: 246.9 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.2693, allocations: 2.205 MB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2693, allocations: 0 / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2693, allocations: 0 / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2693, allocations: 0 / 1.178 GB, free: 10.88 MB / 0.9356 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.002009/0.2713, allocations: 1.532 MB / 1.18 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.2714, allocations: 15.97 kB / 1.18 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.2714, allocations: 34.69 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2716, allocations: 44.66 kB / 1.18 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.2723, allocations: 0.6369 MB / 1.18 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.2723, allocations: 4.375 kB / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.2724, allocations: 3.938 kB / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2725, allocations: 173.6 kB / 1.181 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2725, allocations: 0 / 1.181 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.2726, allocations: 3.984 kB / 1.181 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.2726, allocations: 0 / 1.181 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.2728, allocations: 283.9 kB / 1.181 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.2734, allocations: 0.5327 MB / 1.181 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2735, allocations: 166.4 kB / 1.182 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.2736, allocations: 148.9 kB / 1.182 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.2736, allocations: 0 / 1.182 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2737, allocations: 30.56 kB / 1.182 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.2737, allocations: 4 kB / 1.182 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0005629/0.2742, allocations: 493.2 kB / 1.182 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2743, allocations: 59.34 kB / 1.182 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009221/0.2752, allocations: 0.6903 MB / 1.183 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2752, allocations: 29.7 kB / 1.183 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2754, allocations: 224.1 kB / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2754, allocations: 11.89 kB / 1.183 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.2755, allocations: 13.72 kB / 1.183 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2756, allocations: 370.9 kB / 1.184 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.2757, allocations: 139.9 kB / 1.184 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.2758, allocations: 140 kB / 1.184 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.2761, allocations: 288.7 kB / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2761, allocations: 0 / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004077/0.2765, allocations: 365.1 kB / 1.184 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2765, allocations: 4 kB / 1.184 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2765, allocations: 0 / 1.184 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2765, allocations: 8.094 kB / 1.184 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.2766, allocations: 0 / 1.184 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.2766, allocations: 0 / 1.184 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.2768, allocations: 28 kB / 1.185 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2768, allocations: 7.938 kB / 1.185 GB, free: 4.215 MB / 0.9356 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.0001707/0.277, allocations: 213.7 kB / 1.185 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.2771, allocations: 43.72 kB / 1.185 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.2775, allocations: 365 kB / 1.185 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2775, allocations: 8.016 kB / 1.185 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2775, allocations: 0 / 1.185 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.2775, allocations: 0 / 1.185 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.2779, allocations: 441.5 kB / 1.186 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2779, allocations: 0 / 1.186 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-06/0.2779, allocations: 7.938 kB / 1.186 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2779, allocations: 0 / 1.186 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.2779, allocations: 0 / 1.186 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2779, allocations: 7.938 kB / 1.186 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2779, allocations: 0 / 1.186 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.2784, allocations: 392.6 kB / 1.186 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.2788, allocations: 344.5 kB / 1.186 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.2789, allocations: 3.984 kB / 1.186 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.2791, allocations: 28 kB / 1.186 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.2791, allocations: 4 kB / 1.186 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.2791, allocations: 0 / 1.186 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007248/0.2799, allocations: 0.53 MB / 1.187 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2799, allocations: 0 / 1.187 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00108/0.2809, allocations: 0.5765 MB / 1.187 GB, free: 1.184 MB / 0.9356 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.002742/0.2837, allocations: 1.753 MB / 1.189 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.284, allocations: 283.9 kB / 1.189 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.284, allocations: 0 / 1.189 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2841, allocations: 169.6 kB / 1.19 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.2844, allocations: 34.31 kB / 1.19 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008405/0.2928, allocations: 7.193 MB / 1.197 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.2932, allocations: 0.8197 MB / 1.197 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009432/0.2942, allocations: 452.9 kB / 1.198 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.2948, allocations: 371.2 kB / 1.198 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.2948, allocations: 3.938 kB / 1.198 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5775/0.8723, allocations: 25.75 MB / 1.223 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/17.04, allocations: 12.55 kB / 1.223 GB, free: 12.58 MB / 0.9825 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=400 --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)