Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001491/0.001491, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001773/0.001773, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.916/1.916, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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.001471/0.001471, allocations: 71.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2118, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00237/0.2142, allocations: 1.256 MB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.2163, allocations: 1.535 MB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.2163, allocations: 0 / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.2163, allocations: 0 / 0.7875 GB, free: 308 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0002131/0.2166, allocations: 23.91 kB / 0.7875 GB, free: 284 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.0005731/0.2171, allocations: 214.6 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.2172, allocations: 23.92 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.2173, allocations: 7.984 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.2173, allocations: 15.94 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2174, allocations: 19.97 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2175, allocations: 0 / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3445/0.562, allocations: 166.4 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.5621, allocations: 7.344 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.5621, allocations: 12.75 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.5625, allocations: 155 kB / 0.7881 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5625, allocations: 0.5625 kB / 0.7881 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.517e-06/0.5625, allocations: 0 / 0.7881 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.5625, allocations: 0.5625 kB / 0.7881 GB, free: 46.64 MB / 0.6544 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.0003954/0.5629, allocations: 368.7 kB / 0.7885 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.563, allocations: 12.09 kB / 0.7885 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.5631, allocations: 79.53 kB / 0.7886 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.5632, allocations: 239.6 kB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.5632, allocations: 156.7 kB / 0.789 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.5633, allocations: 155.1 kB / 0.7891 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.302e-05/0.5634, allocations: 115 kB / 0.7892 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.5634, allocations: 75.28 kB / 0.7893 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.5634, allocations: 153.6 kB / 0.7894 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.5635, allocations: 150.6 kB / 0.7896 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.5635, allocations: 153.8 kB / 0.7897 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.5638, allocations: 458.2 kB / 0.7902 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.5638, allocations: 171.4 kB / 0.7903 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.5639, allocations: 80.14 kB / 0.7904 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.5639, allocations: 80.77 kB / 0.7905 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5639, allocations: 112.7 kB / 0.7906 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.5639, allocations: 0 / 0.7906 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.943e-05/0.564, allocations: 31.48 kB / 0.7906 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.5641, allocations: 133.1 kB / 0.7907 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.5642, allocations: 99.48 kB / 0.7908 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.5642, allocations: 28.89 kB / 0.7909 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.5642, allocations: 86.92 kB / 0.7909 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.5642, allocations: 0.5938 kB / 0.7909 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.5643, allocations: 22.97 kB / 0.791 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.5643, allocations: 313.9 kB / 0.7913 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.5644, allocations: 9.5 kB / 0.7913 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.5644, allocations: 27.56 kB / 0.7913 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.017e-05/0.5645, allocations: 26.77 kB / 0.7913 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5645, allocations: 0.5938 kB / 0.7913 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001305/0.5646, allocations: 59.55 kB / 0.7914 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5646, allocations: 6.188 kB / 0.7914 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5646, allocations: 2.656 kB / 0.7914 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5647, allocations: 3.422 kB / 0.7914 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.5647, allocations: 5.25 kB / 0.7914 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5647, allocations: 0 / 0.7914 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5649, allocations: 11.03 kB / 0.7914 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.5649, allocations: 4.781 kB / 0.7914 GB, free: 43.3 MB / 0.6544 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.891e-05/0.565, allocations: 186 kB / 0.7916 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.565, allocations: 110.2 kB / 0.7917 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.5651, allocations: 116.4 kB / 0.7918 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.5651, allocations: 178.8 kB / 0.792 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/0.5651, allocations: 182 kB / 0.7922 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.5652, allocations: 180 kB / 0.7923 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.5653, allocations: 407.6 kB / 0.7927 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.5653, allocations: 101 kB / 0.7928 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.5654, allocations: 108.6 kB / 0.7929 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.822e-05/0.5654, allocations: 190.9 kB / 0.7931 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.5654, allocations: 176.3 kB / 0.7933 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-05/0.5655, allocations: 182 kB / 0.7934 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.753e-05/0.5655, allocations: 179.8 kB / 0.7936 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.793e-05/0.5656, allocations: 307.2 kB / 0.7939 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.5656, allocations: 188.8 kB / 0.7941 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.5657, allocations: 187.3 kB / 0.7943 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.5657, allocations: 106.4 kB / 0.7944 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.5658, allocations: 183.4 kB / 0.7945 GB, free: 40 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.5658, allocations: 104.2 kB / 0.7946 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.499e-05/0.5658, allocations: 86.61 kB / 0.7947 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5658, allocations: 0 / 0.7947 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000321/0.5661, allocations: 56.53 kB / 0.7948 GB, free: 39.81 MB / 0.6544 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.0005973/0.5668, allocations: 353.2 kB / 0.7951 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.5669, allocations: 14.16 kB / 0.7951 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5669, allocations: 2.75 kB / 0.7951 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.5669, allocations: 1.406 kB / 0.7951 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.5672, allocations: 455.9 kB / 0.7956 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.5674, allocations: 177.3 kB / 0.7957 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.5676, allocations: 0.672 MB / 0.7964 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.5676, allocations: 5.391 kB / 0.7964 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.5677, allocations: 9.75 kB / 0.7964 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5677, allocations: 0 / 0.7964 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.00477/0.5724, allocations: 1.73 MB / 0.7981 GB, free: 38.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)