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.001115/0.001115, allocations: 105.2 kB / 16.36 MB, free: 6.258 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.0009997/0.0009997, allocations: 191.1 kB / 17.3 MB, free: 5.848 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001477/0.001477, allocations: 71.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2785, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002537/0.2811, allocations: 1.264 MB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.2836, allocations: 1.523 MB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.2836, allocations: 4 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.2837, allocations: 0 / 0.7875 GB, free: 344 kB / 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.0002799/0.284, allocations: 27.86 kB / 0.7875 GB, free: 316 kB / 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.0006359/0.2846, allocations: 217.9 kB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.2847, allocations: 27.91 kB / 0.7878 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2847, allocations: 3.984 kB / 0.7878 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.2848, allocations: 19.86 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2849, allocations: 11.98 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.285, allocations: 4 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4993/0.7843, allocations: 168.1 kB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.7844, allocations: 4.109 kB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.7844, allocations: 18.38 kB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.7847, allocations: 147.5 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7847, allocations: 3.75 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7847, allocations: 2.5 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.7848, allocations: 3 kB / 0.7882 GB, free: 46.54 MB / 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.0003439/0.7851, allocations: 371.5 kB / 0.7885 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7852, allocations: 8.719 kB / 0.7885 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.7852, allocations: 84.25 kB / 0.7886 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7853, allocations: 241.9 kB / 0.7888 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.7854, allocations: 150.9 kB / 0.789 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.7854, allocations: 156.2 kB / 0.7891 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.611e-05/0.7855, allocations: 110.5 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.7855, allocations: 75.28 kB / 0.7893 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.7855, allocations: 153.1 kB / 0.7894 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.7855, allocations: 151.5 kB / 0.7896 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.535e-05/0.7856, allocations: 154.4 kB / 0.7897 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.7858, allocations: 456.7 kB / 0.7902 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.7858, allocations: 175.4 kB / 0.7903 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.7859, allocations: 80.14 kB / 0.7904 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.7859, allocations: 75.28 kB / 0.7905 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.7859, allocations: 115.1 kB / 0.7906 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.7859, allocations: 0 / 0.7906 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.633e-05/0.786, allocations: 32.55 kB / 0.7906 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.786, allocations: 51.41 kB / 0.7907 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.7861, allocations: 104.5 kB / 0.7908 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.7861, allocations: 25.7 kB / 0.7908 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.7862, allocations: 96.39 kB / 0.7909 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.7862, allocations: 0 / 0.7909 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.7862, allocations: 17.69 kB / 0.7909 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.7863, allocations: 314.8 kB / 0.7912 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.7863, allocations: 7.281 kB / 0.7912 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.7863, allocations: 23.02 kB / 0.7912 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.7864, allocations: 35.67 kB / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7864, allocations: 0 / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001174/0.7865, allocations: 51.61 kB / 0.7913 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.7865, allocations: 12.75 kB / 0.7913 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7865, allocations: 2.719 kB / 0.7913 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7865, allocations: 0 / 0.7913 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.7866, allocations: 5.5 kB / 0.7913 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.7866, allocations: 0 / 0.7913 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.7868, allocations: 8.656 kB / 0.7913 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.7868, allocations: 3.375 kB / 0.7914 GB, free: 43.27 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 5.982e-05/0.7869, allocations: 183.6 kB / 0.7915 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.7869, allocations: 112.1 kB / 0.7916 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.7869, allocations: 109.4 kB / 0.7917 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.661e-05/0.787, allocations: 179.9 kB / 0.7919 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.787, allocations: 107.3 kB / 0.792 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.787, allocations: 185.6 kB / 0.7922 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.7871, allocations: 181.3 kB / 0.7924 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.7871, allocations: 105.5 kB / 0.7925 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.7872, allocations: 184.8 kB / 0.7926 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.678e-05/0.7872, allocations: 264.5 kB / 0.7929 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.459e-05/0.7873, allocations: 384.4 kB / 0.7933 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.297e-05/0.7873, allocations: 103.5 kB / 0.7934 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.7874, allocations: 84.95 kB / 0.7934 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of Backend: time 3.01e-07/0.7874, allocations: 0 / 0.7934 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007715/0.7881, allocations: 267.6 kB / 0.7937 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003208/0.7885, allocations: 0.8475 MB / 0.7945 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.00391/0.7924, allocations: 1.751 MB / 0.7962 GB, free: 40.05 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 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)