Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.603/2.603, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 179.1 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 87.98 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007253/0.0007256, allocations: 11.41 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2241, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00154/0.2257, allocations: 0.9816 MB / 0.9005 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.2283, allocations: 1.442 MB / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.2284, allocations: 0 / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.2284, allocations: 0 / 0.9019 GB, free: 63.08 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0002414/0.2287, allocations: 15.94 kB / 0.9019 GB, free: 63.06 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.0008446/0.2295, allocations: 187.5 kB / 0.9021 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.2296, allocations: 27.91 kB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.2297, allocations: 4 kB / 0.9021 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.2298, allocations: 11.94 kB / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.2299, allocations: 19.91 kB / 0.9021 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2299, allocations: 4 kB / 0.9021 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.2303, allocations: 139.8 kB / 0.9023 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.2303, allocations: 11.91 kB / 0.9023 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.2303, allocations: 29.7 kB / 0.9023 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.2306, allocations: 99.81 kB / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2306, allocations: 0 / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2306, allocations: 0 / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2306, allocations: 4 kB / 0.9024 GB, free: 62.53 MB / 0.6042 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.0003268/0.2309, allocations: 363.4 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.231, allocations: 8.031 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.231, allocations: 80.22 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2312, allocations: 239.7 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.2312, allocations: 154.9 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.2313, allocations: 162.7 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.058e-05/0.2313, allocations: 112.9 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2314, allocations: 75.28 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2314, allocations: 158.5 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.2314, allocations: 150.6 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.2315, allocations: 150.6 kB / 0.904 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.2317, allocations: 462.2 kB / 0.9044 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.998e-05/0.2318, allocations: 169.1 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.2318, allocations: 84.08 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2318, allocations: 75.28 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.2319, allocations: 113.8 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.2319, allocations: 0 / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.078e-05/0.232, allocations: 29.7 kB / 0.9049 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.232, allocations: 51.41 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.2321, allocations: 109.8 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2321, allocations: 25.7 kB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.2322, allocations: 84.14 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.2322, allocations: 3.938 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.2322, allocations: 4 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.2323, allocations: 318.8 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.2323, allocations: 0 / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.972e-05/0.2324, allocations: 22.58 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.2324, allocations: 8 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2324, allocations: 0 / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001403/0.2326, allocations: 53.56 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2326, allocations: 8 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2326, allocations: 0 / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2326, allocations: 0 / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.2327, allocations: 7.984 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2328, allocations: 4 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.233, allocations: 11.94 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.233, allocations: 0 / 0.9056 GB, free: 59.07 MB / 0.6042 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 7.995e-05/0.2331, allocations: 197.1 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.2332, allocations: 104.9 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.2332, allocations: 112.1 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.584e-05/0.2333, allocations: 180.2 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.2333, allocations: 105.2 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.2334, allocations: 189.9 kB / 0.9064 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.2334, allocations: 188.3 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.2335, allocations: 101 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.2335, allocations: 184.2 kB / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.853e-05/0.2336, allocations: 259.5 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.634e-05/0.2337, allocations: 383.1 kB / 0.9075 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.131e-05/0.2337, allocations: 109.2 kB / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.733e-05/0.2338, allocations: 87.2 kB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of Backend: time 7.51e-07/0.2338, allocations: 0 / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.2349, allocations: 258 kB / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003818/0.2353, allocations: 0.9262 MB / 0.9088 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.005482/0.2408, allocations: 1.677 MB / 0.9104 GB, free: 53.94 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)