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.1635/0.1653, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002514/0.1679, allocations: 1.329 MB / 0.591 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.17, allocations: 1.535 MB / 0.5925 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.1701, allocations: 0 / 0.5925 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.1701, allocations: 3.938 kB / 0.5925 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.537e-05/0.1702, allocations: 4 kB / 0.5925 GB, free: 4.234 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.0008353/0.171, allocations: 227.3 kB / 0.5927 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.1711, allocations: 19.98 kB / 0.5927 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.1711, allocations: 0 / 0.5927 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.1712, allocations: 15.92 kB / 0.5927 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.856e-05/0.1713, allocations: 8 kB / 0.5927 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1713, allocations: 0 / 0.5927 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.1716, allocations: 175.8 kB / 0.5929 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.1716, allocations: 11.98 kB / 0.5929 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.1716, allocations: 15.92 kB / 0.5929 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.1719, allocations: 163.7 kB / 0.5931 GB, free: 3.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1719, allocations: 0 / 0.5931 GB, free: 3.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.1719, allocations: 3.984 kB / 0.5931 GB, free: 3.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.172, allocations: 0 / 0.5931 GB, free: 3.609 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.0003831/0.1723, allocations: 371.7 kB / 0.5935 GB, free: 3.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1724, allocations: 8.031 kB / 0.5935 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.1725, allocations: 80.2 kB / 0.5935 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1726, allocations: 243.7 kB / 0.5938 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.1727, allocations: 154.5 kB / 0.5939 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.1728, allocations: 162.5 kB / 0.5941 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.131e-05/0.1729, allocations: 101 kB / 0.5942 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.1729, allocations: 75.28 kB / 0.5942 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.173, allocations: 154.6 kB / 0.5944 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.173, allocations: 154.5 kB / 0.5945 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.1731, allocations: 150.6 kB / 0.5947 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.1734, allocations: 453.9 kB / 0.5951 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.1734, allocations: 177.1 kB / 0.5953 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.1735, allocations: 84.12 kB / 0.5954 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1735, allocations: 79.28 kB / 0.5954 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.1736, allocations: 105.8 kB / 0.5955 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1736, allocations: 0 / 0.5955 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.912e-05/0.1736, allocations: 29.69 kB / 0.5956 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1737, allocations: 134.6 kB / 0.5957 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1738, allocations: 105.8 kB / 0.5958 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1738, allocations: 25.7 kB / 0.5958 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1739, allocations: 80.14 kB / 0.5959 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-06/0.1739, allocations: 0 / 0.5959 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1739, allocations: 25.7 kB / 0.5959 GB, free: 0.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.174, allocations: 310.8 kB / 0.5962 GB, free: 192 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.1741, allocations: 0 / 0.5962 GB, free: 192 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.1741, allocations: 34.56 kB / 0.5962 GB, free: 148 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.1742, allocations: 26.45 kB / 0.5963 GB, free: 112 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1742, allocations: 0 / 0.5963 GB, free: 112 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001156/0.1743, allocations: 49.62 kB / 0.5963 GB, free: 56 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1743, allocations: 8 kB / 0.5963 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1743, allocations: 4.094 kB / 0.5963 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1743, allocations: 4 kB / 0.5963 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.1744, allocations: 4 kB / 0.5963 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1744, allocations: 4 kB / 0.5963 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1746, allocations: 11.89 kB / 0.5964 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1746, allocations: 4 kB / 0.5964 GB, free: 16 kB / 446.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 9.959e-05/0.1747, allocations: 189.9 kB / 0.5965 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.1747, allocations: 112.9 kB / 0.5966 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.1748, allocations: 108.1 kB / 0.5967 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.479e-05/0.1749, allocations: 180.3 kB / 0.5969 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.952e-05/0.1749, allocations: 180.2 kB / 0.5971 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-05/0.175, allocations: 180.3 kB / 0.5973 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1752, allocations: 409.1 kB / 0.5977 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/0.1752, allocations: 109 kB / 0.5978 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1752, allocations: 108.9 kB / 0.5979 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.459e-05/0.1753, allocations: 180.4 kB / 0.598 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.1754, allocations: 180.3 kB / 0.5982 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.057e-05/0.1754, allocations: 184.2 kB / 0.5984 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.246e-05/0.1755, allocations: 180.3 kB / 0.5986 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.1756, allocations: 311.7 kB / 0.5989 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1757, allocations: 178.1 kB / 0.599 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.1757, allocations: 184.2 kB / 0.5992 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.1758, allocations: 101 kB / 0.5993 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.1759, allocations: 188.2 kB / 0.5995 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.1759, allocations: 109 kB / 0.5996 GB, free: 12.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.038e-05/0.1759, allocations: 75.28 kB / 0.5996 GB, free: 12.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1759, allocations: 0 / 0.5996 GB, free: 12.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.1763, allocations: 59.92 kB / 0.5997 GB, free: 12.36 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 (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.0005805/0.1769, allocations: 388.3 kB / 0.6001 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.907e-05/0.177, allocations: 15.94 kB / 0.6001 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.177, allocations: 0 / 0.6001 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.177, allocations: 0 / 0.6001 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1774, allocations: 0.5259 MB / 0.6006 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.1776, allocations: 175 kB / 0.6008 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.1779, allocations: 0.6692 MB / 0.6014 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.1779, allocations: 0 / 0.6014 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.1779, allocations: 15.42 kB / 0.6014 GB, free: 10.59 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1779, allocations: 7.875 kB / 0.6014 GB, free: 10.58 MB / 462.1 MB Notification: Performance of Templates: time 0.00428/0.1822, allocations: 1.825 MB / 0.6032 GB, free: 8.781 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (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)