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.007354/0.007354, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.00167/0.00167, allocations: 194.6 kB / 16.67 MB, free: 6.355 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 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2677, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002424/0.2702, allocations: 1.259 MB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0065/0.2767, allocations: 4.492 MB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.2768, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.2769, allocations: 0 / 1.172 GB, free: 1.48 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.004326/0.2812, allocations: 1.5 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.2814, allocations: 35.91 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.059e-05/0.2814, allocations: 19.86 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.2815, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.2815, allocations: 11.98 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.2816, allocations: 21.28 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2816, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.2854, allocations: 2.278 MB / 1.176 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.2856, allocations: 238.1 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.2859, allocations: 246.9 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003599/0.2895, allocations: 2.21 MB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2896, allocations: 0 / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2896, allocations: 0 / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.2896, allocations: 0 / 1.178 GB, free: 10.92 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.002413/0.292, allocations: 1.488 MB / 1.18 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2921, allocations: 15.97 kB / 1.18 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2921, allocations: 30.75 kB / 1.18 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2923, allocations: 44.38 kB / 1.18 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/0.2931, allocations: 0.6364 MB / 1.18 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2931, allocations: 384 / 1.18 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2931, allocations: 7.938 kB / 1.18 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2933, allocations: 169.6 kB / 1.181 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2933, allocations: 0 / 1.181 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2933, allocations: 0 / 1.181 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2933, allocations: 3.938 kB / 1.181 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2935, allocations: 279.8 kB / 1.181 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.2941, allocations: 0.5365 MB / 1.181 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2943, allocations: 162.5 kB / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2944, allocations: 144.9 kB / 1.182 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2944, allocations: 4 kB / 1.182 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2944, allocations: 34.56 kB / 1.182 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.2944, allocations: 0 / 1.182 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0005598/0.295, allocations: 496.9 kB / 1.182 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.295, allocations: 51.41 kB / 1.182 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.2959, allocations: 0.6982 MB / 1.183 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.296, allocations: 25.7 kB / 1.183 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2961, allocations: 228.1 kB / 1.183 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2961, allocations: 3.906 kB / 1.183 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.2962, allocations: 13.72 kB / 1.183 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2963, allocations: 366.8 kB / 1.183 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.2964, allocations: 139.9 kB / 1.184 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.2965, allocations: 139.9 kB / 1.184 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.2967, allocations: 288.8 kB / 1.184 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2967, allocations: 0 / 1.184 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003897/0.2971, allocations: 368.9 kB / 1.184 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2971, allocations: 4 kB / 1.184 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2971, allocations: 0 / 1.184 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2972, allocations: 0 / 1.184 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.2972, allocations: 4 kB / 1.184 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2972, allocations: 0 / 1.184 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.2974, allocations: 28 kB / 1.184 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.2975, allocations: 3.938 kB / 1.184 GB, free: 4.324 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.0001594/0.2976, allocations: 217.7 kB / 1.185 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.2978, allocations: 39.44 kB / 1.185 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.2981, allocations: 384.9 kB / 1.185 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2981, allocations: 0 / 1.185 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2981, allocations: 0 / 1.185 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2981, allocations: 0 / 1.185 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.2985, allocations: 441.5 kB / 1.185 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2985, allocations: 0 / 1.185 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-06/0.2986, allocations: 4.031 kB / 1.185 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2986, allocations: 3.984 kB / 1.185 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2986, allocations: 4 kB / 1.185 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.2986, allocations: 3.984 kB / 1.185 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2986, allocations: 0 / 1.185 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.299, allocations: 376.4 kB / 1.186 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.2994, allocations: 344.2 kB / 1.186 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2995, allocations: 0 / 1.186 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.2997, allocations: 32.03 kB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.2997, allocations: 0 / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.2998, allocations: 0 / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007086/0.3005, allocations: 0.5416 MB / 1.187 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3005, allocations: 0 / 1.187 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001462/0.3019, allocations: 0.5661 MB / 1.187 GB, free: 1.301 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.003151/0.3051, allocations: 1.742 MB / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3054, allocations: 283.9 kB / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3054, allocations: 0 / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3055, allocations: 177.6 kB / 1.189 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3059, allocations: 30.31 kB / 1.189 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008649/0.3145, allocations: 7.168 MB / 1.196 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3149, allocations: 0.8158 MB / 1.197 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009358/0.3158, allocations: 450.6 kB / 1.198 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.3165, allocations: 375.2 kB / 1.198 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/0.3165, allocations: 4 kB / 1.198 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04846/0.3649, allocations: 25.76 MB / 1.223 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.225, allocations: 15.86 kB / 1.223 GB, free: 12.73 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=50 --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)