Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 288.4 MB / 303.4 MB, free: 8.082 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.001063/0.001064, allocations: 186.8 kB / 372 MB, free: 10.27 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.505/1.505, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009299/0.0009296, allocations: 93.02 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 12.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00121/0.2239, allocations: 0.9862 MB / 0.9805 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.2257, allocations: 1.434 MB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.2258, allocations: 0 / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.2258, allocations: 0 / 0.9819 GB, free: 25.23 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0002213/0.2261, allocations: 19.91 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0006829/0.2268, allocations: 193.1 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.2268, allocations: 19.92 kB / 0.9822 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.2269, allocations: 4 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.227, allocations: 23.91 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.2271, allocations: 4 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2271, allocations: 0 / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.2274, allocations: 147.8 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.2274, allocations: 7.938 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.2274, allocations: 29.7 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.2276, allocations: 107.8 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.2277, allocations: 0 / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2277, allocations: 3.984 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2277, allocations: 0 / 0.9825 GB, free: 24.68 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.0003059/0.228, allocations: 359.6 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.228, allocations: 12.02 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.2281, allocations: 87.19 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2282, allocations: 246.3 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.2282, allocations: 154.6 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.2283, allocations: 154.6 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.087e-05/0.2283, allocations: 101 kB / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2284, allocations: 79.22 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.2284, allocations: 154.6 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.2284, allocations: 158.6 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.2285, allocations: 150.6 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.2287, allocations: 453.9 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.2287, allocations: 165.1 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.2288, allocations: 88.08 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2288, allocations: 79.27 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2288, allocations: 117.8 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.2288, allocations: 0 / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.619e-05/0.2289, allocations: 25.7 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2289, allocations: 126.7 kB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.229, allocations: 109.8 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.229, allocations: 25.7 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.2291, allocations: 84.14 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2291, allocations: 0 / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.2291, allocations: 7.938 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/0.2291, allocations: 314.8 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.2292, allocations: 7.875 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.2292, allocations: 30.56 kB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.2293, allocations: 8 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2293, allocations: 0 / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001202/0.2294, allocations: 53.53 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2294, allocations: 8 kB / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2294, allocations: 0 / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2294, allocations: 0 / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.2295, allocations: 4 kB / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2295, allocations: 4.094 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.2297, allocations: 7.984 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2297, allocations: 4 kB / 0.9857 GB, free: 21.13 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.109e-05/0.2298, allocations: 198.5 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.2299, allocations: 104.9 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.2299, allocations: 108.1 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.2299, allocations: 188.2 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-05/0.23, allocations: 176.3 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/0.23, allocations: 176.3 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2301, allocations: 413.1 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.2302, allocations: 101.3 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.2302, allocations: 112.9 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-05/0.2302, allocations: 184.3 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2303, allocations: 184.2 kB / 0.9876 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.158e-05/0.2303, allocations: 180.2 kB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.154e-05/0.2303, allocations: 176.3 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.499e-05/0.2304, allocations: 312 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.2305, allocations: 194 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.2305, allocations: 176.3 kB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.367e-05/0.2306, allocations: 101 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.2306, allocations: 180.2 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.2307, allocations: 109 kB / 0.9889 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.2307, allocations: 87.28 kB / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2307, allocations: 0 / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003049/0.231, allocations: 59.92 kB / 0.9891 GB, free: 17.47 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.0005203/0.2315, allocations: 350 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.2316, allocations: 15.94 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2317, allocations: 0 / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.2317, allocations: 0 / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2319, allocations: 0.5226 MB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.2321, allocations: 191.1 kB / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2323, allocations: 0.6692 MB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.2323, allocations: 4 kB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.2323, allocations: 11.44 kB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2323, allocations: 0 / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.003619/0.2359, allocations: 1.657 MB / 0.9924 GB, free: 14.07 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)