Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.708/1.708, allocations: 287.4 MB / 303.2 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 178.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007803/0.0007802, allocations: 88.67 kB / 0.7438 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.000479, allocations: 12.03 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001467/0.2781, allocations: 0.9832 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2802, allocations: 1.442 MB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.2802, allocations: 0 / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.2803, allocations: 0 / 0.9816 GB, free: 25.76 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.2805, allocations: 11.98 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.2811, allocations: 195 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.2812, allocations: 19.92 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.2812, allocations: 4 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.2813, allocations: 19.92 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2815, allocations: 7.984 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2815, allocations: 0 / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.2818, allocations: 143.8 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.2818, allocations: 7.984 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.2818, allocations: 25.7 kB / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.282, allocations: 115.8 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.974e-06/0.282, allocations: 4 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.282, allocations: 0 / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.282, allocations: 0 / 0.9822 GB, free: 25.21 MB / 0.6198 GB 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.0003464/0.2824, allocations: 363.6 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.2825, allocations: 8.031 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.2825, allocations: 80.12 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2827, allocations: 247.6 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.2827, allocations: 154.9 kB / 0.983 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.2827, allocations: 158.7 kB / 0.9831 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.289e-05/0.2828, allocations: 101 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2828, allocations: 79.28 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.2829, allocations: 150.6 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.2829, allocations: 154.6 kB / 0.9836 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.2829, allocations: 158.5 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.2832, allocations: 453.9 kB / 0.9842 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.745e-05/0.2833, allocations: 169.1 kB / 0.9844 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.2833, allocations: 88.12 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.2833, allocations: 83.28 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.2834, allocations: 109.8 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.2834, allocations: 0 / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.234e-05/0.2834, allocations: 33.64 kB / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.2835, allocations: 51.41 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.2835, allocations: 105.8 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2836, allocations: 25.7 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.2836, allocations: 88.14 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.2836, allocations: 0 / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.2836, allocations: 0 / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.2837, allocations: 314.8 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.2837, allocations: 0 / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.2838, allocations: 30.56 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.2838, allocations: 26.52 kB / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2838, allocations: 0 / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001112/0.2839, allocations: 61.41 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2839, allocations: 8 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.284, allocations: 0 / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.284, allocations: 144 / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.2841, allocations: 4 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.2841, allocations: 12.08 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.2842, allocations: 7.984 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2843, allocations: 3.984 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB 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 8.817e-05/0.2844, allocations: 201 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.2844, allocations: 104.9 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.2844, allocations: 112.1 kB / 0.9858 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/0.2845, allocations: 184.2 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/0.2845, allocations: 101 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.2846, allocations: 186 kB / 0.9862 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.2846, allocations: 188.2 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.2847, allocations: 101 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.2848, allocations: 180.2 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.071e-05/0.2848, allocations: 263.5 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001255/0.285, allocations: 379 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.903e-05/0.285, allocations: 105 kB / 0.9874 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.285, allocations: 83.28 kB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of Backend: time 1.202e-06/0.285, allocations: 0 / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008599/0.2859, allocations: 274.3 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004317/0.2863, allocations: 0.9221 MB / 0.9886 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.003918/0.2903, allocations: 1.693 MB / 0.9903 GB, free: 16.57 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)