Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.67/1.67, allocations: 287.5 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 186 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 0.6298 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007567/0.0007567, allocations: 91.75 kB / 0.7432 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005739/0.0005741, allocations: 11.98 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2369, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001133/0.2381, allocations: 0.9782 MB / 0.9796 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2398, allocations: 1.439 MB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.2399, allocations: 0 / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.2399, allocations: 7.875 kB / 0.981 GB, free: 25.72 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0001918/0.2401, allocations: 11.98 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.0005246/0.2406, allocations: 192.3 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.36e-05/0.2407, allocations: 19.92 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.2407, allocations: 7.984 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.2408, allocations: 8 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.2409, allocations: 22.41 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2409, allocations: 0 / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.2411, allocations: 139.8 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.2411, allocations: 7.984 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.2411, allocations: 29.7 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2413, allocations: 111.8 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2413, allocations: 0 / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2413, allocations: 0 / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.2413, allocations: 0 / 0.9816 GB, free: 25.18 MB / 0.6198 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.0002453/0.2416, allocations: 359.8 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2416, allocations: 8.031 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.2417, allocations: 88.11 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.2418, allocations: 239.6 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.2418, allocations: 162.9 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.2418, allocations: 158.7 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.075e-05/0.2419, allocations: 101 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2419, allocations: 75.28 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2419, allocations: 150.6 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.2419, allocations: 158.6 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.242, allocations: 150.6 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.2422, allocations: 457.9 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.387e-05/0.2422, allocations: 173.1 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.2422, allocations: 88.08 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2422, allocations: 75.28 kB / 0.9839 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2423, allocations: 109.9 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2423, allocations: 0 / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.05e-05/0.2423, allocations: 33.64 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.2424, allocations: 130.7 kB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.2425, allocations: 105.8 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2425, allocations: 29.7 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.2425, allocations: 84.14 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.2425, allocations: 0 / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.2425, allocations: 0 / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.2426, allocations: 310.8 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.2426, allocations: 4 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.2426, allocations: 30.55 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.2427, allocations: 34.45 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2427, allocations: 0 / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.2428, allocations: 61.47 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2428, allocations: 4 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2428, allocations: 0 / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2428, allocations: 0 / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.2429, allocations: 12.09 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2429, allocations: 3.984 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.243, allocations: 4.25 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2431, allocations: 4 kB / 0.9848 GB, free: 21.61 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.2431, allocations: 193 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.2432, allocations: 116.9 kB / 0.9851 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/0.2432, allocations: 108.1 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.2432, allocations: 184.2 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/0.2432, allocations: 176.3 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.2433, allocations: 180.3 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.2434, allocations: 409.1 kB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.2434, allocations: 105 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.2434, allocations: 112.9 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/0.2435, allocations: 180.2 kB / 0.9865 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.2435, allocations: 180.2 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.43e-05/0.2435, allocations: 184.3 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-05/0.2436, allocations: 176.3 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.242e-05/0.2436, allocations: 315.7 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.2437, allocations: 186 kB / 0.9875 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.2437, allocations: 176.3 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.2438, allocations: 109 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.2438, allocations: 180.2 kB / 0.988 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2438, allocations: 105 kB / 0.9881 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.2438, allocations: 83.28 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2439, allocations: 0 / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002862/0.2441, allocations: 59.92 kB / 0.9882 GB, free: 17.94 MB / 0.6198 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 (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.0004438/0.2446, allocations: 349.7 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.927e-05/0.2447, allocations: 19.92 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2447, allocations: 0 / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.2447, allocations: 4.188 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.245, allocations: 0.5185 MB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.2451, allocations: 189.7 kB / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.681e-05/0.2452, allocations: 0.6692 MB / 0.9899 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.2453, allocations: 15.92 kB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.2453, allocations: 7.438 kB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2453, allocations: 0 / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003349/0.2486, allocations: 1.672 MB / 0.9915 GB, free: 14.5 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)