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.1687/0.1695, allocations: 82.22 MB / 0.5941 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001249/0.1707, allocations: 0.9848 MB / 0.5951 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1727, allocations: 1.508 MB / 0.5965 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.1727, allocations: 0 / 0.5965 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.1728, allocations: 4 kB / 0.5966 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.1728, allocations: 7.922 kB / 0.5966 GB, free: 3.07 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.0007143/0.1735, allocations: 230.8 kB / 0.5968 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.1736, allocations: 19.94 kB / 0.5968 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1736, allocations: 0 / 0.5968 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.1737, allocations: 11.98 kB / 0.5968 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.1737, allocations: 15.92 kB / 0.5968 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1737, allocations: 0 / 0.5968 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.174, allocations: 179.9 kB / 0.597 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.174, allocations: 3.938 kB / 0.597 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.1741, allocations: 33.64 kB / 0.597 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1743, allocations: 171.7 kB / 0.5972 GB, free: 2.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1743, allocations: 0 / 0.5972 GB, free: 2.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1743, allocations: 0 / 0.5972 GB, free: 2.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1743, allocations: 0 / 0.5972 GB, free: 2.414 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.0003242/0.1747, allocations: 371.7 kB / 0.5976 GB, free: 2.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1747, allocations: 8.031 kB / 0.5976 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.1748, allocations: 76.22 kB / 0.5976 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1749, allocations: 239.7 kB / 0.5979 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.175, allocations: 154.5 kB / 0.598 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.175, allocations: 158.6 kB / 0.5982 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.786e-05/0.1751, allocations: 108.9 kB / 0.5983 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.1751, allocations: 79.28 kB / 0.5983 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.1752, allocations: 150.6 kB / 0.5985 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.1752, allocations: 154.5 kB / 0.5986 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.1753, allocations: 150.6 kB / 0.5988 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.1756, allocations: 457.9 kB / 0.5992 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.1757, allocations: 173.1 kB / 0.5994 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.1757, allocations: 84.14 kB / 0.5995 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.1758, allocations: 75.28 kB / 0.5995 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1758, allocations: 105.8 kB / 0.5996 GB, free: 15.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1759, allocations: 0 / 0.5996 GB, free: 15.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 8.216e-05/0.1759, allocations: 37.64 kB / 0.5997 GB, free: 15.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.176, allocations: 126.7 kB / 0.5998 GB, free: 15.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.1761, allocations: 101.8 kB / 0.5999 GB, free: 15.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1761, allocations: 25.7 kB / 0.5999 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.1761, allocations: 80.14 kB / 0.6 GB, free: 15.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.1762, allocations: 0 / 0.6 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.1762, allocations: 17.66 kB / 0.6 GB, free: 15.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.1763, allocations: 314.8 kB / 0.6003 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.1763, allocations: 4 kB / 0.6003 GB, free: 15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/0.1763, allocations: 26.56 kB / 0.6003 GB, free: 14.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.1764, allocations: 26.52 kB / 0.6004 GB, free: 14.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1764, allocations: 0 / 0.6004 GB, free: 14.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001106/0.1765, allocations: 53.62 kB / 0.6004 GB, free: 14.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1765, allocations: 11.94 kB / 0.6004 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1765, allocations: 0 / 0.6004 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1765, allocations: 0 / 0.6004 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.1766, allocations: 7.984 kB / 0.6004 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1766, allocations: 4 kB / 0.6004 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.1768, allocations: 11.91 kB / 0.6004 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1768, allocations: 336 / 0.6004 GB, free: 14.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.1769, allocations: 198 kB / 0.6006 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.177, allocations: 105 kB / 0.6007 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.177, allocations: 108 kB / 0.6008 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.392e-05/0.1771, allocations: 184.2 kB / 0.601 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/0.1771, allocations: 180.2 kB / 0.6012 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.478e-05/0.1772, allocations: 176.3 kB / 0.6013 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.1774, allocations: 421.2 kB / 0.6017 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.1775, allocations: 104.9 kB / 0.6018 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.1775, allocations: 104.9 kB / 0.6019 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.336e-05/0.1776, allocations: 184.3 kB / 0.6021 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.1776, allocations: 180.3 kB / 0.6023 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-05/0.1777, allocations: 188.3 kB / 0.6025 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-05/0.1778, allocations: 180.2 kB / 0.6026 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1779, allocations: 311.7 kB / 0.6029 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.178, allocations: 178.1 kB / 0.6031 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.178, allocations: 188.2 kB / 0.6033 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.1781, allocations: 101 kB / 0.6034 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.1782, allocations: 180.2 kB / 0.6036 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.1782, allocations: 104.9 kB / 0.6037 GB, free: 11.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.1783, allocations: 83.28 kB / 0.6037 GB, free: 11.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1783, allocations: 0 / 0.6037 GB, free: 11.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1786, allocations: 59.92 kB / 0.6038 GB, free: 11.17 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.0006242/0.1792, allocations: 384.7 kB / 0.6042 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.761e-05/0.1793, allocations: 8 kB / 0.6042 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1793, allocations: 0 / 0.6042 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.1793, allocations: 3.938 kB / 0.6042 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1797, allocations: 0.5226 MB / 0.6047 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.18, allocations: 174 kB / 0.6049 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1803, allocations: 0.677 MB / 0.6055 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.986e-05/0.1803, allocations: 3.938 kB / 0.6055 GB, free: 9.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1803, allocations: 11.44 kB / 0.6055 GB, free: 9.398 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1803, allocations: 0 / 0.6055 GB, free: 9.398 MB / 462.1 MB Notification: Performance of Templates: time 0.004678/0.185, allocations: 1.835 MB / 0.6073 GB, free: 7.602 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: