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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00123/0.00123, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.441/1.441, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.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.688/1.688, allocations: 292.2 MB / 0.5484 GB, free: 13.61 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.00151/0.00151, allocations: 74 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2374, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002462/0.2399, allocations: 1.333 MB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.2421, allocations: 1.512 MB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.2422, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.2422, allocations: 4 kB / 0.7855 GB, free: 11.1 MB / 0.6075 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.0002085/0.2424, allocations: 15.98 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB [/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.0005094/0.2429, allocations: 190.8 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.243, allocations: 31.86 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.243, allocations: 0 / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.2431, allocations: 12 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2432, allocations: 15.97 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.2432, allocations: 3.938 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.2435, allocations: 155.8 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.2435, allocations: 11.98 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.2435, allocations: 4 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2437, allocations: 151.7 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2437, allocations: 0 / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2437, allocations: 4 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2438, allocations: 0 / 0.786 GB, free: 10.52 MB / 0.6075 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.0003468/0.2441, allocations: 383.6 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2441, allocations: 12.03 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.2442, allocations: 76.22 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.2444, allocations: 239.7 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.2444, allocations: 150.9 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.2445, allocations: 166.7 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.382e-05/0.2445, allocations: 105 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.2446, allocations: 75.28 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.2446, allocations: 150.6 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.2447, allocations: 154.6 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.412e-05/0.2447, allocations: 154.5 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.245, allocations: 453.9 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.2451, allocations: 173.1 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.2451, allocations: 84.08 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.2452, allocations: 75.28 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.2452, allocations: 113.8 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2452, allocations: 0 / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.827e-05/0.2453, allocations: 33.69 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.2454, allocations: 134.6 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.2455, allocations: 97.86 kB / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2455, allocations: 29.7 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.2455, allocations: 84.14 kB / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.2456, allocations: 4 kB / 0.7888 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2456, allocations: 21.7 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2457, allocations: 314.8 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2457, allocations: 0 / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.2458, allocations: 30.5 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.2458, allocations: 30.52 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2458, allocations: 0 / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001186/0.246, allocations: 61.47 kB / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.246, allocations: 4 kB / 0.7893 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.246, allocations: 0 / 0.7893 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.246, allocations: 0 / 0.7893 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.2461, allocations: 8 kB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2461, allocations: 7.922 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2462, allocations: 8.094 kB / 0.7893 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2463, allocations: 4 kB / 0.7893 GB, free: 6.902 MB / 0.6075 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 9.707e-05/0.2464, allocations: 189.1 kB / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.2464, allocations: 112.9 kB / 0.7896 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.2465, allocations: 108 kB / 0.7897 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.578e-05/0.2465, allocations: 176.3 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.083e-05/0.2466, allocations: 180.3 kB / 0.79 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.2467, allocations: 188.2 kB / 0.7902 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2469, allocations: 405.2 kB / 0.7906 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.2469, allocations: 108.9 kB / 0.7907 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.247, allocations: 105 kB / 0.7908 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.208e-05/0.247, allocations: 184.3 kB / 0.791 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.2471, allocations: 180.2 kB / 0.7912 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.414e-05/0.2471, allocations: 180.5 kB / 0.7913 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.774e-05/0.2472, allocations: 184.5 kB / 0.7915 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.2473, allocations: 311.8 kB / 0.7918 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.2474, allocations: 182 kB / 0.792 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.2475, allocations: 180.3 kB / 0.7922 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.2475, allocations: 112.9 kB / 0.7923 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.2476, allocations: 180.2 kB / 0.7924 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.2477, allocations: 105 kB / 0.7925 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.2477, allocations: 87.22 kB / 0.7926 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2477, allocations: 0 / 0.7926 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000299/0.248, allocations: 51.98 kB / 0.7927 GB, free: 3.238 MB / 0.6075 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.0005546/0.2486, allocations: 350.3 kB / 0.793 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.272e-05/0.2486, allocations: 7.984 kB / 0.793 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2487, allocations: 0 / 0.793 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.2487, allocations: 7.938 kB / 0.793 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.249, allocations: 0.5293 MB / 0.7935 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.2493, allocations: 167.3 kB / 0.7937 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.2495, allocations: 0.677 MB / 0.7944 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.2495, allocations: 0 / 0.7944 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.2495, allocations: 11.44 kB / 0.7944 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2495, allocations: 4 kB / 0.7944 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.003834/0.2534, allocations: 1.727 MB / 0.7961 GB, free: 15.76 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)