Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001135/0.001135, allocations: 196.8 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6029/0.6029, allocations: 95.47 MB / 364.8 MB, free: 10.1 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 72.56 kB / 444.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3959, allocations: 69.08 MB / 0.5017 GB, free: 17.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002807/0.3987, allocations: 1.311 MB / 0.503 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.4017, allocations: 1.538 MB / 0.5045 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.4017, allocations: 4 kB / 0.5045 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.4018, allocations: 0 / 0.5045 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.4018, allocations: 7.922 kB / 0.5045 GB, free: 14.97 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource‘ contains a call to impure function ‘Modelica.Utilities.Files.fullPathName‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-86:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-41:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-41:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-40:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4029, allocations: 219.2 kB / 0.5047 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.4029, allocations: 16 kB / 0.5047 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.403, allocations: 3.984 kB / 0.5047 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.4031, allocations: 23.86 kB / 0.5047 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.4032, allocations: 0 / 0.5047 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4032, allocations: 4 kB / 0.5048 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.4035, allocations: 187.8 kB / 0.5049 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.4035, allocations: 0 / 0.5049 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.4036, allocations: 11.97 kB / 0.5049 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.4039, allocations: 167.7 kB / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4039, allocations: 0 / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4039, allocations: 0 / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4039, allocations: 0 / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003587/0.4043, allocations: 373.5 kB / 0.5055 GB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4043, allocations: 11.98 kB / 0.5055 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.4044, allocations: 84.22 kB / 0.5055 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.776e-05/0.4045, allocations: 239.7 kB / 0.5058 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.4046, allocations: 154.5 kB / 0.5059 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.4046, allocations: 154.6 kB / 0.5061 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.729e-05/0.4047, allocations: 104.9 kB / 0.5062 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4047, allocations: 75.28 kB / 0.5062 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.4047, allocations: 154.6 kB / 0.5064 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.4047, allocations: 154.6 kB / 0.5065 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.4048, allocations: 154.6 kB / 0.5067 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.405, allocations: 453.8 kB / 0.5071 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.4051, allocations: 177.1 kB / 0.5073 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.4051, allocations: 80.19 kB / 0.5074 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.4051, allocations: 79.28 kB / 0.5074 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4052, allocations: 109.8 kB / 0.5075 GB, free: 11.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4052, allocations: 3.938 kB / 0.5075 GB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.503e-05/0.4053, allocations: 33.7 kB / 0.5076 GB, free: 11.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.4053, allocations: 138.6 kB / 0.5077 GB, free: 11.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.4054, allocations: 93.86 kB / 0.5078 GB, free: 11.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4055, allocations: 25.7 kB / 0.5078 GB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.4055, allocations: 88.12 kB / 0.5079 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.4055, allocations: 0 / 0.5079 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.4056, allocations: 21.72 kB / 0.5079 GB, free: 11.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.4056, allocations: 310.8 kB / 0.5082 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.4056, allocations: 4 kB / 0.5082 GB, free: 10.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.4057, allocations: 30.56 kB / 0.5083 GB, free: 10.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.4058, allocations: 26.45 kB / 0.5083 GB, free: 10.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4058, allocations: 0 / 0.5083 GB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001479/0.4059, allocations: 53.72 kB / 0.5083 GB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.406, allocations: 8 kB / 0.5083 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.406, allocations: 336 / 0.5083 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.406, allocations: 4 kB / 0.5083 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.4061, allocations: 11.98 kB / 0.5084 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4061, allocations: 0 / 0.5084 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.4063, allocations: 7.906 kB / 0.5084 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4063, allocations: 4 kB / 0.5084 GB, free: 10.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.345e-05/0.4064, allocations: 189.1 kB / 0.5086 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.4065, allocations: 116.9 kB / 0.5087 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.4065, allocations: 108.1 kB / 0.5088 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.4066, allocations: 176.3 kB / 0.5089 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/0.4066, allocations: 180.2 kB / 0.5091 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.4066, allocations: 180.3 kB / 0.5093 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.4068, allocations: 413.1 kB / 0.5097 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.4069, allocations: 101 kB / 0.5098 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.885e-05/0.4069, allocations: 101 kB / 0.5099 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.681e-05/0.4069, allocations: 192.2 kB / 0.51 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.407, allocations: 176.3 kB / 0.5102 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-05/0.407, allocations: 180.2 kB / 0.5104 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-05/0.407, allocations: 180.3 kB / 0.5106 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.427e-05/0.4071, allocations: 315.7 kB / 0.5109 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.4072, allocations: 182.3 kB / 0.511 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.4072, allocations: 184.1 kB / 0.5112 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.4073, allocations: 105 kB / 0.5113 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.4074, allocations: 188.2 kB / 0.5115 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.4074, allocations: 105 kB / 0.5116 GB, free: 7.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.4074, allocations: 79.28 kB / 0.5117 GB, free: 7.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4075, allocations: 0 / 0.5117 GB, free: 7.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.408, allocations: 59.98 kB / 0.5117 GB, free: 7.094 MB / 382.1 MB 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007239/0.4087, allocations: 380.4 kB / 0.5121 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.4088, allocations: 11.88 kB / 0.5121 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4089, allocations: 0 / 0.5121 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4089, allocations: 0 / 0.5121 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4093, allocations: 0.534 MB / 0.5126 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.4095, allocations: 163.3 kB / 0.5128 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.4097, allocations: 0.6692 MB / 0.5134 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.4097, allocations: 7.984 kB / 0.5134 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.4097, allocations: 11.38 kB / 0.5134 GB, free: 5.309 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4097, allocations: 0 / 0.5134 GB, free: 5.309 MB / 382.1 MB Notification: Performance of Templates: time 0.00553/0.4153, allocations: 1.851 MB / 0.5153 GB, free: 3.473 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)