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.001442/0.001442, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001621/0.001622, allocations: 193.5 kB / 16.13 MB, free: 6.699 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 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4033/0.4033, allocations: 54.94 MB / 324.3 MB, free: 116 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.001293/0.001293, allocations: 67.91 kB / 394.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1228, allocations: 59.6 MB / 454.3 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.2105/0.3334, allocations: 1.313 MB / 455.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3352, allocations: 1.507 MB / 457.1 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.3353, allocations: 0.9062 kB / 457.1 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.3353, allocations: 0 / 457.1 MB, free: 38.56 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.0002167/0.3355, allocations: 19.42 kB / 457.1 MB, free: 38.55 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.0004828/0.336, allocations: 191.4 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.3361, allocations: 19.5 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.3361, allocations: 2.625 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.3362, allocations: 19.33 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.3362, allocations: 6.234 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.3363, allocations: 2.625 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.3365, allocations: 160.8 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.3365, allocations: 4.562 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.3365, allocations: 14.31 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.3368, allocations: 155.4 kB / 457.7 MB, free: 38.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3368, allocations: 0 / 457.7 MB, free: 38.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3368, allocations: 0.7188 kB / 457.7 MB, free: 38.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3368, allocations: 0 / 457.7 MB, free: 38.46 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.0002814/0.3371, allocations: 364.2 kB / 458 MB, free: 38.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3371, allocations: 20.34 kB / 458.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.3372, allocations: 80.38 kB / 458.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3373, allocations: 246.3 kB / 458.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3373, allocations: 154.5 kB / 458.5 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.3374, allocations: 154.2 kB / 458.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.774e-05/0.3374, allocations: 106.6 kB / 458.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3374, allocations: 82.56 kB / 458.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.3375, allocations: 150.6 kB / 459 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.3375, allocations: 154.4 kB / 459.2 MB, free: 36.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.3375, allocations: 152.4 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3377, allocations: 457.3 kB / 459.8 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.537e-05/0.3378, allocations: 171.4 kB / 459.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.3378, allocations: 82.11 kB / 460 MB, free: 36.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.3378, allocations: 75.28 kB / 460.1 MB, free: 36.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.3378, allocations: 116.9 kB / 460.2 MB, free: 35.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3378, allocations: 1.094 kB / 460.2 MB, free: 35.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.316e-05/0.3379, allocations: 30.67 kB / 460.2 MB, free: 35.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3379, allocations: 128.8 kB / 460.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.338, allocations: 103.4 kB / 460.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.338, allocations: 25.7 kB / 460.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.3381, allocations: 84.95 kB / 460.6 MB, free: 35.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3381, allocations: 0.7188 kB / 460.6 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.3381, allocations: 22.44 kB / 460.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.3382, allocations: 315.8 kB / 460.9 MB, free: 35.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.3382, allocations: 6.375 kB / 460.9 MB, free: 35.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.3382, allocations: 28.81 kB / 460.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.3383, allocations: 25.23 kB / 460.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3383, allocations: 6.938 kB / 460.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001097/0.3384, allocations: 56.02 kB / 461 MB, free: 35.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3384, allocations: 3.562 kB / 461 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3384, allocations: 4.562 kB / 461 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.3384, allocations: 0 / 461 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.3385, allocations: 7.453 kB / 461 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3385, allocations: 3.281 kB / 461 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.3387, allocations: 11 kB / 461 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3387, allocations: 3.938 kB / 461 MB, free: 35.1 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.48e-05/0.3387, allocations: 199.5 kB / 461.2 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3388, allocations: 110.8 kB / 461.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3388, allocations: 108 kB / 461.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.3388, allocations: 176.3 kB / 461.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/0.3389, allocations: 182.2 kB / 461.8 MB, free: 34.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.3389, allocations: 184.2 kB / 462 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.339, allocations: 410.5 kB / 462.4 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.3391, allocations: 102.1 kB / 462.5 MB, free: 33.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.3391, allocations: 104.4 kB / 462.6 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.608e-05/0.3391, allocations: 185.6 kB / 462.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3391, allocations: 179.7 kB / 462.9 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.171e-05/0.3392, allocations: 176.3 kB / 463.1 MB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.446e-05/0.3392, allocations: 189.1 kB / 463.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.594e-05/0.3393, allocations: 305.8 kB / 463.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.3393, allocations: 184.2 kB / 463.8 MB, free: 32.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3393, allocations: 178.9 kB / 463.9 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.3394, allocations: 105.8 kB / 464 MB, free: 31.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.3394, allocations: 184.7 kB / 464.2 MB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3395, allocations: 106.5 kB / 464.3 MB, free: 31.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.675e-05/0.3395, allocations: 84.89 kB / 464.4 MB, free: 31.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3395, allocations: 0 / 464.4 MB, free: 31.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.3398, allocations: 55.06 kB / 464.5 MB, free: 31.61 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.0004747/0.3403, allocations: 362.3 kB / 464.8 MB, free: 31.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.732e-05/0.3404, allocations: 12.03 kB / 464.8 MB, free: 31.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3404, allocations: 0 / 464.8 MB, free: 31.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.3404, allocations: 6.75 kB / 464.8 MB, free: 31.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3407, allocations: 0.525 MB / 465.4 MB, free: 30.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.3409, allocations: 168.8 kB / 465.5 MB, free: 30.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.341, allocations: 0.6798 MB / 466.2 MB, free: 30.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.059e-05/0.341, allocations: 5.406 kB / 466.2 MB, free: 30.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.071e-05/0.341, allocations: 10.16 kB / 466.2 MB, free: 30.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.341, allocations: 0 / 466.2 MB, free: 30.01 MB / 382.1 MB Notification: Performance of Templates: time 0.003688/0.3447, allocations: 1.717 MB / 467.9 MB, free: 29.87 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)