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.007949/0.007949, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001578/0.001578, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.46/1.46, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3901/0.3901, allocations: 54.94 MB / 324.8 MB, free: 24 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.001475/0.001475, allocations: 67.22 kB / 456.3 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 59.58 MB / 0.5038 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00202/0.1142, allocations: 1.254 MB / 0.505 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1161, allocations: 1.513 MB / 0.5065 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.1162, allocations: 0 / 0.5065 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.1162, allocations: 0 / 0.5065 GB, free: 7.578 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.0002287/0.1164, allocations: 24.06 kB / 0.5065 GB, free: 7.559 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.0005776/0.117, allocations: 220.3 kB / 0.5067 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.1171, allocations: 24.3 kB / 0.5067 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.1171, allocations: 9.312 kB / 0.5067 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.1172, allocations: 24.16 kB / 0.5068 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.1173, allocations: 4.125 kB / 0.5068 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1173, allocations: 0 / 0.5068 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.1175, allocations: 179.8 kB / 0.5069 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.1176, allocations: 5.312 kB / 0.5069 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.1176, allocations: 8.062 kB / 0.5069 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1178, allocations: 157.7 kB / 0.5071 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.1178, allocations: 4 kB / 0.5071 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1178, allocations: 0 / 0.5071 GB, free: 7.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1179, allocations: 5.375 kB / 0.5071 GB, free: 7.195 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.0002931/0.1182, allocations: 366.7 kB / 0.5075 GB, free: 6.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1182, allocations: 13.56 kB / 0.5075 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.1182, allocations: 77.59 kB / 0.5075 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1184, allocations: 252.7 kB / 0.5078 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1184, allocations: 159.9 kB / 0.5079 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.1184, allocations: 157.3 kB / 0.5081 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.288e-05/0.1185, allocations: 102.4 kB / 0.5082 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1185, allocations: 75.28 kB / 0.5083 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1185, allocations: 150.6 kB / 0.5084 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.1186, allocations: 151.9 kB / 0.5085 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.1186, allocations: 150.6 kB / 0.5087 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1188, allocations: 466 kB / 0.5091 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.1188, allocations: 170.5 kB / 0.5093 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.1189, allocations: 81.52 kB / 0.5094 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1189, allocations: 75.28 kB / 0.5094 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1189, allocations: 113.8 kB / 0.5096 GB, free: 4.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1189, allocations: 1.375 kB / 0.5096 GB, free: 4.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.349e-05/0.119, allocations: 31.02 kB / 0.5096 GB, free: 4.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.119, allocations: 132.1 kB / 0.5097 GB, free: 4.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.1191, allocations: 108.7 kB / 0.5098 GB, free: 4.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.1191, allocations: 25.7 kB / 0.5098 GB, free: 4.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.1192, allocations: 81.52 kB / 0.5099 GB, free: 4.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.1192, allocations: 0 / 0.5099 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.1192, allocations: 24.47 kB / 0.5099 GB, free: 4.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.1193, allocations: 320 kB / 0.5102 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.1193, allocations: 1.281 kB / 0.5102 GB, free: 3.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.009e-05/0.1193, allocations: 25.33 kB / 0.5103 GB, free: 3.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.1194, allocations: 32.28 kB / 0.5103 GB, free: 3.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1194, allocations: 0 / 0.5103 GB, free: 3.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001176/0.1195, allocations: 50.27 kB / 0.5103 GB, free: 3.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1195, allocations: 5.812 kB / 0.5104 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1195, allocations: 1.062 kB / 0.5104 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1196, allocations: 1.125 kB / 0.5104 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.1196, allocations: 9.109 kB / 0.5104 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1196, allocations: 0 / 0.5104 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.1198, allocations: 17.12 kB / 0.5104 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1198, allocations: 6.438 kB / 0.5104 GB, free: 3.691 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 6.79e-05/0.1199, allocations: 191.4 kB / 0.5106 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.1199, allocations: 110 kB / 0.5107 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.12, allocations: 108.8 kB / 0.5108 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.12, allocations: 181.3 kB / 0.511 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/0.12, allocations: 185.6 kB / 0.5111 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/0.1201, allocations: 177.5 kB / 0.5113 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1202, allocations: 407.6 kB / 0.5117 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.1202, allocations: 106.3 kB / 0.5118 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.1202, allocations: 104.9 kB / 0.5119 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/0.1203, allocations: 181.5 kB / 0.5121 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.1203, allocations: 177.6 kB / 0.5122 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/0.1203, allocations: 181.5 kB / 0.5124 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-05/0.1204, allocations: 189.5 kB / 0.5126 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.836e-05/0.1205, allocations: 302.3 kB / 0.5129 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.1205, allocations: 187.4 kB / 0.513 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.1205, allocations: 185.5 kB / 0.5132 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.1206, allocations: 102.2 kB / 0.5133 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.1207, allocations: 181.5 kB / 0.5135 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1207, allocations: 102.5 kB / 0.5136 GB, free: 212 kB / 382.1 MB Notification: Performance of sorting global known variables: time 2.956e-05/0.1207, allocations: 83.28 kB / 0.5137 GB, free: 132 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1207, allocations: 4 kB / 0.5137 GB, free: 128 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1211, allocations: 53.23 kB / 0.5137 GB, free: 112 kB / 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.000666/0.1217, allocations: 364.5 kB / 0.5141 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.535e-05/0.1218, allocations: 11.31 kB / 0.5141 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1219, allocations: 0 / 0.5141 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.1219, allocations: 1.156 kB / 0.5141 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1222, allocations: 468.8 kB / 0.5145 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.1225, allocations: 185.1 kB / 0.5147 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1228, allocations: 0.6715 MB / 0.5154 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.1228, allocations: 1.312 kB / 0.5154 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.1229, allocations: 13 kB / 0.5154 GB, free: 14.5 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.1229, allocations: 0 / 0.5154 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004136/0.127, allocations: 1.73 MB / 0.5171 GB, free: 12.8 MB / 398.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)