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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009876, allocations: 179.3 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 86.34 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 13.8 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1894, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001183/0.1906, allocations: 0.9942 MB / 0.8977 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1923, allocations: 1.54 MB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.1924, allocations: 0 / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.1924, allocations: 0 / 0.8992 GB, free: 65.66 MB / 0.6042 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.0001881/0.1926, allocations: 7.938 kB / 0.8992 GB, free: 65.66 MB / 0.6042 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.0004843/0.1931, allocations: 204.7 kB / 0.8994 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.1932, allocations: 23.91 kB / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.1932, allocations: 0 / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.1933, allocations: 12 kB / 0.8995 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1934, allocations: 15.91 kB / 0.8995 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1934, allocations: 7.938 kB / 0.8995 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1936, allocations: 159.9 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.1936, allocations: 7.922 kB / 0.8996 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.1937, allocations: 8 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1938, allocations: 108 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1938, allocations: 0 / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1938, allocations: 0 / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1938, allocations: 0 / 0.8997 GB, free: 65.12 MB / 0.6042 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.0002551/0.1941, allocations: 359.5 kB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1941, allocations: 8.031 kB / 0.9001 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1942, allocations: 80.22 kB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1943, allocations: 251.6 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1943, allocations: 154.9 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1944, allocations: 154.7 kB / 0.9007 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.808e-05/0.1944, allocations: 101 kB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1944, allocations: 75.28 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1945, allocations: 162.6 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.1945, allocations: 158.5 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.1945, allocations: 150.6 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1947, allocations: 449.9 kB / 0.9018 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.1947, allocations: 169.1 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.1948, allocations: 84.08 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.1948, allocations: 83.2 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.1948, allocations: 113.8 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1948, allocations: 0 / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.14e-05/0.1949, allocations: 29.61 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.1949, allocations: 130.7 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.195, allocations: 105.8 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.195, allocations: 25.7 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.195, allocations: 84.14 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.195, allocations: 0 / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.1951, allocations: 13.72 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.1951, allocations: 310.8 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.1951, allocations: 7.938 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.1952, allocations: 42.42 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.1952, allocations: 22.58 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1952, allocations: 0 / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001139/0.1953, allocations: 53.56 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1953, allocations: 8 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1954, allocations: 4.094 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1954, allocations: 0 / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.1954, allocations: 7.938 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1954, allocations: 3.984 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1956, allocations: 7.938 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1956, allocations: 4 kB / 0.903 GB, free: 61.53 MB / 0.6042 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 5.69e-05/0.1957, allocations: 189.1 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1957, allocations: 112.9 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.1957, allocations: 108 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.1958, allocations: 180.3 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/0.1958, allocations: 180.3 kB / 0.9037 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.1958, allocations: 180.2 kB / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.1959, allocations: 405.2 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.196, allocations: 113.2 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.196, allocations: 109 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.12e-05/0.196, allocations: 180.3 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.196, allocations: 180.2 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.261e-05/0.1961, allocations: 180.3 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-05/0.1961, allocations: 184.2 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.1962, allocations: 315.8 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.1962, allocations: 182.1 kB / 0.9057 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.1962, allocations: 180.3 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.1963, allocations: 104.9 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1963, allocations: 188.2 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1964, allocations: 108.9 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.253e-05/0.1964, allocations: 79.28 kB / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1964, allocations: 0 / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000283/0.1967, allocations: 59.92 kB / 0.9064 GB, free: 57.86 MB / 0.6042 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.000484/0.1972, allocations: 352.7 kB / 0.9067 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.076e-05/0.1972, allocations: 16.11 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1973, allocations: 0 / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.1973, allocations: 0 / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.1975, allocations: 0.5301 MB / 0.9072 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.1977, allocations: 200.9 kB / 0.9074 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.1978, allocations: 0.6731 MB / 0.9081 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.1978, allocations: 11.44 kB / 0.9081 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1979, allocations: 0 / 0.9081 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.002628/0.2005, allocations: 1.69 MB / 0.9097 GB, free: 54.38 MB / 0.6042 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)