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.007816/0.007817, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.001611/0.001611, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.635/1.635, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.416/0.416, allocations: 54.94 MB / 324.8 MB, free: 12 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.001488/0.001488, allocations: 64.8 kB / 456.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1527, allocations: 59.59 MB / 0.5038 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002736/0.1555, allocations: 1.25 MB / 0.505 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1582, allocations: 1.513 MB / 0.5065 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.1583, allocations: 1.25 kB / 0.5065 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.1584, allocations: 3.938 kB / 0.5065 GB, free: 7.641 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.0003348/0.1587, allocations: 21.56 kB / 0.5065 GB, free: 7.625 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.0007711/0.1595, allocations: 223.2 kB / 0.5067 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.1596, allocations: 23.89 kB / 0.5067 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.1597, allocations: 1.906 kB / 0.5068 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1598, allocations: 24.7 kB / 0.5068 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.1598, allocations: 10.48 kB / 0.5068 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1599, allocations: 1.406 kB / 0.5068 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.1602, allocations: 178.6 kB / 0.507 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.1603, allocations: 6.875 kB / 0.507 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.1603, allocations: 11.98 kB / 0.507 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.1606, allocations: 152.4 kB / 0.5071 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1606, allocations: 2.156 kB / 0.5071 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1606, allocations: 0 / 0.5071 GB, free: 7.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.1607, allocations: 0 / 0.5071 GB, free: 7.266 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.0004717/0.1611, allocations: 374.8 kB / 0.5075 GB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1612, allocations: 8.812 kB / 0.5075 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.1613, allocations: 81.84 kB / 0.5076 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1614, allocations: 245 kB / 0.5078 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1614, allocations: 156 kB / 0.5079 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1615, allocations: 153.2 kB / 0.5081 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.678e-05/0.1615, allocations: 110.2 kB / 0.5082 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1615, allocations: 79.28 kB / 0.5083 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.1616, allocations: 151.8 kB / 0.5084 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.1616, allocations: 150.6 kB / 0.5086 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.1616, allocations: 151.8 kB / 0.5087 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.1619, allocations: 462 kB / 0.5091 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.036e-05/0.1619, allocations: 178.2 kB / 0.5093 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.1619, allocations: 80.14 kB / 0.5094 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.162, allocations: 79.28 kB / 0.5095 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.162, allocations: 111.2 kB / 0.5096 GB, free: 4.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.162, allocations: 0 / 0.5096 GB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.1621, allocations: 32.25 kB / 0.5096 GB, free: 4.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1621, allocations: 130.6 kB / 0.5097 GB, free: 4.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.1622, allocations: 101.6 kB / 0.5098 GB, free: 4.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1622, allocations: 25.7 kB / 0.5099 GB, free: 4.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.1623, allocations: 89.56 kB / 0.5099 GB, free: 4.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.1623, allocations: 1.625 kB / 0.5099 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.1623, allocations: 19.28 kB / 0.51 GB, free: 4.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.1624, allocations: 318.8 kB / 0.5103 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.1624, allocations: 10.58 kB / 0.5103 GB, free: 3.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.1625, allocations: 21.48 kB / 0.5103 GB, free: 3.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.1625, allocations: 26.58 kB / 0.5103 GB, free: 3.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1625, allocations: 5.25 kB / 0.5103 GB, free: 3.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001301/0.1627, allocations: 53.88 kB / 0.5104 GB, free: 3.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1627, allocations: 5.5 kB / 0.5104 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1627, allocations: 1.375 kB / 0.5104 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1627, allocations: 1.375 kB / 0.5104 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.1628, allocations: 8.109 kB / 0.5104 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1628, allocations: 1.375 kB / 0.5104 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.163, allocations: 4.125 kB / 0.5104 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.163, allocations: 6.594 kB / 0.5104 GB, free: 3.762 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 7.176e-05/0.1631, allocations: 195.5 kB / 0.5106 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.1631, allocations: 109.8 kB / 0.5107 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.1631, allocations: 105.4 kB / 0.5108 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.1632, allocations: 177.7 kB / 0.511 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/0.1632, allocations: 185.6 kB / 0.5111 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.1633, allocations: 180.2 kB / 0.5113 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1634, allocations: 407.8 kB / 0.5117 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.1634, allocations: 102.6 kB / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.1635, allocations: 110.4 kB / 0.5119 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.954e-05/0.1635, allocations: 180.2 kB / 0.5121 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.1635, allocations: 185.8 kB / 0.5123 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.244e-05/0.1636, allocations: 181.7 kB / 0.5124 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.678e-05/0.1636, allocations: 180.3 kB / 0.5126 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.419e-05/0.1637, allocations: 311.5 kB / 0.5129 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.1637, allocations: 183.7 kB / 0.5131 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.1638, allocations: 181.7 kB / 0.5132 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.1638, allocations: 106.3 kB / 0.5133 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1639, allocations: 184.1 kB / 0.5135 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1639, allocations: 102.2 kB / 0.5136 GB, free: 276 kB / 382.1 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.164, allocations: 83.12 kB / 0.5137 GB, free: 196 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.164, allocations: 1.469 kB / 0.5137 GB, free: 196 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.1643, allocations: 63.39 kB / 0.5138 GB, free: 168 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.0006587/0.165, allocations: 349.3 kB / 0.5141 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.1651, allocations: 11.92 kB / 0.5141 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1651, allocations: 4 kB / 0.5141 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1651, allocations: 0 / 0.5141 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1655, allocations: 463.2 kB / 0.5145 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.1658, allocations: 185.2 kB / 0.5147 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.166, allocations: 0.6729 MB / 0.5154 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.595e-05/0.1661, allocations: 0 / 0.5154 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.1661, allocations: 7.438 kB / 0.5154 GB, free: 14.49 MB / 398.1 MB Notification: Performance of SimCode: time 3.296e-06/0.1661, allocations: 4 kB / 0.5154 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Templates: time 0.004687/0.1708, allocations: 1.74 MB / 0.5171 GB, free: 12.76 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)