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.001339/0.001339, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00147/0.00147, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.508/1.508, allocations: 205.1 MB / 222.1 MB, free: 4.652 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.588/1.588, allocations: 251.6 MB / 0.5089 GB, free: 3.301 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.001485/0.001485, allocations: 63.91 kB / 0.6217 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.605, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002691/0.6077, allocations: 1.33 MB / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.61, allocations: 1.506 MB / 0.7268 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.61, allocations: 0 / 0.7268 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.6101, allocations: 3.938 kB / 0.7268 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/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.0002647/0.6104, allocations: 19.98 kB / 0.7268 GB, free: 10.22 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.0006113/0.611, allocations: 206.3 kB / 0.727 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.611, allocations: 23.92 kB / 0.727 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.6111, allocations: 0 / 0.727 GB, free: 10 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.073e-05/0.6112, allocations: 19.97 kB / 0.727 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.6113, allocations: 15.94 kB / 0.727 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.6113, allocations: 0 / 0.727 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.6116, allocations: 159.8 kB / 0.7272 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.6116, allocations: 4 kB / 0.7272 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.6116, allocations: 7.938 kB / 0.7272 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.6119, allocations: 159.7 kB / 0.7274 GB, free: 9.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6119, allocations: 0 / 0.7274 GB, free: 9.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6119, allocations: 0 / 0.7274 GB, free: 9.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6119, allocations: 0 / 0.7274 GB, free: 9.641 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.0003982/0.6123, allocations: 373.4 kB / 0.7277 GB, free: 9.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6124, allocations: 15.97 kB / 0.7277 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.6124, allocations: 80.22 kB / 0.7278 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.6126, allocations: 243.7 kB / 0.728 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.6127, allocations: 150.9 kB / 0.7282 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.6127, allocations: 162.7 kB / 0.7283 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.756e-05/0.6128, allocations: 101 kB / 0.7284 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.6129, allocations: 83.22 kB / 0.7285 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.6129, allocations: 150.6 kB / 0.7287 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.613, allocations: 154.6 kB / 0.7288 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.613, allocations: 154.5 kB / 0.7289 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.6133, allocations: 457.8 kB / 0.7294 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/0.6134, allocations: 173.1 kB / 0.7295 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.6134, allocations: 84.08 kB / 0.7296 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.6135, allocations: 79.27 kB / 0.7297 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.6135, allocations: 113.9 kB / 0.7298 GB, free: 6.949 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.845e-06/0.6135, allocations: 0 / 0.7298 GB, free: 6.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.168e-05/0.6136, allocations: 41.53 kB / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.6137, allocations: 126.7 kB / 0.73 GB, free: 6.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.6138, allocations: 101.9 kB / 0.7301 GB, free: 6.656 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.6138, allocations: 29.69 kB / 0.7301 GB, free: 6.621 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.6138, allocations: 88.14 kB / 0.7302 GB, free: 6.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.6139, allocations: 0 / 0.7302 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.6139, allocations: 17.72 kB / 0.7302 GB, free: 6.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.614, allocations: 310.8 kB / 0.7305 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.614, allocations: 11.98 kB / 0.7305 GB, free: 6.184 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.6141, allocations: 22.58 kB / 0.7305 GB, free: 6.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.6141, allocations: 26.52 kB / 0.7306 GB, free: 6.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6141, allocations: 3.984 kB / 0.7306 GB, free: 6.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001257/0.6143, allocations: 53.58 kB / 0.7306 GB, free: 6.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6143, allocations: 6.031 kB / 0.7306 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6143, allocations: 4 kB / 0.7306 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6143, allocations: 0 / 0.7306 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.6144, allocations: 7.984 kB / 0.7306 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6144, allocations: 3.984 kB / 0.7306 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.6146, allocations: 4 kB / 0.7306 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.6146, allocations: 4 kB / 0.7306 GB, free: 6.027 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 9.352e-05/0.6147, allocations: 201.1 kB / 0.7308 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.6148, allocations: 108.8 kB / 0.7309 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.6148, allocations: 104.1 kB / 0.731 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/0.6149, allocations: 184.2 kB / 0.7312 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-05/0.6149, allocations: 176.3 kB / 0.7314 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.988e-05/0.615, allocations: 192.1 kB / 0.7316 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.6152, allocations: 405.2 kB / 0.7319 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/0.6153, allocations: 105.2 kB / 0.732 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.6153, allocations: 108.9 kB / 0.7321 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-05/0.6154, allocations: 184.3 kB / 0.7323 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.6155, allocations: 180.2 kB / 0.7325 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.396e-05/0.6155, allocations: 180.3 kB / 0.7327 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.276e-05/0.6156, allocations: 180.2 kB / 0.7328 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.6157, allocations: 316 kB / 0.7331 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.6158, allocations: 186 kB / 0.7333 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.6159, allocations: 180.2 kB / 0.7335 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.616, allocations: 112.9 kB / 0.7336 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.616, allocations: 180.3 kB / 0.7338 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.6161, allocations: 105 kB / 0.7339 GB, free: 2.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.6161, allocations: 79.28 kB / 0.7339 GB, free: 2.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6161, allocations: 0 / 0.7339 GB, free: 2.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003304/0.6165, allocations: 51.98 kB / 0.734 GB, free: 2.359 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.0005843/0.6171, allocations: 361.1 kB / 0.7343 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.608e-05/0.6172, allocations: 8 kB / 0.7343 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6172, allocations: 0 / 0.7343 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.6172, allocations: 0 / 0.7343 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.6175, allocations: 463.6 kB / 0.7348 GB, free: 1.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.6178, allocations: 181.5 kB / 0.735 GB, free: 1.367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.618, allocations: 0.669 MB / 0.7356 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.618, allocations: 4 kB / 0.7356 GB, free: 0.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.618, allocations: 7.438 kB / 0.7356 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6181, allocations: 3.938 kB / 0.7356 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of Templates: time 0.004131/0.6222, allocations: 1.748 MB / 0.7373 GB, free: 14.95 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)