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 2.613/2.613, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001438/0.001438, allocations: 189.8 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.00104/0.00104, allocations: 88.47 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007066/0.0007068, allocations: 12.84 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2384, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001517/0.24, allocations: 0.9859 MB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2427, allocations: 1.438 MB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.2428, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.2429, allocations: 0 / 0.9807 GB, free: 25.89 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.0002522/0.2431, allocations: 19.91 kB / 0.9807 GB, free: 25.87 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.0008893/0.244, allocations: 186.5 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.2441, allocations: 19.92 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.2442, allocations: 4 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2443, allocations: 19.91 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.2444, allocations: 8 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2444, allocations: 0 / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.2448, allocations: 147.8 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2449, allocations: 4 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2449, allocations: 29.64 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.2451, allocations: 111.8 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.2452, allocations: 3.938 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2452, allocations: 0 / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2452, allocations: 0 / 0.9813 GB, free: 25.34 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.0003565/0.2456, allocations: 366.1 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2456, allocations: 12.02 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.2457, allocations: 83.19 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2458, allocations: 250.3 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.2459, allocations: 154.6 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.2459, allocations: 154.6 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.249e-05/0.246, allocations: 101 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.246, allocations: 75.28 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.2461, allocations: 154.5 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.2461, allocations: 158.6 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.2462, allocations: 150.6 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.2465, allocations: 457.9 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.666e-05/0.2465, allocations: 165.1 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.2466, allocations: 80.14 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2466, allocations: 83.22 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.2466, allocations: 113.8 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/0.2467, allocations: 0 / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.018e-05/0.2468, allocations: 29.7 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2468, allocations: 126.7 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2469, allocations: 105.8 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2469, allocations: 29.7 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.247, allocations: 84.14 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.247, allocations: 0 / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.247, allocations: 0 / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.2471, allocations: 318.8 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.2471, allocations: 0 / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.2472, allocations: 30.5 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.2472, allocations: 12 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2473, allocations: 3.938 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001529/0.2474, allocations: 49.53 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2474, allocations: 8 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2475, allocations: 0 / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2475, allocations: 0 / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.2476, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2476, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.2479, allocations: 16.08 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2479, allocations: 0 / 0.9845 GB, free: 21.8 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 8.11e-05/0.248, allocations: 193 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.248, allocations: 104.9 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.2481, allocations: 116 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.923e-05/0.2481, allocations: 184.2 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-05/0.2482, allocations: 180.3 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/0.2482, allocations: 176.5 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2484, allocations: 413.1 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/0.2485, allocations: 109 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.2485, allocations: 105.1 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.702e-05/0.2485, allocations: 184.3 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.2486, allocations: 184.2 kB / 0.9863 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.581e-05/0.2486, allocations: 180.2 kB / 0.9865 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-05/0.2487, allocations: 180.3 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.2488, allocations: 312 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.2489, allocations: 190.1 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.2489, allocations: 180.2 kB / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.249, allocations: 101 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.2491, allocations: 180.2 kB / 0.9876 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.2491, allocations: 109 kB / 0.9877 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.2492, allocations: 87.28 kB / 0.9878 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2492, allocations: 0 / 0.9878 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004703/0.2496, allocations: 59.92 kB / 0.9878 GB, free: 18.13 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.0008331/0.2505, allocations: 343.6 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.2506, allocations: 11.94 kB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2507, allocations: 4 kB / 0.9882 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.2507, allocations: 0 / 0.9882 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.251, allocations: 0.5264 MB / 0.9887 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.2513, allocations: 181.8 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.2515, allocations: 0.677 MB / 0.9895 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.2515, allocations: 0 / 0.9895 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.2516, allocations: 15.44 kB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.433e-06/0.2516, allocations: 4 kB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.005804/0.2574, allocations: 1.649 MB / 0.9912 GB, free: 14.72 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)