Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007669/0.000767, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005399/0.005399, allocations: 170.4 kB / 16.26 MB, free: 6.676 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.582/1.582, 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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: Performance of FrontEnd - loaded program: time 0.000591/0.000591, allocations: 21.62 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2556, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001438/0.2571, allocations: 0.9937 MB / 0.7889 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.2597, allocations: 1.493 MB / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.2597, allocations: 0 / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.2598, allocations: 3.984 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.000258/0.26, allocations: 15.98 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.000846/0.2609, allocations: 202.5 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.261, allocations: 19.94 kB / 0.7905 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.261, allocations: 3.984 kB / 0.7905 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2611, allocations: 15.92 kB / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2613, allocations: 8 kB / 0.7906 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2613, allocations: 4 kB / 0.7906 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.2617, allocations: 163.8 kB / 0.7907 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.2617, allocations: 3.984 kB / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.2617, allocations: 37.64 kB / 0.7908 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.2621, allocations: 155.7 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2621, allocations: 4 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2621, allocations: 0 / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2621, allocations: 0 / 0.7909 GB, free: 8.426 MB / 0.6075 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.0003708/0.2625, allocations: 363.8 kB / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2625, allocations: 8.031 kB / 0.7913 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.2626, allocations: 88.12 kB / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.2627, allocations: 239.7 kB / 0.7916 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.2628, allocations: 154.9 kB / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.2629, allocations: 154.7 kB / 0.7919 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.982e-05/0.2629, allocations: 101 kB / 0.792 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.263, allocations: 83.28 kB / 0.7921 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.263, allocations: 154.6 kB / 0.7922 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.2631, allocations: 150.6 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.2631, allocations: 154.5 kB / 0.7925 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.2634, allocations: 449.9 kB / 0.7929 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.2635, allocations: 173.1 kB / 0.7931 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.2635, allocations: 88.08 kB / 0.7932 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.2636, allocations: 75.28 kB / 0.7932 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.2636, allocations: 117.8 kB / 0.7934 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.2636, allocations: 0 / 0.7934 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.779e-05/0.2637, allocations: 25.7 kB / 0.7934 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.2638, allocations: 134.6 kB / 0.7935 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2639, allocations: 105.8 kB / 0.7936 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2639, allocations: 25.7 kB / 0.7936 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.264, allocations: 88.14 kB / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.264, allocations: 0 / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.264, allocations: 9.719 kB / 0.7937 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2641, allocations: 310.8 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.2641, allocations: 4 kB / 0.794 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.2642, allocations: 42.44 kB / 0.7941 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.2642, allocations: 18.58 kB / 0.7941 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2643, allocations: 0 / 0.7941 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001398/0.2644, allocations: 57.47 kB / 0.7941 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2644, allocations: 14.91 kB / 0.7942 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2644, allocations: 0 / 0.7942 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2645, allocations: 0 / 0.7942 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.2645, allocations: 4 kB / 0.7942 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2646, allocations: 7.922 kB / 0.7942 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2647, allocations: 4 kB / 0.7942 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2647, allocations: 8 kB / 0.7942 GB, free: 4.836 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.2648, allocations: 189.7 kB / 0.7944 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.2649, allocations: 112.9 kB / 0.7945 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.265, allocations: 108 kB / 0.7946 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-05/0.265, allocations: 184.3 kB / 0.7947 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-05/0.2651, allocations: 176.3 kB / 0.7949 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/0.2652, allocations: 180.2 kB / 0.7951 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.2654, allocations: 413.2 kB / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/0.2654, allocations: 109 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.2655, allocations: 101 kB / 0.7957 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.077e-05/0.2655, allocations: 184.5 kB / 0.7959 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.2656, allocations: 180.2 kB / 0.796 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/0.2657, allocations: 180.5 kB / 0.7962 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.454e-05/0.2657, allocations: 188.2 kB / 0.7964 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.2659, allocations: 311.8 kB / 0.7967 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.266, allocations: 186 kB / 0.7969 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.266, allocations: 180.3 kB / 0.797 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.2661, allocations: 108.9 kB / 0.7971 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.2662, allocations: 180.3 kB / 0.7973 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.2663, allocations: 105 kB / 0.7974 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.2663, allocations: 87.22 kB / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2663, allocations: 0 / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003492/0.2667, allocations: 51.92 kB / 0.7975 GB, free: 1.168 MB / 0.6075 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 (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.0005933/0.2673, allocations: 352 kB / 0.7979 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.2674, allocations: 15.98 kB / 0.7979 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2674, allocations: 0 / 0.7979 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.2674, allocations: 0 / 0.7979 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.2677, allocations: 0.5262 MB / 0.7984 GB, free: 312 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.268, allocations: 186.2 kB / 0.7986 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2682, allocations: 0.6692 MB / 0.7992 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.2683, allocations: 7.984 kB / 0.7992 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.2683, allocations: 11.44 kB / 0.7993 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2683, allocations: 0 / 0.7993 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.004377/0.2727, allocations: 1.715 MB / 0.8009 GB, free: 13.69 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) Environment - environmentSimulation: