Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2022/0.203, allocations: 82.21 MB / 0.5935 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001564/0.2046, allocations: 0.9761 MB / 0.5944 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2069, allocations: 1.45 MB / 0.5958 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.207, allocations: 4 kB / 0.5958 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.207, allocations: 0 / 0.5958 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.2071, allocations: 3.938 kB / 0.5958 GB, free: 3.504 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 3.0.0/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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46: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.001111/0.2082, allocations: 230.9 kB / 0.5961 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.2083, allocations: 19.92 kB / 0.5961 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.2083, allocations: 0 / 0.5961 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.2084, allocations: 15.92 kB / 0.5961 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.2085, allocations: 8 kB / 0.5961 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.2085, allocations: 0 / 0.5961 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.2088, allocations: 171.8 kB / 0.5963 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.2089, allocations: 0 / 0.5963 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.2089, allocations: 29.7 kB / 0.5963 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.2091, allocations: 115.8 kB / 0.5964 GB, free: 2.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2091, allocations: 4 kB / 0.5964 GB, free: 2.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2091, allocations: 0 / 0.5964 GB, free: 2.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2092, allocations: 0 / 0.5964 GB, free: 2.918 MB / 446.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.0003954/0.2096, allocations: 359.5 kB / 0.5968 GB, free: 2.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2096, allocations: 8.031 kB / 0.5968 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.2097, allocations: 79.28 kB / 0.5968 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2099, allocations: 238.3 kB / 0.5971 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.2099, allocations: 166.4 kB / 0.5972 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.21, allocations: 158.5 kB / 0.5974 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.471e-05/0.2101, allocations: 101 kB / 0.5975 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.2101, allocations: 75.28 kB / 0.5975 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.2102, allocations: 150.6 kB / 0.5977 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.2102, allocations: 150.6 kB / 0.5978 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.2103, allocations: 154.6 kB / 0.598 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.2107, allocations: 453.9 kB / 0.5984 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.2108, allocations: 173.1 kB / 0.5986 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.2108, allocations: 80.14 kB / 0.5986 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.2109, allocations: 83.23 kB / 0.5987 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.2109, allocations: 105.8 kB / 0.5988 GB, free: 268 kB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.2109, allocations: 0 / 0.5988 GB, free: 268 kB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.431e-05/0.211, allocations: 33.64 kB / 0.5989 GB, free: 228 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.2111, allocations: 126.7 kB / 0.599 GB, free: 88 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.2113, allocations: 101.8 kB / 0.5991 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2113, allocations: 25.7 kB / 0.5991 GB, free: 15.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.2114, allocations: 84.14 kB / 0.5992 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.2114, allocations: 0 / 0.5992 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.2114, allocations: 4 kB / 0.5992 GB, free: 15.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2115, allocations: 318.8 kB / 0.5995 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.2115, allocations: 3.984 kB / 0.5995 GB, free: 15.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.2116, allocations: 26.58 kB / 0.5995 GB, free: 15.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.2116, allocations: 4 kB / 0.5995 GB, free: 15.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2116, allocations: 0 / 0.5995 GB, free: 15.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001455/0.2118, allocations: 53.62 kB / 0.5996 GB, free: 15.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2118, allocations: 7.953 kB / 0.5996 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2118, allocations: 0 / 0.5996 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2118, allocations: 0 / 0.5996 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.2119, allocations: 11.94 kB / 0.5996 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.212, allocations: 3.984 kB / 0.5996 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.2121, allocations: 12 kB / 0.5996 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2122, allocations: 4 kB / 0.5996 GB, free: 15.39 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.2123, allocations: 182 kB / 0.5998 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.2124, allocations: 109 kB / 0.5999 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.2124, allocations: 116 kB / 0.6 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-05/0.2125, allocations: 180.5 kB / 0.6002 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.617e-05/0.2126, allocations: 180.3 kB / 0.6003 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.2126, allocations: 180.2 kB / 0.6005 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.2129, allocations: 413.2 kB / 0.6009 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.515e-05/0.213, allocations: 104.9 kB / 0.601 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.213, allocations: 101 kB / 0.6011 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.2131, allocations: 188.2 kB / 0.6013 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.2132, allocations: 180.4 kB / 0.6015 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-05/0.2133, allocations: 188.2 kB / 0.6016 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.176e-05/0.2134, allocations: 184.2 kB / 0.6018 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.2136, allocations: 303.8 kB / 0.6021 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2137, allocations: 190.1 kB / 0.6023 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2138, allocations: 176.3 kB / 0.6025 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.2139, allocations: 104.9 kB / 0.6026 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.214, allocations: 184.2 kB / 0.6027 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.214, allocations: 108.9 kB / 0.6028 GB, free: 11.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.2141, allocations: 75.28 kB / 0.6029 GB, free: 11.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2141, allocations: 4 kB / 0.6029 GB, free: 11.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.2146, allocations: 67.92 kB / 0.603 GB, free: 11.73 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008374/0.2154, allocations: 386.3 kB / 0.6033 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.2155, allocations: 8 kB / 0.6034 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2155, allocations: 0 / 0.6034 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.2156, allocations: 3.938 kB / 0.6034 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.216, allocations: 0.5187 MB / 0.6039 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.2162, allocations: 170 kB / 0.604 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.2165, allocations: 0.677 MB / 0.6047 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.097e-05/0.2166, allocations: 0 / 0.6047 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.2166, allocations: 15.44 kB / 0.6047 GB, free: 9.957 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2166, allocations: 0 / 0.6047 GB, free: 9.957 MB / 462.1 MB Notification: Performance of Templates: time 0.004761/0.2214, allocations: 1.774 MB / 0.6064 GB, free: 8.223 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) Environment - environmentSimulation: