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.008188/0.008189, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001952/0.001952, allocations: 196.2 kB / 16.67 MB, free: 5.914 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: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.483/2.483, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7354, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00219/0.7376, allocations: 1.245 MB / 1.209 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006187/0.7438, allocations: 4.483 MB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.7439, allocations: 0 / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.7439, allocations: 7.875 kB / 1.213 GB, free: 7.812 MB / 0.9356 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.003831/0.7478, allocations: 1.504 MB / 1.214 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.095e-05/0.7479, allocations: 31.91 kB / 1.214 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.748, allocations: 11.97 kB / 1.214 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.748, allocations: 8 kB / 1.214 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.748, allocations: 4 kB / 1.214 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.7481, allocations: 25.28 kB / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.7481, allocations: 0 / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.7513, allocations: 2.278 MB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.7515, allocations: 246.1 kB / 1.217 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.7518, allocations: 242.9 kB / 1.217 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.7548, allocations: 2.199 MB / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7548, allocations: 4 kB / 1.219 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7549, allocations: 4 kB / 1.219 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.7549, allocations: 0 / 1.219 GB, free: 1.262 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.002551/0.7574, allocations: 1.495 MB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7575, allocations: 8.031 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.7575, allocations: 30.75 kB / 1.221 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.7577, allocations: 44.38 kB / 1.221 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7587, allocations: 0.6325 MB / 1.221 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.7587, allocations: 384 / 1.221 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.7588, allocations: 7.938 kB / 1.221 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.7589, allocations: 173.6 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.7589, allocations: 0 / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.759, allocations: 0 / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.759, allocations: 3.984 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.7592, allocations: 279.9 kB / 1.222 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.7597, allocations: 0.5366 MB / 1.222 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.7598, allocations: 158.5 kB / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.7599, allocations: 156.8 kB / 1.223 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.76, allocations: 0 / 1.223 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.76, allocations: 34.5 kB / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.76, allocations: 0 / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0005188/0.7605, allocations: 493 kB / 1.223 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.7606, allocations: 55.39 kB / 1.223 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008651/0.7614, allocations: 0.6942 MB / 1.224 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.7615, allocations: 25.83 kB / 1.224 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.7616, allocations: 236 kB / 1.224 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.7616, allocations: 3.906 kB / 1.224 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.7617, allocations: 9.719 kB / 1.224 GB, free: 12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7618, allocations: 366.8 kB / 1.225 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.7619, allocations: 139.9 kB / 1.225 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.454e-05/0.762, allocations: 147.8 kB / 1.225 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.7622, allocations: 292.8 kB / 1.225 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7622, allocations: 4 kB / 1.225 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003741/0.7626, allocations: 357 kB / 1.225 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7626, allocations: 4 kB / 1.225 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7626, allocations: 4 kB / 1.225 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7626, allocations: 0 / 1.225 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.7627, allocations: 0 / 1.225 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.7627, allocations: 0 / 1.225 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.7629, allocations: 32 kB / 1.226 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.7629, allocations: 0 / 1.226 GB, free: 10.66 MB / 0.9512 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.0001503/0.763, allocations: 213.7 kB / 1.226 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.7632, allocations: 43.44 kB / 1.226 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.7635, allocations: 376.9 kB / 1.226 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7635, allocations: 0 / 1.226 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7635, allocations: 3.984 kB / 1.226 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.7636, allocations: 4 kB / 1.226 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.7639, allocations: 437.5 kB / 1.227 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.7639, allocations: 4 kB / 1.227 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.7639, allocations: 0 / 1.227 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.764, allocations: 4.031 kB / 1.227 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-06/0.764, allocations: 0 / 1.227 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.764, allocations: 0 / 1.227 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.764, allocations: 0 / 1.227 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.7644, allocations: 388.3 kB / 1.227 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006464/0.765, allocations: 336.3 kB / 1.227 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.7652, allocations: 4 kB / 1.227 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.7653, allocations: 35.98 kB / 1.227 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.7654, allocations: 4.031 kB / 1.227 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.7654, allocations: 0 / 1.227 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006743/0.766, allocations: 0.53 MB / 1.228 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7661, allocations: 0 / 1.228 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001366/0.7674, allocations: 0.57 MB / 1.228 GB, free: 7.645 MB / 0.9512 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.002939/0.7704, allocations: 1.741 MB / 1.23 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.7706, allocations: 287.8 kB / 1.23 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7706, allocations: 0 / 1.23 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.7708, allocations: 169.6 kB / 1.231 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.7711, allocations: 38.44 kB / 1.231 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008158/0.7792, allocations: 7.154 MB / 1.238 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.7796, allocations: 0.8197 MB / 1.238 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009754/0.7806, allocations: 451.6 kB / 1.239 GB, free: 13 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/0.7812, allocations: 371.2 kB / 1.239 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.7812, allocations: 0 / 1.239 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/0.8288, allocations: 26 MB / 1.265 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.992/9.821, allocations: 15.56 kB / 1.265 GB, free: 2.844 MB / 0.9825 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)