Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001107/0.001107, 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.001285/0.001285, allocations: 196.7 kB / 16.14 MB, free: 6.656 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.639/1.639, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.723/1.723, allocations: 251.7 MB / 0.5088 GB, free: 3.277 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.91 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6766/0.6779, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002636/0.6806, allocations: 1.323 MB / 0.7251 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.683, allocations: 1.537 MB / 0.7266 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.6831, allocations: 4 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.6831, allocations: 0 / 0.7266 GB, free: 10.25 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.6833, allocations: 11.94 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105: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 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48: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 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48: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 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47: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.0005502/0.6839, allocations: 193.5 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.684, allocations: 23.92 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.684, allocations: 3.984 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.6841, allocations: 12 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.6842, allocations: 23.84 kB / 0.7269 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.6842, allocations: 3.938 kB / 0.7269 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.6845, allocations: 147.9 kB / 0.727 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.6845, allocations: 11.92 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.6845, allocations: 11.92 kB / 0.727 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.6848, allocations: 151.8 kB / 0.7272 GB, free: 9.676 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6848, allocations: 0 / 0.7272 GB, free: 9.676 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.61e-07/0.6848, allocations: 4 kB / 0.7272 GB, free: 9.672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6848, allocations: 0 / 0.7272 GB, free: 9.672 MB / 0.545 GB 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.0004025/0.6852, allocations: 373.5 kB / 0.7275 GB, free: 9.262 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6853, allocations: 8.031 kB / 0.7275 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.6854, allocations: 76.22 kB / 0.7276 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.6856, allocations: 243.6 kB / 0.7279 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.6856, allocations: 158.9 kB / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.6857, allocations: 158.7 kB / 0.7282 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.919e-05/0.6858, allocations: 104.9 kB / 0.7283 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.6858, allocations: 75.28 kB / 0.7283 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.6859, allocations: 150.6 kB / 0.7285 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/0.6859, allocations: 150.6 kB / 0.7286 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.686, allocations: 158.5 kB / 0.7288 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.6863, allocations: 457.9 kB / 0.7292 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.6864, allocations: 173.1 kB / 0.7294 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.6865, allocations: 88.12 kB / 0.7295 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.6865, allocations: 79.28 kB / 0.7295 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.6866, allocations: 105.8 kB / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.6866, allocations: 0 / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.846e-05/0.6867, allocations: 33.61 kB / 0.7297 GB, free: 6.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.6868, allocations: 126.7 kB / 0.7298 GB, free: 6.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.6869, allocations: 105.8 kB / 0.7299 GB, free: 6.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.6869, allocations: 33.7 kB / 0.7299 GB, free: 6.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.687, allocations: 84.08 kB / 0.73 GB, free: 6.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.687, allocations: 0 / 0.73 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.687, allocations: 25.7 kB / 0.73 GB, free: 6.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6872, allocations: 310.8 kB / 0.7303 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.6872, allocations: 4 kB / 0.7303 GB, free: 6.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.6873, allocations: 26.81 kB / 0.7303 GB, free: 6.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.6873, allocations: 22.58 kB / 0.7304 GB, free: 6.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6873, allocations: 11.94 kB / 0.7304 GB, free: 6.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001397/0.6875, allocations: 53.56 kB / 0.7304 GB, free: 6.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6875, allocations: 4 kB / 0.7304 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6875, allocations: 0 / 0.7304 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6875, allocations: 4 kB / 0.7304 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.6876, allocations: 8.094 kB / 0.7304 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6876, allocations: 3.938 kB / 0.7304 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.6878, allocations: 7.984 kB / 0.7305 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.6878, allocations: 8 kB / 0.7305 GB, free: 6.062 MB / 0.545 GB 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 0.0001163/0.6879, allocations: 181.1 kB / 0.7306 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.688, allocations: 116.8 kB / 0.7307 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.6881, allocations: 112 kB / 0.7309 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.6882, allocations: 184.3 kB / 0.731 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.202e-05/0.6883, allocations: 184.2 kB / 0.7312 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/0.6884, allocations: 176.3 kB / 0.7314 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.6887, allocations: 417.1 kB / 0.7318 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.215e-05/0.6887, allocations: 101 kB / 0.7319 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.6888, allocations: 105 kB / 0.732 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/0.6889, allocations: 180.3 kB / 0.7321 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.951e-05/0.689, allocations: 180.2 kB / 0.7323 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.422e-05/0.6891, allocations: 184.2 kB / 0.7325 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-05/0.6891, allocations: 176.3 kB / 0.7327 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.6893, allocations: 323.7 kB / 0.733 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.6894, allocations: 178.3 kB / 0.7331 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.6895, allocations: 184.2 kB / 0.7333 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.6896, allocations: 109 kB / 0.7334 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.6897, allocations: 176.3 kB / 0.7336 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.6897, allocations: 112.9 kB / 0.7337 GB, free: 2.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.6898, allocations: 79.28 kB / 0.7338 GB, free: 2.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6898, allocations: 0 / 0.7338 GB, free: 2.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004562/0.6903, allocations: 59.98 kB / 0.7338 GB, free: 2.395 MB / 0.545 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 (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.0005832/0.6908, allocations: 352.8 kB / 0.7342 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.691, allocations: 7.938 kB / 0.7342 GB, free: 2.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.691, allocations: 4 kB / 0.7342 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.691, allocations: 8.172 kB / 0.7342 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.6915, allocations: 0.5262 MB / 0.7347 GB, free: 1.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.6918, allocations: 163.2 kB / 0.7348 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.6922, allocations: 0.677 MB / 0.7355 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.6923, allocations: 8 kB / 0.7355 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.6923, allocations: 11.38 kB / 0.7355 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6923, allocations: 0 / 0.7355 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of Templates: time 0.004754/0.6971, allocations: 1.725 MB / 0.7372 GB, free: 14.94 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)