Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001384/0.001384, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 197.7 kB / 16.64 MB, free: 6.453 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.353/1.353, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3607/0.3607, allocations: 54.96 MB / 324.8 MB, free: 15.88 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.89 kB / 396.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.305, allocations: 59.58 MB / 455.7 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002238/0.3072, allocations: 1.25 MB / 457 MB, free: 39.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3089, allocations: 1.513 MB / 458.5 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.309, allocations: 0 / 458.5 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.309, allocations: 1.625 kB / 458.5 MB, free: 39.21 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-49:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.3092, allocations: 26.36 kB / 458.5 MB, free: 39.2 MB / 382.1 MB [/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/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-104:25:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.3097, allocations: 222.1 kB / 458.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.3098, allocations: 22.75 kB / 458.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.3098, allocations: 2.625 kB / 458.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.3099, allocations: 23.8 kB / 458.8 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.205e-05/0.3099, allocations: 3 kB / 458.8 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.3099, allocations: 0 / 458.8 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.3102, allocations: 176.4 kB / 458.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3102, allocations: 10.31 kB / 458.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.3102, allocations: 12.09 kB / 459 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3104, allocations: 154.4 kB / 459.1 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3104, allocations: 7.609 kB / 459.1 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3104, allocations: 0 / 459.1 MB, free: 39.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.3104, allocations: 0 / 459.1 MB, free: 39.11 MB / 382.1 MB 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.0002564/0.3107, allocations: 373.2 kB / 459.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3107, allocations: 11.38 kB / 459.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.3108, allocations: 84.09 kB / 459.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3109, allocations: 240 kB / 459.8 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.3109, allocations: 158.1 kB / 460 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.311, allocations: 156.4 kB / 460.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.46e-05/0.311, allocations: 104.6 kB / 460.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.311, allocations: 78.09 kB / 460.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.311, allocations: 151.6 kB / 460.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.3111, allocations: 151.7 kB / 460.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.3111, allocations: 151.9 kB / 460.7 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.3113, allocations: 456.8 kB / 461.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.3113, allocations: 172.9 kB / 461.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.3113, allocations: 86.11 kB / 461.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.3113, allocations: 75.33 kB / 461.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3114, allocations: 112.8 kB / 461.6 MB, free: 36.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/0.3114, allocations: 2.672 kB / 461.6 MB, free: 36.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.213e-05/0.3114, allocations: 28.77 kB / 461.7 MB, free: 36.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3115, allocations: 126.7 kB / 461.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.3115, allocations: 108.6 kB / 461.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.3116, allocations: 25.7 kB / 461.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.3116, allocations: 90.12 kB / 462 MB, free: 36.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.3116, allocations: 0.6562 kB / 462 MB, free: 36.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.3116, allocations: 22.3 kB / 462 MB, free: 36.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.3117, allocations: 311.8 kB / 462.3 MB, free: 35.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.3117, allocations: 12.98 kB / 462.3 MB, free: 35.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.3117, allocations: 22.33 kB / 462.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.3118, allocations: 35.67 kB / 462.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3118, allocations: 3.562 kB / 462.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001015/0.3119, allocations: 47.95 kB / 462.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.3119, allocations: 9.156 kB / 462.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3119, allocations: 0 / 462.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3119, allocations: 0.625 kB / 462.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.312, allocations: 7.625 kB / 462.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.312, allocations: 0 / 462.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3121, allocations: 12.62 kB / 462.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3122, allocations: 6.625 kB / 462.5 MB, free: 35.75 MB / 382.1 MB 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.102e-05/0.3122, allocations: 187.9 kB / 462.7 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3122, allocations: 113 kB / 462.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.3123, allocations: 110.3 kB / 462.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.3123, allocations: 182.6 kB / 463.1 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.3123, allocations: 183.8 kB / 463.2 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.3124, allocations: 179.2 kB / 463.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.3125, allocations: 406.6 kB / 463.8 MB, free: 34.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.3125, allocations: 108 kB / 463.9 MB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.3125, allocations: 104.2 kB / 464 MB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.3125, allocations: 186.9 kB / 464.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.3126, allocations: 177.6 kB / 464.4 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-05/0.3126, allocations: 179.9 kB / 464.5 MB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-05/0.3126, allocations: 183.1 kB / 464.7 MB, free: 33.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.19e-05/0.3127, allocations: 314 kB / 465 MB, free: 33.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3127, allocations: 181.8 kB / 465.2 MB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3127, allocations: 182.1 kB / 465.4 MB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.3128, allocations: 108.1 kB / 465.5 MB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3128, allocations: 176.3 kB / 465.7 MB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3128, allocations: 106.4 kB / 465.8 MB, free: 32.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.493e-05/0.3129, allocations: 89.34 kB / 465.9 MB, free: 32.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3129, allocations: 0 / 465.9 MB, free: 32.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.3132, allocations: 57.69 kB / 465.9 MB, free: 32.23 MB / 382.1 MB 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.0004352/0.3136, allocations: 350.9 kB / 466.3 MB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.3137, allocations: 14.33 kB / 466.3 MB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3137, allocations: 0 / 466.3 MB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3137, allocations: 0 / 466.3 MB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.314, allocations: 469.7 kB / 466.7 MB, free: 31.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.3142, allocations: 170.4 kB / 466.9 MB, free: 31.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.3143, allocations: 0.6716 MB / 467.6 MB, free: 30.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.985e-05/0.3143, allocations: 3.438 kB / 467.6 MB, free: 30.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.3143, allocations: 7.438 kB / 467.6 MB, free: 30.73 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3143, allocations: 7.938 kB / 467.6 MB, free: 30.73 MB / 382.1 MB Notification: Performance of Templates: time 0.003315/0.3176, allocations: 1.73 MB / 469.3 MB, free: 30.58 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)