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.001114/0.001113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.772/1.772, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4653/0.4653, allocations: 54.95 MB / 324.7 MB, free: 15.89 MB / 270.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.001688/0.001688, allocations: 63.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1345, allocations: 59.59 MB / 454.9 MB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.2159/0.3504, allocations: 1.259 MB / 456.2 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3524, allocations: 1.506 MB / 457.7 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.3525, allocations: 5.094 kB / 457.7 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.3525, allocations: 1.938 kB / 457.7 MB, free: 38.59 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.0002637/0.3528, allocations: 22.17 kB / 457.7 MB, free: 38.58 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.0006086/0.3534, allocations: 215.3 kB / 457.9 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.3535, allocations: 25.28 kB / 458 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.3535, allocations: 0 / 458 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.3536, allocations: 25.92 kB / 458 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.3537, allocations: 2.938 kB / 458 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3537, allocations: 2.906 kB / 458 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.3539, allocations: 157.5 kB / 458.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.3539, allocations: 10.67 kB / 458.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.354, allocations: 11.5 kB / 458.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3542, allocations: 157.2 kB / 458.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3542, allocations: 0.75 kB / 458.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3542, allocations: 0 / 458.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3542, allocations: 0.6875 kB / 458.3 MB, free: 38.49 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.0003158/0.3545, allocations: 370.8 kB / 458.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3546, allocations: 10.12 kB / 458.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.3546, allocations: 82.12 kB / 458.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.3547, allocations: 244.2 kB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.3548, allocations: 161.3 kB / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.3548, allocations: 154.9 kB / 459.3 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.16e-05/0.3549, allocations: 102.9 kB / 459.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3549, allocations: 80.44 kB / 459.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3549, allocations: 150.6 kB / 459.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.3549, allocations: 150.6 kB / 459.8 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.355, allocations: 155.2 kB / 459.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.3552, allocations: 463.8 kB / 460.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.3552, allocations: 171.5 kB / 460.6 MB, free: 36.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.3553, allocations: 81.17 kB / 460.6 MB, free: 36.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3553, allocations: 79.72 kB / 460.7 MB, free: 36.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3553, allocations: 111 kB / 460.8 MB, free: 35.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3553, allocations: 2.375 kB / 460.8 MB, free: 35.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.717e-05/0.3554, allocations: 30.3 kB / 460.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3554, allocations: 126.7 kB / 461 MB, free: 35.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.3555, allocations: 107 kB / 461.1 MB, free: 35.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.3555, allocations: 29.64 kB / 461.1 MB, free: 35.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.3556, allocations: 81.05 kB / 461.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.3556, allocations: 2.969 kB / 461.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.3556, allocations: 23.19 kB / 461.2 MB, free: 35.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.3557, allocations: 313.6 kB / 461.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.3557, allocations: 2.875 kB / 461.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.3557, allocations: 28.3 kB / 461.6 MB, free: 35.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.3558, allocations: 33.73 kB / 461.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3558, allocations: 0 / 461.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001134/0.3559, allocations: 51.2 kB / 461.6 MB, free: 35.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3559, allocations: 7.438 kB / 461.6 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3559, allocations: 0 / 461.6 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.356, allocations: 2.781 kB / 461.6 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.356, allocations: 2.906 kB / 461.7 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.356, allocations: 7.953 kB / 461.7 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3562, allocations: 8.938 kB / 461.7 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3562, allocations: 2.875 kB / 461.7 MB, free: 35.13 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.128e-05/0.3563, allocations: 192.4 kB / 461.9 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.3563, allocations: 112.5 kB / 462 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.3564, allocations: 114.1 kB / 462.1 MB, free: 34.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/0.3564, allocations: 183.6 kB / 462.3 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-05/0.3564, allocations: 182.7 kB / 462.4 MB, free: 34.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.3565, allocations: 184.4 kB / 462.6 MB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3566, allocations: 404.4 kB / 463 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.3566, allocations: 109.7 kB / 463.1 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.3567, allocations: 101.7 kB / 463.2 MB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.572e-05/0.3567, allocations: 182.3 kB / 463.4 MB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3567, allocations: 178.2 kB / 463.6 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-05/0.3568, allocations: 189.7 kB / 463.8 MB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.66e-05/0.3568, allocations: 177.2 kB / 463.9 MB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.862e-05/0.3569, allocations: 314.7 kB / 464.2 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.3569, allocations: 182.7 kB / 464.4 MB, free: 32.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.357, allocations: 180.6 kB / 464.6 MB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.357, allocations: 101.5 kB / 464.7 MB, free: 32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.3571, allocations: 187.1 kB / 464.9 MB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3571, allocations: 102.9 kB / 465 MB, free: 31.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.039e-05/0.3571, allocations: 83.72 kB / 465.1 MB, free: 31.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 0 / 465.1 MB, free: 31.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.3575, allocations: 50.22 kB / 465.1 MB, free: 31.63 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.0005637/0.358, allocations: 357.9 kB / 465.5 MB, free: 31.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.463e-05/0.3581, allocations: 10.08 kB / 465.5 MB, free: 31.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3581, allocations: 192 / 465.5 MB, free: 31.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3582, allocations: 4 kB / 465.5 MB, free: 31.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3584, allocations: 462.4 kB / 465.9 MB, free: 30.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.3587, allocations: 177.2 kB / 466.1 MB, free: 30.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3588, allocations: 0.6757 MB / 466.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.3589, allocations: 7.422 kB / 466.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.3589, allocations: 10.25 kB / 466.8 MB, free: 30.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3589, allocations: 0 / 466.8 MB, free: 30.11 MB / 382.1 MB Notification: Performance of Templates: time 0.004062/0.363, allocations: 1.736 MB / 468.5 MB, free: 29.97 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)