Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007894/0.0007893, allocations: 97.64 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.004886/0.004886, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 274.4 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9633/0.9633, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004186, allocations: 14.16 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001363/0.171, allocations: 0.9825 MB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.1732, allocations: 1.417 MB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1732, allocations: 0 / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.1733, allocations: 3.938 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1734, allocations: 4 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.174, allocations: 193 kB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.1741, allocations: 21.88 kB / 0.6877 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.1741, allocations: 3.984 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.1742, allocations: 15.98 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1744, allocations: 11.94 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1744, allocations: 3.984 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.1746, allocations: 149.1 kB / 0.6879 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.1746, allocations: 4 kB / 0.6879 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.1747, allocations: 41.61 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1749, allocations: 148 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1749, allocations: 1.375 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.175, allocations: 0 / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.175, allocations: 4 kB / 0.6881 GB, free: 12.07 MB / 494.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.0003925/0.1754, allocations: 352.4 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1754, allocations: 17.16 kB / 0.6884 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.1755, allocations: 80.22 kB / 0.6885 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1757, allocations: 249.2 kB / 0.6887 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.1757, allocations: 154.9 kB / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.1758, allocations: 158.7 kB / 0.689 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.148e-05/0.1759, allocations: 107.9 kB / 0.6891 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.1759, allocations: 75.28 kB / 0.6892 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.176, allocations: 154.5 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.176, allocations: 150.6 kB / 0.6895 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.425e-05/0.1761, allocations: 156.2 kB / 0.6896 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.1764, allocations: 450.5 kB / 0.6901 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.1765, allocations: 174.7 kB / 0.6902 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.1765, allocations: 88.7 kB / 0.6903 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1766, allocations: 76.72 kB / 0.6904 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.1766, allocations: 105.8 kB / 0.6905 GB, free: 9.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1766, allocations: 0.625 kB / 0.6905 GB, free: 9.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.1767, allocations: 33.64 kB / 0.6905 GB, free: 9.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1768, allocations: 130.7 kB / 0.6906 GB, free: 9.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.1769, allocations: 101.8 kB / 0.6907 GB, free: 9.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1769, allocations: 33.7 kB / 0.6908 GB, free: 9.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.1769, allocations: 80.14 kB / 0.6909 GB, free: 9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1769, allocations: 0 / 0.6909 GB, free: 9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.177, allocations: 9.719 kB / 0.6909 GB, free: 8.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1771, allocations: 318.8 kB / 0.6912 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1771, allocations: 3.984 kB / 0.6912 GB, free: 8.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.1771, allocations: 26.58 kB / 0.6912 GB, free: 8.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.1772, allocations: 26.52 kB / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1772, allocations: 0 / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001162/0.1773, allocations: 53.66 kB / 0.6913 GB, free: 8.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1773, allocations: 14.03 kB / 0.6913 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1773, allocations: 0 / 0.6913 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1774, allocations: 0 / 0.6913 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.1774, allocations: 7.984 kB / 0.6913 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1774, allocations: 4 kB / 0.6913 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1776, allocations: 11.84 kB / 0.6913 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.1776, allocations: 0 / 0.6913 GB, free: 8.496 MB / 494.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 0.0001122/0.1777, allocations: 194.4 kB / 0.6915 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.1778, allocations: 112.9 kB / 0.6916 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1778, allocations: 108.1 kB / 0.6917 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.795e-05/0.1779, allocations: 180.2 kB / 0.6919 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-05/0.178, allocations: 176.3 kB / 0.692 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.105e-05/0.1781, allocations: 184.3 kB / 0.6922 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1783, allocations: 421 kB / 0.6926 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/0.1784, allocations: 101 kB / 0.6927 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.1784, allocations: 117 kB / 0.6928 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.118e-05/0.1785, allocations: 176.3 kB / 0.693 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.1786, allocations: 180.5 kB / 0.6932 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-05/0.1786, allocations: 184.3 kB / 0.6933 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.186e-05/0.1787, allocations: 184.5 kB / 0.6935 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.1789, allocations: 315.7 kB / 0.6938 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.179, allocations: 182 kB / 0.694 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.179, allocations: 176.3 kB / 0.6942 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.1791, allocations: 109 kB / 0.6943 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.1792, allocations: 184.2 kB / 0.6944 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.1792, allocations: 101 kB / 0.6945 GB, free: 4.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.1793, allocations: 83.28 kB / 0.6946 GB, free: 4.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1793, allocations: 0 / 0.6946 GB, free: 4.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1796, allocations: 51.98 kB / 0.6947 GB, free: 4.828 MB / 494.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.0005893/0.1802, allocations: 340.1 kB / 0.695 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.1803, allocations: 19.92 kB / 0.695 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1803, allocations: 0 / 0.695 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1803, allocations: 0 / 0.695 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1807, allocations: 0.5185 MB / 0.6955 GB, free: 3.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.181, allocations: 186.3 kB / 0.6957 GB, free: 3.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1812, allocations: 0.673 MB / 0.6964 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.1813, allocations: 7.938 kB / 0.6964 GB, free: 3.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.1813, allocations: 7.438 kB / 0.6964 GB, free: 3.059 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1813, allocations: 0 / 0.6964 GB, free: 3.059 MB / 494.1 MB Notification: Performance of Templates: time 0.004091/0.1854, allocations: 1.6 MB / 0.6979 GB, free: 1.496 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)