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.00122/0.00122, 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.001298/0.001298, allocations: 189.6 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.575/1.575, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4357/0.4357, allocations: 54.94 MB / 324.4 MB, free: 124 kB / 254.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.001396/0.001396, allocations: 63.91 kB / 394.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1472, allocations: 59.58 MB / 454.5 MB, free: 492 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.2486/0.3959, allocations: 1.324 MB / 455.8 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3977, allocations: 1.486 MB / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.3977, allocations: 0 / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.3978, allocations: 1.719 kB / 457.3 MB, free: 38.46 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.0002215/0.398, allocations: 18.89 kB / 457.3 MB, free: 38.46 MB / 382.1 MB [/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.0005161/0.3986, allocations: 200.9 kB / 457.5 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.3986, allocations: 21.25 kB / 457.5 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3987, allocations: 4.688 kB / 457.5 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.3987, allocations: 21.12 kB / 457.5 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.3988, allocations: 3.844 kB / 457.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3988, allocations: 0 / 457.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.399, allocations: 169.5 kB / 457.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.399, allocations: 6.641 kB / 457.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.399, allocations: 10.19 kB / 457.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3992, allocations: 152.5 kB / 457.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3992, allocations: 0 / 457.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3993, allocations: 0 / 457.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3993, allocations: 6.281 kB / 457.9 MB, free: 38.37 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.0002516/0.3995, allocations: 365.7 kB / 458.2 MB, free: 38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.3996, allocations: 8.625 kB / 458.3 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.3996, allocations: 83.97 kB / 458.3 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.943e-05/0.3997, allocations: 248.5 kB / 458.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.3997, allocations: 157.3 kB / 458.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3998, allocations: 151.2 kB / 458.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.536e-05/0.3998, allocations: 108.3 kB / 459 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3998, allocations: 75.28 kB / 459.1 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3999, allocations: 151.2 kB / 459.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.3999, allocations: 152.1 kB / 459.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.3999, allocations: 156.2 kB / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.4001, allocations: 462.5 kB / 460 MB, free: 36.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.4001, allocations: 171.9 kB / 460.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.4001, allocations: 80.86 kB / 460.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.4002, allocations: 76.09 kB / 460.3 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4002, allocations: 113.2 kB / 460.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4002, allocations: 7.344 kB / 460.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.197e-05/0.4003, allocations: 32.69 kB / 460.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.4003, allocations: 127.5 kB / 460.6 MB, free: 35.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.4004, allocations: 104.7 kB / 460.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.4004, allocations: 25.7 kB / 460.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.4004, allocations: 83.7 kB / 460.8 MB, free: 35.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.4004, allocations: 0.75 kB / 460.8 MB, free: 35.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.4004, allocations: 23.16 kB / 460.8 MB, free: 35.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.4005, allocations: 315.4 kB / 461.1 MB, free: 35.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.4005, allocations: 5.906 kB / 461.1 MB, free: 35.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.4005, allocations: 25.34 kB / 461.1 MB, free: 35.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.4006, allocations: 33.33 kB / 461.2 MB, free: 35.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4006, allocations: 1.688 kB / 461.2 MB, free: 35.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001047/0.4007, allocations: 51.36 kB / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.4007, allocations: 5.75 kB / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4007, allocations: 3 kB / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.4007, allocations: 0 / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.4008, allocations: 9.562 kB / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4008, allocations: 6.688 kB / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.401, allocations: 4.656 kB / 461.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.401, allocations: 2.844 kB / 461.2 MB, free: 35.01 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.168e-05/0.401, allocations: 198.5 kB / 461.4 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.4011, allocations: 109.4 kB / 461.5 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.4011, allocations: 110 kB / 461.7 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.4011, allocations: 181.3 kB / 461.8 MB, free: 34.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/0.4012, allocations: 176.3 kB / 462 MB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/0.4012, allocations: 182 kB / 462.2 MB, free: 34.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.4013, allocations: 410.6 kB / 462.6 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.4014, allocations: 109.1 kB / 462.7 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.4014, allocations: 101 kB / 462.8 MB, free: 33.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.377e-05/0.4014, allocations: 184 kB / 463 MB, free: 33.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.4014, allocations: 180.6 kB / 463.1 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/0.4015, allocations: 177.4 kB / 463.3 MB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.213e-05/0.4015, allocations: 185.4 kB / 463.5 MB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.951e-05/0.4016, allocations: 314.3 kB / 463.8 MB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.4016, allocations: 182.5 kB / 464 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.4017, allocations: 185 kB / 464.2 MB, free: 31.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.4017, allocations: 104.7 kB / 464.3 MB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.4018, allocations: 184 kB / 464.4 MB, free: 31.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4018, allocations: 106.7 kB / 464.5 MB, free: 31.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.4018, allocations: 82.12 kB / 464.6 MB, free: 31.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4018, allocations: 2.562 kB / 464.6 MB, free: 31.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.4021, allocations: 49.77 kB / 464.7 MB, free: 31.51 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.0004651/0.4026, allocations: 360 kB / 465 MB, free: 31.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.785e-05/0.4027, allocations: 9.062 kB / 465 MB, free: 31.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4027, allocations: 4.062 kB / 465 MB, free: 31.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4027, allocations: 0 / 465 MB, free: 31.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.4029, allocations: 470.1 kB / 465.5 MB, free: 30.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.4031, allocations: 169.4 kB / 465.7 MB, free: 30.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.4032, allocations: 0.6795 MB / 466.3 MB, free: 30 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.822e-05/0.4032, allocations: 0 / 466.3 MB, free: 30 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.4033, allocations: 10.81 kB / 466.4 MB, free: 29.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4033, allocations: 0 / 466.4 MB, free: 29.99 MB / 382.1 MB Notification: Performance of Templates: time 0.003465/0.4067, allocations: 1.736 MB / 468.1 MB, free: 29.85 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)