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.0007711/0.0007711, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001001/0.001001, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.625/1.625, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005264/0.0005265, allocations: 14.38 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2445, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001439/0.2459, allocations: 0.982 MB / 0.7882 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2482, allocations: 1.431 MB / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.2482, allocations: 0 / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.2483, allocations: 0 / 0.7896 GB, free: 9.523 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.0002243/0.2485, allocations: 19.92 kB / 0.7897 GB, free: 9.504 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.0006802/0.2492, allocations: 202.8 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.2492, allocations: 19.92 kB / 0.7899 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.2493, allocations: 7.922 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.345e-05/0.2494, allocations: 11.94 kB / 0.7899 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2495, allocations: 19.97 kB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2495, allocations: 0 / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.2498, allocations: 143.8 kB / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.2498, allocations: 3.984 kB / 0.79 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.2499, allocations: 33.7 kB / 0.7901 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2501, allocations: 99.86 kB / 0.7902 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2501, allocations: 3.938 kB / 0.7902 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2501, allocations: 4 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2501, allocations: 0 / 0.7902 GB, free: 8.961 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.0003521/0.2505, allocations: 367.6 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2505, allocations: 8.031 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.2506, allocations: 79.19 kB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2508, allocations: 242.3 kB / 0.7908 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.2508, allocations: 158.6 kB / 0.791 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.2509, allocations: 154.6 kB / 0.7911 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.614e-05/0.251, allocations: 101 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.251, allocations: 79.27 kB / 0.7913 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.2511, allocations: 150.6 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/0.2511, allocations: 154.6 kB / 0.7916 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.2512, allocations: 154.5 kB / 0.7918 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.2515, allocations: 457.9 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.2516, allocations: 173.1 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.2516, allocations: 84.14 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.2516, allocations: 79.22 kB / 0.7925 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.2517, allocations: 109.8 kB / 0.7926 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2517, allocations: 0 / 0.7926 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.887e-05/0.2518, allocations: 29.7 kB / 0.7926 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2519, allocations: 130.7 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.252, allocations: 109.8 kB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.252, allocations: 29.7 kB / 0.7929 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.252, allocations: 80.14 kB / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.2521, allocations: 0 / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.2521, allocations: 0 / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2522, allocations: 326.8 kB / 0.7933 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.2522, allocations: 0 / 0.7933 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.2523, allocations: 26.52 kB / 0.7933 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.2523, allocations: 11.98 kB / 0.7933 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2523, allocations: 0 / 0.7933 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000131/0.2524, allocations: 49.55 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2525, allocations: 4 kB / 0.7934 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2525, allocations: 0 / 0.7934 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2525, allocations: 4 kB / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.2526, allocations: 7.984 kB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.2526, allocations: 96 / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2527, allocations: 12 kB / 0.7934 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2527, allocations: 11.97 kB / 0.7934 GB, free: 5.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.2529, allocations: 193.7 kB / 0.7936 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.2529, allocations: 104.9 kB / 0.7937 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.253, allocations: 108.1 kB / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-05/0.2531, allocations: 180.3 kB / 0.794 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.579e-05/0.2531, allocations: 188.2 kB / 0.7942 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/0.2532, allocations: 176.3 kB / 0.7943 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2535, allocations: 409.1 kB / 0.7947 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/0.2535, allocations: 105 kB / 0.7948 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.2536, allocations: 105.3 kB / 0.7949 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.594e-05/0.2536, allocations: 184.2 kB / 0.7951 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/0.2537, allocations: 184.3 kB / 0.7953 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.509e-05/0.2538, allocations: 180.2 kB / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-05/0.2538, allocations: 184.5 kB / 0.7956 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.254, allocations: 307.8 kB / 0.7959 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.2541, allocations: 182 kB / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.575e-05/0.2542, allocations: 192.2 kB / 0.7963 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.2543, allocations: 101 kB / 0.7964 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.2543, allocations: 184.1 kB / 0.7965 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.2544, allocations: 101 kB / 0.7966 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.2544, allocations: 95.2 kB / 0.7967 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2544, allocations: 0 / 0.7967 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003525/0.2548, allocations: 55.98 kB / 0.7968 GB, free: 1.738 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000565/0.2554, allocations: 345.1 kB / 0.7971 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.2555, allocations: 7.938 kB / 0.7971 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2555, allocations: 0 / 0.7971 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-06/0.2555, allocations: 4 kB / 0.7971 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.2559, allocations: 0.5288 MB / 0.7976 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.2561, allocations: 173.9 kB / 0.7978 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2564, allocations: 0.677 MB / 0.7985 GB, free: 16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.2564, allocations: 0 / 0.7985 GB, free: 16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.2565, allocations: 15.44 kB / 0.7985 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of SimCode: time 1.653e-06/0.2565, allocations: 0 / 0.7985 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.004455/0.2609, allocations: 1.668 MB / 0.8001 GB, free: 14.33 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: