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.685/1.685, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.001434/0.001434, allocations: 166.1 kB / 372.9 MB, free: 10.16 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.718/1.718, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0007924/0.0007924, allocations: 110.3 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 16.2 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001268/0.2158, allocations: 0.9901 MB / 0.9817 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2176, allocations: 1.435 MB / 0.9831 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.2177, allocations: 0 / 0.9831 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.2177, allocations: 4 kB / 0.9831 GB, free: 24.9 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.0001988/0.2179, allocations: 23.86 kB / 0.9831 GB, free: 24.88 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.000481/0.2184, allocations: 191.1 kB / 0.9833 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.2184, allocations: 19.92 kB / 0.9833 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.2185, allocations: 3.984 kB / 0.9833 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.2186, allocations: 15.94 kB / 0.9834 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.2187, allocations: 15.97 kB / 0.9834 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.2187, allocations: 0 / 0.9834 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.2189, allocations: 143.8 kB / 0.9835 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.2189, allocations: 7.984 kB / 0.9835 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.219, allocations: 37.62 kB / 0.9835 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.2191, allocations: 99.81 kB / 0.9836 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2191, allocations: 8 kB / 0.9837 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2192, allocations: 0 / 0.9837 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.2192, allocations: 4 kB / 0.9837 GB, free: 24.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.0002443/0.2194, allocations: 359.7 kB / 0.984 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2195, allocations: 12.03 kB / 0.984 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.2195, allocations: 80.12 kB / 0.9841 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2196, allocations: 239.7 kB / 0.9843 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.2197, allocations: 162.9 kB / 0.9845 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.2197, allocations: 154.7 kB / 0.9846 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.379e-05/0.2198, allocations: 112.9 kB / 0.9847 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2198, allocations: 79.22 kB / 0.9848 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.2198, allocations: 154.5 kB / 0.9849 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.2198, allocations: 150.6 kB / 0.9851 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.2199, allocations: 154.6 kB / 0.9852 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.2201, allocations: 449.9 kB / 0.9857 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.432e-05/0.2201, allocations: 169.1 kB / 0.9858 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.2201, allocations: 92.08 kB / 0.9859 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.2201, allocations: 79.28 kB / 0.986 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.2202, allocations: 105.8 kB / 0.9861 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2202, allocations: 0 / 0.9861 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.302e-05/0.2202, allocations: 29.7 kB / 0.9861 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.451e-05/0.2203, allocations: 51.41 kB / 0.9862 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.2203, allocations: 101.8 kB / 0.9863 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2203, allocations: 25.7 kB / 0.9863 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.2204, allocations: 96.08 kB / 0.9864 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.2204, allocations: 0 / 0.9864 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.2204, allocations: 0 / 0.9864 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/0.2204, allocations: 314.8 kB / 0.9867 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.2205, allocations: 4 kB / 0.9867 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.2205, allocations: 26.52 kB / 0.9867 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.2205, allocations: 34.5 kB / 0.9867 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2205, allocations: 0 / 0.9867 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001078/0.2207, allocations: 53.48 kB / 0.9868 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2207, allocations: 4 kB / 0.9868 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2207, allocations: 0 / 0.9868 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2207, allocations: 7.984 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.2208, allocations: 4 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2208, allocations: 0 / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2209, allocations: 8.094 kB / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.2209, allocations: 7.984 kB / 0.9868 GB, free: 20.84 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 6.044e-05/0.221, allocations: 197 kB / 0.987 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.221, allocations: 108.9 kB / 0.9871 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.2211, allocations: 104.1 kB / 0.9872 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.2211, allocations: 176.3 kB / 0.9874 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.2211, allocations: 116.9 kB / 0.9875 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.2212, allocations: 182.1 kB / 0.9877 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.2212, allocations: 176.3 kB / 0.9878 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.2213, allocations: 112.9 kB / 0.9879 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.2213, allocations: 180.2 kB / 0.9881 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.593e-05/0.2213, allocations: 263.6 kB / 0.9884 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.268e-05/0.2214, allocations: 379.2 kB / 0.9887 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.947e-05/0.2214, allocations: 109 kB / 0.9888 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.242e-05/0.2215, allocations: 91.45 kB / 0.9889 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of Backend: time 2.1e-07/0.2215, allocations: 0 / 0.9889 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006932/0.2222, allocations: 278.1 kB / 0.9892 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002926/0.2225, allocations: 0.9227 MB / 0.9901 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.003384/0.2259, allocations: 1.714 MB / 0.9918 GB, free: 15.68 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)