Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.4 MB / 303.6 MB, free: 8.113 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.001139/0.001139, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.629/1.629, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0009867/0.0009867, allocations: 94.3 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004269, allocations: 12.16 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2551, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001428/0.2566, allocations: 0.9862 MB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2584, allocations: 1.45 MB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.2585, allocations: 0 / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.2585, allocations: 0 / 0.9825 GB, free: 24.89 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.0002407/0.2588, allocations: 19.97 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.0005345/0.2593, allocations: 194.9 kB / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.2594, allocations: 19.92 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.2594, allocations: 0 / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.2595, allocations: 27.91 kB / 0.9828 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2596, allocations: 9.031 kB / 0.9828 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2596, allocations: 0 / 0.9828 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.2598, allocations: 151.8 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.2599, allocations: 4 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.2599, allocations: 37.58 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2601, allocations: 103.8 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2601, allocations: 0 / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2601, allocations: 0 / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.2601, allocations: 4 kB / 0.9831 GB, free: 24.33 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.0003156/0.2604, allocations: 359.8 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2605, allocations: 12.03 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.2605, allocations: 80.12 kB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2606, allocations: 247.7 kB / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.2607, allocations: 150.9 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.2607, allocations: 158.7 kB / 0.984 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.693e-05/0.2608, allocations: 105 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2608, allocations: 79.22 kB / 0.9842 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.2608, allocations: 150.6 kB / 0.9843 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.2609, allocations: 154.6 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.2609, allocations: 150.6 kB / 0.9846 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.2611, allocations: 453.9 kB / 0.9851 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.2612, allocations: 169.1 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.2612, allocations: 88.02 kB / 0.9853 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2612, allocations: 75.28 kB / 0.9854 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2612, allocations: 113.8 kB / 0.9855 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.2612, allocations: 4 kB / 0.9855 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.975e-05/0.2613, allocations: 29.7 kB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2614, allocations: 126.7 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.2614, allocations: 101.8 kB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.2615, allocations: 29.7 kB / 0.9858 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.2615, allocations: 80.14 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.2615, allocations: 0 / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2615, allocations: 0 / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.2616, allocations: 322.8 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.2616, allocations: 7.938 kB / 0.9862 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.2616, allocations: 26.56 kB / 0.9862 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.2617, allocations: 26.52 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2617, allocations: 0 / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.2618, allocations: 61.47 kB / 0.9863 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2618, allocations: 4 kB / 0.9863 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2618, allocations: 4 kB / 0.9863 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2619, allocations: 3.938 kB / 0.9863 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.2619, allocations: 4 kB / 0.9863 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2619, allocations: 0 / 0.9863 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.2621, allocations: 7.984 kB / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2621, allocations: 4 kB / 0.9863 GB, free: 20.77 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 9.066e-05/0.2622, allocations: 201.1 kB / 0.9865 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.2623, allocations: 104.9 kB / 0.9866 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.2623, allocations: 112.3 kB / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.051e-05/0.2624, allocations: 180.3 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.232e-05/0.2624, allocations: 184.2 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/0.2625, allocations: 180.3 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2626, allocations: 409.2 kB / 0.9876 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/0.2627, allocations: 108.9 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.2627, allocations: 101 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.617e-05/0.2628, allocations: 192.2 kB / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.2628, allocations: 176.3 kB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.529e-05/0.2628, allocations: 180.3 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.241e-05/0.2629, allocations: 180.4 kB / 0.9885 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.263, allocations: 315.7 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.2631, allocations: 182.1 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.2631, allocations: 180.3 kB / 0.9891 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.2632, allocations: 104.9 kB / 0.9892 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.2632, allocations: 180.4 kB / 0.9894 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2633, allocations: 116.9 kB / 0.9895 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.712e-05/0.2633, allocations: 79.28 kB / 0.9896 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2633, allocations: 0 / 0.9896 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003264/0.2636, allocations: 59.92 kB / 0.9897 GB, free: 17.1 MB / 0.6198 GB 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.0006781/0.2643, allocations: 357.5 kB / 0.99 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.2644, allocations: 11.98 kB / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2644, allocations: 0 / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.2645, allocations: 3.938 kB / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.2648, allocations: 0.5223 MB / 0.9905 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.2651, allocations: 190 kB / 0.9907 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.2653, allocations: 0.6692 MB / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.2653, allocations: 4 kB / 0.9914 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.2654, allocations: 7.438 kB / 0.9914 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2654, allocations: 0 / 0.9914 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.004099/0.2695, allocations: 1.711 MB / 0.993 GB, free: 13.64 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)