Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 103.5 kB / 16.29 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 187.3 kB / 17.22 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.6722 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2708, allocations: 114.6 MB / 0.7841 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002536/0.2733, allocations: 1.26 MB / 0.7853 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.2756, allocations: 1.523 MB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.2756, allocations: 4 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.2757, allocations: 7.922 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0002307/0.2759, allocations: 15.92 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.0005833/0.2765, allocations: 218.8 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.2766, allocations: 23.88 kB / 0.7871 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.2766, allocations: 3.984 kB / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.2767, allocations: 23.92 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.2768, allocations: 11.98 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2768, allocations: 0 / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.2771, allocations: 183.7 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.2772, allocations: 3.984 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.2772, allocations: 4 kB / 0.7873 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.2774, allocations: 155.7 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.2775, allocations: 4 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2775, allocations: 0 / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2775, allocations: 0 / 0.7874 GB, free: 480 kB / 0.6544 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.0004066/0.2779, allocations: 375.7 kB / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2779, allocations: 8.031 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4995/0.7774, allocations: 88.06 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.7777, allocations: 235.7 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.7777, allocations: 152.5 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.7778, allocations: 157.8 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.869e-05/0.7778, allocations: 105.2 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.7778, allocations: 75.88 kB / 0.7886 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.7779, allocations: 155.5 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.7779, allocations: 156.5 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.7779, allocations: 152.4 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.7782, allocations: 453.7 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.7782, allocations: 169 kB / 0.7896 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.7782, allocations: 83.05 kB / 0.7897 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.7783, allocations: 76.16 kB / 0.7898 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.7783, allocations: 109.5 kB / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.7783, allocations: 0 / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.168e-05/0.7784, allocations: 34.77 kB / 0.7899 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.7784, allocations: 134.5 kB / 0.79 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.7785, allocations: 108.5 kB / 0.7901 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.7786, allocations: 26.7 kB / 0.7902 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.7786, allocations: 85.52 kB / 0.7902 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-06/0.7786, allocations: 1.938 kB / 0.7902 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.7786, allocations: 19.91 kB / 0.7903 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.7787, allocations: 316.7 kB / 0.7906 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.7787, allocations: 0 / 0.7906 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.7788, allocations: 29.75 kB / 0.7906 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.7788, allocations: 36.48 kB / 0.7906 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7788, allocations: 0 / 0.7906 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.7789, allocations: 53.58 kB / 0.7907 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.779, allocations: 6 kB / 0.7907 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.779, allocations: 0 / 0.7907 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.779, allocations: 2.156 kB / 0.7907 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.7791, allocations: 9.156 kB / 0.7907 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7791, allocations: 1 kB / 0.7907 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.7792, allocations: 9.438 kB / 0.7907 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.7793, allocations: 0 / 0.7907 GB, free: 45.97 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.7793, allocations: 198.1 kB / 0.7909 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.7794, allocations: 101 kB / 0.791 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.7794, allocations: 112.1 kB / 0.7911 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.702e-05/0.7794, allocations: 186 kB / 0.7913 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/0.7795, allocations: 180.3 kB / 0.7914 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.7795, allocations: 190.8 kB / 0.7916 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.7796, allocations: 401.5 kB / 0.792 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7797, allocations: 106.1 kB / 0.7921 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.7797, allocations: 106.8 kB / 0.7922 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-05/0.7797, allocations: 180.6 kB / 0.7924 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.7797, allocations: 179.9 kB / 0.7925 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/0.7798, allocations: 185 kB / 0.7927 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.393e-05/0.7798, allocations: 184.1 kB / 0.7929 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.7799, allocations: 302.5 kB / 0.7932 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.7799, allocations: 185.4 kB / 0.7934 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.7799, allocations: 183.2 kB / 0.7935 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.78, allocations: 108.1 kB / 0.7936 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.7801, allocations: 181.8 kB / 0.7938 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.7801, allocations: 104.8 kB / 0.7939 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.7801, allocations: 90.25 kB / 0.794 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7801, allocations: 1.312 kB / 0.794 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003315/0.7805, allocations: 53.36 kB / 0.7941 GB, free: 42.5 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005876/0.781, allocations: 355.3 kB / 0.7944 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.7e-05/0.7811, allocations: 10.78 kB / 0.7944 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7812, allocations: 1.75 kB / 0.7944 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.7812, allocations: 6.094 kB / 0.7944 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.7814, allocations: 455.6 kB / 0.7948 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.7817, allocations: 169.2 kB / 0.795 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.7818, allocations: 0.6754 MB / 0.7957 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.7818, allocations: 3.891 kB / 0.7957 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.7819, allocations: 10.34 kB / 0.7957 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7819, allocations: 0 / 0.7957 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.003987/0.7859, allocations: 1.727 MB / 0.7974 GB, free: 40.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)