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.001058/0.001058, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.002131/0.002132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 222.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5424/0.5424, allocations: 55.01 MB / 325.4 MB, free: 0.6328 MB / 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.0005989/0.0005997, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4581, allocations: 60.72 MB / 457.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00121/0.4594, allocations: 0.9815 MB / 458.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.4612, allocations: 1.415 MB / 459.8 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.4613, allocations: 0 / 459.8 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.4613, allocations: 1.234 kB / 459.8 MB, free: 37.99 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.0002104/0.4615, allocations: 20.14 kB / 459.8 MB, free: 37.98 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.0005171/0.462, allocations: 196.9 kB / 460 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.833e-05/0.4621, allocations: 18.5 kB / 460 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.4621, allocations: 0.5938 kB / 460 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.4622, allocations: 19.94 kB / 460 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.4623, allocations: 8.875 kB / 460 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4623, allocations: 0 / 460 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.4625, allocations: 145.3 kB / 460.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.4625, allocations: 5.891 kB / 460.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.4625, allocations: 33.97 kB / 460.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4627, allocations: 109.2 kB / 460.3 MB, free: 37.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4627, allocations: 3.562 kB / 460.3 MB, free: 37.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4627, allocations: 0 / 460.3 MB, free: 37.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.4627, allocations: 0.5312 kB / 460.3 MB, free: 37.9 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.0002734/0.463, allocations: 359.3 kB / 460.7 MB, free: 37.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.463, allocations: 8.656 kB / 460.7 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.4631, allocations: 86.62 kB / 460.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4632, allocations: 240.4 kB / 461 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.4632, allocations: 150.6 kB / 461.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.4633, allocations: 153.5 kB / 461.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.916e-05/0.4633, allocations: 101.5 kB / 461.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4633, allocations: 81.11 kB / 461.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.4634, allocations: 161.7 kB / 461.6 MB, free: 36.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.4634, allocations: 151.8 kB / 461.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.4634, allocations: 152.1 kB / 461.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.4636, allocations: 453.6 kB / 462.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.4637, allocations: 175.4 kB / 462.5 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.4637, allocations: 80.8 kB / 462.6 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.4637, allocations: 81.61 kB / 462.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4638, allocations: 106.3 kB / 462.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.4638, allocations: 5.031 kB / 462.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.666e-05/0.4638, allocations: 37.55 kB / 462.8 MB, free: 35.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.4639, allocations: 134.1 kB / 463 MB, free: 35.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/0.464, allocations: 101.8 kB / 463.1 MB, free: 35.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.464, allocations: 29.45 kB / 463.1 MB, free: 35.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.464, allocations: 85.39 kB / 463.2 MB, free: 34.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.464, allocations: 0 / 463.2 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.464, allocations: 0 / 463.2 MB, free: 34.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.4641, allocations: 317.7 kB / 463.5 MB, free: 34.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.4641, allocations: 0 / 463.5 MB, free: 34.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.4641, allocations: 34.2 kB / 463.5 MB, free: 34.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.4642, allocations: 9.594 kB / 463.5 MB, free: 34.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4642, allocations: 1.125 kB / 463.5 MB, free: 34.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001084/0.4643, allocations: 49.31 kB / 463.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.4643, allocations: 5.938 kB / 463.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4643, allocations: 1.406 kB / 463.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.4643, allocations: 2.875 kB / 463.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.4644, allocations: 2.875 kB / 463.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4644, allocations: 9.562 kB / 463.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.4645, allocations: 6.219 kB / 463.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4646, allocations: 3.625 kB / 463.6 MB, free: 34.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.4646, allocations: 188.3 kB / 463.8 MB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.4647, allocations: 111.5 kB / 463.9 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.4647, allocations: 108 kB / 464 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.4647, allocations: 183.4 kB / 464.2 MB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/0.4648, allocations: 179.7 kB / 464.4 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/0.4648, allocations: 184.6 kB / 464.6 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.465, allocations: 406.4 kB / 465 MB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.465, allocations: 104.4 kB / 465.1 MB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.465, allocations: 107.4 kB / 465.2 MB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-05/0.465, allocations: 181.4 kB / 465.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.4651, allocations: 179.4 kB / 465.5 MB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.559e-05/0.4651, allocations: 183.6 kB / 465.7 MB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-05/0.4651, allocations: 179.7 kB / 465.9 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.4652, allocations: 309.2 kB / 466.2 MB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.4653, allocations: 192.2 kB / 466.4 MB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.4653, allocations: 181.5 kB / 466.5 MB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.4654, allocations: 104.6 kB / 466.6 MB, free: 31.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.4654, allocations: 185 kB / 466.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4654, allocations: 104.3 kB / 466.9 MB, free: 31.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.4655, allocations: 83.44 kB / 467 MB, free: 31.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4655, allocations: 0 / 467 MB, free: 31.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.4658, allocations: 59.62 kB / 467.1 MB, free: 31.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000594/0.4664, allocations: 353.4 kB / 467.4 MB, free: 30.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.731e-05/0.4665, allocations: 15.8 kB / 467.4 MB, free: 30.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4665, allocations: 0 / 467.4 MB, free: 30.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.4665, allocations: 0 / 467.4 MB, free: 30.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.4668, allocations: 0.53 MB / 467.9 MB, free: 30.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.4671, allocations: 181.7 kB / 468.1 MB, free: 30.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.4672, allocations: 0.6779 MB / 468.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.587e-05/0.4673, allocations: 6.516 kB / 468.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.4673, allocations: 10.34 kB / 468.8 MB, free: 29.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4673, allocations: 0 / 468.8 MB, free: 29.44 MB / 382.1 MB Notification: Performance of Templates: time 0.004072/0.4714, allocations: 1.652 MB / 470.5 MB, free: 29.31 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: