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.0008762/0.0008758, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007147/0.007147, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.732/1.732, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4234/0.4234, allocations: 55.02 MB / 325.8 MB, free: 492 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.0005823/0.0005828, allocations: 16 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4243, allocations: 60.71 MB / 458 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00175/0.4262, allocations: 0.9884 MB / 459 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.4286, allocations: 1.485 MB / 460.4 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.4286, allocations: 0.75 kB / 460.4 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.4287, allocations: 3.469 kB / 460.4 MB, free: 38.15 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.0002572/0.4289, allocations: 20.3 kB / 460.5 MB, free: 38.14 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.0005735/0.4295, allocations: 188 kB / 460.7 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.4296, allocations: 24.41 kB / 460.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.4296, allocations: 3.375 kB / 460.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.4297, allocations: 16.7 kB / 460.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.4298, allocations: 12.72 kB / 460.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4298, allocations: 2.703 kB / 460.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.4301, allocations: 152 kB / 460.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.4301, allocations: 11.08 kB / 460.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.4301, allocations: 35.61 kB / 460.9 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.4304, allocations: 152.6 kB / 461.1 MB, free: 38.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4304, allocations: 0 / 461.1 MB, free: 38.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4304, allocations: 0 / 461.1 MB, free: 38.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.4304, allocations: 0 / 461.1 MB, free: 38.07 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.0002996/0.4307, allocations: 362.3 kB / 461.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4308, allocations: 16.59 kB / 461.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.4308, allocations: 84.97 kB / 461.5 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.4309, allocations: 237.3 kB / 461.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.431, allocations: 159.8 kB / 461.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.431, allocations: 154.5 kB / 462 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.401e-05/0.4311, allocations: 110.1 kB / 462.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.4311, allocations: 75.97 kB / 462.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.4312, allocations: 153.9 kB / 462.4 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.4312, allocations: 151.4 kB / 462.5 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.4312, allocations: 151.3 kB / 462.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.4314, allocations: 461.4 kB / 463.1 MB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.857e-05/0.4315, allocations: 173.5 kB / 463.3 MB, free: 35.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.4315, allocations: 81.11 kB / 463.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4315, allocations: 78.53 kB / 463.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4315, allocations: 105.9 kB / 463.6 MB, free: 35.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4315, allocations: 0.625 kB / 463.6 MB, free: 35.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.134e-05/0.4316, allocations: 44.47 kB / 463.6 MB, free: 35.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.4317, allocations: 126.7 kB / 463.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.4318, allocations: 109.3 kB / 463.8 MB, free: 35.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4318, allocations: 28.55 kB / 463.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.4318, allocations: 84.08 kB / 463.9 MB, free: 35.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.4318, allocations: 1.297 kB / 463.9 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.4319, allocations: 16.72 kB / 464 MB, free: 35.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.4319, allocations: 310.8 kB / 464.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.432, allocations: 7.062 kB / 464.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.432, allocations: 25.05 kB / 464.3 MB, free: 34.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.4321, allocations: 34.59 kB / 464.3 MB, free: 34.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4321, allocations: 0 / 464.3 MB, free: 34.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001357/0.4322, allocations: 47.61 kB / 464.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4322, allocations: 5.75 kB / 464.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.4322, allocations: 7.5 kB / 464.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4323, allocations: 0 / 464.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.4324, allocations: 8.188 kB / 464.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4324, allocations: 1.766 kB / 464.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4326, allocations: 10.56 kB / 464.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4326, allocations: 2.938 kB / 464.4 MB, free: 34.68 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 8.705e-05/0.4327, allocations: 188.8 kB / 464.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.4327, allocations: 113.5 kB / 464.7 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.4328, allocations: 111.5 kB / 464.8 MB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/0.4328, allocations: 177.7 kB / 465 MB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.795e-05/0.4329, allocations: 180.2 kB / 465.2 MB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-05/0.4329, allocations: 183.1 kB / 465.3 MB, free: 33.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.4331, allocations: 410.9 kB / 465.7 MB, free: 33.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.4331, allocations: 104.5 kB / 465.8 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.4332, allocations: 101 kB / 465.9 MB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-05/0.4332, allocations: 190.6 kB / 466.1 MB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.4333, allocations: 176.3 kB / 466.3 MB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.816e-05/0.4333, allocations: 183.9 kB / 466.5 MB, free: 32.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.134e-05/0.4333, allocations: 179.5 kB / 466.7 MB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.488e-05/0.4334, allocations: 313.8 kB / 467 MB, free: 32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.4335, allocations: 184.8 kB / 467.1 MB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.4335, allocations: 180.2 kB / 467.3 MB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.4336, allocations: 107.8 kB / 467.4 MB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.4337, allocations: 176.3 kB / 467.6 MB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.4337, allocations: 112.4 kB / 467.7 MB, free: 31.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.136e-05/0.4337, allocations: 85.5 kB / 467.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4337, allocations: 1.312 kB / 467.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000354/0.4341, allocations: 60.22 kB / 467.8 MB, free: 31.13 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.0007007/0.4348, allocations: 351.6 kB / 468.2 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.4349, allocations: 19.52 kB / 468.2 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4349, allocations: 0 / 468.2 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.4349, allocations: 0 / 468.2 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.4353, allocations: 0.5264 MB / 468.7 MB, free: 30.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.4356, allocations: 177.5 kB / 468.9 MB, free: 30.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.4358, allocations: 0.6793 MB / 469.6 MB, free: 29.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.613e-05/0.4358, allocations: 3 kB / 469.6 MB, free: 29.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.4359, allocations: 11.44 kB / 469.6 MB, free: 29.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4359, allocations: 0 / 469.6 MB, free: 29.54 MB / 382.1 MB Notification: Performance of Templates: time 0.004458/0.4403, allocations: 1.71 MB / 471.3 MB, free: 29.4 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: