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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008028/0.008029, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001936/0.001936, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2937, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002388/0.2962, allocations: 1.255 MB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00652/0.3027, allocations: 4.484 MB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.3028, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.027e-05/0.3029, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 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.0.1-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.004398/0.3073, allocations: 1.499 MB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.994e-05/0.3074, allocations: 39.91 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.3075, allocations: 11.92 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.3075, allocations: 11.98 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.3075, allocations: 4 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.3076, allocations: 21.28 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.3076, allocations: 3.938 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.3112, allocations: 2.274 MB / 1.217 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.3114, allocations: 246.1 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.3117, allocations: 238.9 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.3154, allocations: 2.203 MB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3154, allocations: 0 / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3154, allocations: 4 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.3155, allocations: 3.984 kB / 1.219 GB, free: 13.79 MB / 0.9825 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.002583/0.318, allocations: 1.491 MB / 1.221 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3181, allocations: 8.625 kB / 1.221 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3181, allocations: 30.75 kB / 1.221 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.3184, allocations: 48.36 kB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.3192, allocations: 0.6286 MB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3192, allocations: 4.375 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3192, allocations: 7.938 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3194, allocations: 165.6 kB / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.3194, allocations: 0 / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3194, allocations: 0 / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3195, allocations: 0 / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.3197, allocations: 287.8 kB / 1.222 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.3203, allocations: 0.5404 MB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3204, allocations: 162.5 kB / 1.223 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3205, allocations: 148.9 kB / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.3206, allocations: 0 / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3206, allocations: 34.55 kB / 1.223 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 3.387e-06/0.3206, allocations: 0 / 1.223 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0006375/0.3212, allocations: 0.493 MB / 1.223 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3213, allocations: 51.41 kB / 1.223 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.3222, allocations: 0.6982 MB / 1.224 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3223, allocations: 25.7 kB / 1.224 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3224, allocations: 224.1 kB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3225, allocations: 7.906 kB / 1.224 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.3225, allocations: 17.64 kB / 1.224 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3226, allocations: 362.8 kB / 1.225 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.3228, allocations: 139.9 kB / 1.225 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-05/0.3229, allocations: 143.9 kB / 1.225 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3231, allocations: 292.8 kB / 1.225 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3232, allocations: 0 / 1.225 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004298/0.3236, allocations: 361 kB / 1.225 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3236, allocations: 4 kB / 1.225 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3236, allocations: 4 kB / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3237, allocations: 0 / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.3237, allocations: 0 / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3237, allocations: 0 / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.324, allocations: 28 kB / 1.226 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.324, allocations: 12.02 kB / 1.226 GB, free: 7.176 MB / 0.9825 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.0001622/0.3241, allocations: 205.7 kB / 1.226 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.3243, allocations: 43.44 kB / 1.226 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.3247, allocations: 376.9 kB / 1.226 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3247, allocations: 0 / 1.226 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3247, allocations: 4 kB / 1.226 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3247, allocations: 4 kB / 1.226 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.3251, allocations: 437.5 kB / 1.227 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.3251, allocations: 8.031 kB / 1.227 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.3251, allocations: 0 / 1.227 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3251, allocations: 3.984 kB / 1.227 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3251, allocations: 0 / 1.227 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3251, allocations: 0 / 1.227 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3251, allocations: 0 / 1.227 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.3256, allocations: 384.4 kB / 1.227 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.326, allocations: 332.3 kB / 1.227 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.3261, allocations: 4.031 kB / 1.227 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.3263, allocations: 35.88 kB / 1.227 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.3263, allocations: 4 kB / 1.227 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3264, allocations: 0 / 1.227 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006789/0.327, allocations: 0.5339 MB / 1.228 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.327, allocations: 0 / 1.228 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001505/0.3286, allocations: 0.57 MB / 1.228 GB, free: 4.168 MB / 0.9825 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.003447/0.332, allocations: 1.753 MB / 1.23 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.3324, allocations: 283.8 kB / 1.23 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3324, allocations: 4.062 kB / 1.23 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3326, allocations: 173.6 kB / 1.231 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.3332, allocations: 30.31 kB / 1.231 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008939/0.3421, allocations: 7.156 MB / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3425, allocations: 0.8158 MB / 1.238 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009618/0.3435, allocations: 447 kB / 1.239 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/0.3441, allocations: 375.2 kB / 1.239 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/0.3441, allocations: 0 / 1.239 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5905/0.9346, allocations: 25.98 MB / 1.264 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/9.393, allocations: 10.56 kB / 1.264 GB, free: 31.21 MB / 0.9981 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=50 --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)