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.001421/0.001421, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001309/0.001309, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.459/1.459, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.715/1.715, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001434/0.001434, allocations: 68.19 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2676, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002936/0.2706, allocations: 1.329 MB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.2732, allocations: 1.505 MB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.2733, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.2733, allocations: 0 / 0.7856 GB, free: 11.05 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.0003168/0.2737, allocations: 23.91 kB / 0.7856 GB, free: 11.03 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.0008486/0.2745, allocations: 201.6 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.2746, allocations: 19.94 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/0.2747, allocations: 8 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2748, allocations: 27.84 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2749, allocations: 4 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.275, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.2753, allocations: 163.8 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.2754, allocations: 8 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.2754, allocations: 11.92 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.2759, allocations: 151.8 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2759, allocations: 0 / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2759, allocations: 0 / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.2759, allocations: 0 / 0.7862 GB, free: 10.45 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.0005246/0.2764, allocations: 375.6 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.2765, allocations: 16.02 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.2766, allocations: 76.22 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.2768, allocations: 243.7 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.2769, allocations: 154.9 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.277, allocations: 158.7 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.453e-05/0.277, allocations: 104.9 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.2771, allocations: 75.28 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.2772, allocations: 150.6 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.2772, allocations: 154.6 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.2773, allocations: 154.5 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.2776, allocations: 457.9 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.2777, allocations: 173.1 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.2778, allocations: 88.08 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.2778, allocations: 79.27 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.2779, allocations: 105.8 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2779, allocations: 0 / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.247e-05/0.278, allocations: 29.7 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.278, allocations: 126.7 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2782, allocations: 113.8 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.2782, allocations: 29.7 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.2782, allocations: 80.14 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.2782, allocations: 0 / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2783, allocations: 25.7 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2784, allocations: 310.8 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.2784, allocations: 0 / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.2785, allocations: 38.5 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.2785, allocations: 22.52 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2785, allocations: 0 / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001414/0.2787, allocations: 61.47 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2787, allocations: 4 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2787, allocations: 4.344 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2787, allocations: 4 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.2788, allocations: 8 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2788, allocations: 0 / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.279, allocations: 7.984 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.279, allocations: 8 kB / 0.7895 GB, free: 6.832 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 0.0001125/0.2791, allocations: 185.7 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.2792, allocations: 112.9 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.2793, allocations: 112.1 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/0.2793, allocations: 180.3 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.139e-05/0.2794, allocations: 180.2 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.208e-05/0.2795, allocations: 180.3 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.2797, allocations: 409.1 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.57e-05/0.2798, allocations: 113 kB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.2798, allocations: 101.1 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-05/0.2799, allocations: 184.2 kB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.28, allocations: 176.3 kB / 0.7913 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.579e-05/0.28, allocations: 188.2 kB / 0.7915 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-05/0.2801, allocations: 176.3 kB / 0.7917 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2802, allocations: 311.7 kB / 0.792 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.2803, allocations: 182.1 kB / 0.7922 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.2804, allocations: 184.1 kB / 0.7923 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.2805, allocations: 109 kB / 0.7924 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.2806, allocations: 180.3 kB / 0.7926 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.2806, allocations: 104.9 kB / 0.7927 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.2807, allocations: 83.27 kB / 0.7928 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2807, allocations: 0 / 0.7928 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003695/0.281, allocations: 59.92 kB / 0.7928 GB, free: 3.168 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.000657/0.2817, allocations: 358.3 kB / 0.7932 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.2818, allocations: 8.062 kB / 0.7932 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2818, allocations: 4.062 kB / 0.7932 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.2818, allocations: 4 kB / 0.7932 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.2822, allocations: 463.6 kB / 0.7936 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.2825, allocations: 165.2 kB / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2828, allocations: 0.6807 MB / 0.7945 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.2829, allocations: 0 / 0.7945 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.2829, allocations: 15.38 kB / 0.7945 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2829, allocations: 0 / 0.7945 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.004989/0.2879, allocations: 1.734 MB / 0.7962 GB, free: 15.75 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)