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.0009713/0.0009713, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001064/0.001064, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 259 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 12.69 kB / 0.598 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.163, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001212/0.1642, allocations: 0.992 MB / 0.6854 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1661, allocations: 1.353 MB / 0.6868 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.1662, allocations: 0 / 0.6868 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.1662, allocations: 0.75 kB / 0.6868 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1664, allocations: 11.94 kB / 0.6868 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.1669, allocations: 178.8 kB / 0.6869 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.167, allocations: 19.92 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.167, allocations: 9.891 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.1671, allocations: 16 kB / 0.687 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.1672, allocations: 11.92 kB / 0.687 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1672, allocations: 0 / 0.687 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1674, allocations: 139.8 kB / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1674, allocations: 10.47 kB / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.1675, allocations: 25.7 kB / 0.6872 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1677, allocations: 104 kB / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1677, allocations: 4 kB / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1677, allocations: 0 / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1677, allocations: 0 / 0.6873 GB, free: 12.57 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.0003268/0.168, allocations: 359.9 kB / 0.6876 GB, free: 12.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1681, allocations: 8.562 kB / 0.6876 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1681, allocations: 80.44 kB / 0.6877 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1683, allocations: 242.2 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.1683, allocations: 156.1 kB / 0.6881 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.1684, allocations: 150.6 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.132e-05/0.1685, allocations: 105.7 kB / 0.6883 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.1685, allocations: 77 kB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.1686, allocations: 166.5 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.1686, allocations: 155 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.1687, allocations: 153.3 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.169, allocations: 453.9 kB / 0.6893 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.853e-05/0.169, allocations: 170.9 kB / 0.6894 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.1691, allocations: 80.14 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1691, allocations: 79.28 kB / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.1692, allocations: 110.6 kB / 0.6897 GB, free: 9.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1692, allocations: 0.875 kB / 0.6897 GB, free: 9.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.887e-05/0.1692, allocations: 29.64 kB / 0.6897 GB, free: 9.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.1693, allocations: 128.7 kB / 0.6899 GB, free: 9.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.1694, allocations: 105.8 kB / 0.69 GB, free: 9.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1694, allocations: 29.64 kB / 0.69 GB, free: 9.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.1695, allocations: 88.8 kB / 0.6901 GB, free: 9.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.1695, allocations: 0 / 0.6901 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.1695, allocations: 4 kB / 0.6901 GB, free: 9.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1696, allocations: 318.8 kB / 0.6904 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.1696, allocations: 4 kB / 0.6904 GB, free: 9.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.1697, allocations: 22.58 kB / 0.6904 GB, free: 9.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.1697, allocations: 7.984 kB / 0.6904 GB, free: 9.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1697, allocations: 0 / 0.6904 GB, free: 9.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001165/0.1698, allocations: 49.64 kB / 0.6905 GB, free: 9.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1699, allocations: 9.406 kB / 0.6905 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1699, allocations: 0 / 0.6905 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1699, allocations: 0 / 0.6905 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.17, allocations: 7.984 kB / 0.6905 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.17, allocations: 4 kB / 0.6905 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1701, allocations: 11.84 kB / 0.6905 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.1701, allocations: 0 / 0.6905 GB, free: 9.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1702, allocations: 205.8 kB / 0.6907 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.1703, allocations: 101 kB / 0.6908 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.1703, allocations: 108.1 kB / 0.6909 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/0.1704, allocations: 180.2 kB / 0.6911 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/0.1705, allocations: 176.5 kB / 0.6912 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/0.1706, allocations: 188.2 kB / 0.6914 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1708, allocations: 409.2 kB / 0.6918 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.1708, allocations: 108.9 kB / 0.6919 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1709, allocations: 104.9 kB / 0.692 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-05/0.1709, allocations: 184.3 kB / 0.6922 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.171, allocations: 184.2 kB / 0.6923 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.417e-05/0.1711, allocations: 180.3 kB / 0.6925 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.034e-05/0.1711, allocations: 184.2 kB / 0.6927 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1712, allocations: 308 kB / 0.693 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.1713, allocations: 186 kB / 0.6932 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.1714, allocations: 184.2 kB / 0.6933 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1715, allocations: 101 kB / 0.6934 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.1715, allocations: 184.2 kB / 0.6936 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.1716, allocations: 101 kB / 0.6937 GB, free: 5.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.1716, allocations: 87.27 kB / 0.6938 GB, free: 5.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1716, allocations: 0 / 0.6938 GB, free: 5.434 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1719, allocations: 48 kB / 0.6938 GB, free: 5.387 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 (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.0005425/0.1725, allocations: 352.9 kB / 0.6942 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.943e-05/0.1726, allocations: 19.92 kB / 0.6942 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1726, allocations: 0 / 0.6942 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1726, allocations: 0 / 0.6942 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1729, allocations: 0.5187 MB / 0.6947 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.1732, allocations: 181.8 kB / 0.6949 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.1734, allocations: 0.677 MB / 0.6955 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.467e-05/0.1734, allocations: 0 / 0.6955 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.1735, allocations: 11.44 kB / 0.6955 GB, free: 3.613 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1735, allocations: 0 / 0.6955 GB, free: 3.613 MB / 494.1 MB Notification: Performance of Templates: time 0.003775/0.1772, allocations: 1.544 MB / 0.6971 GB, free: 2.105 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)