Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001467, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001574/0.001574, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 295.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.2 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 101.8 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1622, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002102/0.1644, allocations: 1.238 MB / 0.6828 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1656, allocations: 1.008 MB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.1657, allocations: 0 / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.1657, allocations: 0 / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.1661, allocations: 103.6 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.1661, allocations: 0 / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.67e-05/0.1662, allocations: 7.938 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.1662, allocations: 0 / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.173e-05/0.1662, allocations: 0 / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.1663, allocations: 7.938 kB / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.1663, allocations: 0 / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.1665, allocations: 135.8 kB / 0.6841 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-06/0.1666, allocations: 4 kB / 0.6841 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.1666, allocations: 0 / 0.6841 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1668, allocations: 95.89 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1668, allocations: 7.938 kB / 0.6842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1668, allocations: 0 / 0.6842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1668, allocations: 0 / 0.6842 GB, free: 4.816 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.0003405/0.1672, allocations: 351.5 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1672, allocations: 15.97 kB / 0.6845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.1673, allocations: 76.22 kB / 0.6846 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1675, allocations: 239.7 kB / 0.6848 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.1675, allocations: 150.9 kB / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.1676, allocations: 150.9 kB / 0.6851 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.036e-05/0.1677, allocations: 109.1 kB / 0.6852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.1677, allocations: 75.28 kB / 0.6853 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.1678, allocations: 162.5 kB / 0.6854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/0.1678, allocations: 150.6 kB / 0.6856 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.1679, allocations: 158.5 kB / 0.6857 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.1682, allocations: 442 kB / 0.6861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.292e-05/0.1683, allocations: 177.9 kB / 0.6863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.1683, allocations: 80.14 kB / 0.6864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1683, allocations: 75.28 kB / 0.6865 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.1684, allocations: 109.8 kB / 0.6866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 4.178e-06/0.1684, allocations: 0 / 0.6866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.963e-05/0.1685, allocations: 37.56 kB / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1685, allocations: 130.7 kB / 0.6867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1686, allocations: 97.86 kB / 0.6868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.1687, allocations: 25.7 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.1687, allocations: 84.14 kB / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/0.1687, allocations: 0 / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.1687, allocations: 9.719 kB / 0.6869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1689, allocations: 310.8 kB / 0.6872 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.1689, allocations: 0 / 0.6872 GB, free: 1.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.1689, allocations: 4.125 kB / 0.6872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.169, allocations: 79.28 kB / 0.6873 GB, free: 1.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/0.169, allocations: 79.27 kB / 0.6874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.329e-05/0.169, allocations: 33.58 kB / 0.6874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.1691, allocations: 83.28 kB / 0.6875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.1691, allocations: 79.28 kB / 0.6876 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.64e-05/0.1692, allocations: 154.5 kB / 0.6877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.566e-05/0.1693, allocations: 83.34 kB / 0.6878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.284e-05/0.1693, allocations: 154.6 kB / 0.6879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.1694, allocations: 83.22 kB / 0.688 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1694, allocations: 79.27 kB / 0.6881 GB, free: 0.5352 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001073/0.1695, allocations: 256.4 kB / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.1696, allocations: 116.9 kB / 0.6885 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.1697, allocations: 108.1 kB / 0.6886 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2361/0.4058, allocations: 176.3 kB / 0.6887 GB, free: 18.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/0.4058, allocations: 184.3 kB / 0.6889 GB, free: 18.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.4059, allocations: 177.4 kB / 0.6891 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.406, allocations: 405.9 kB / 0.6895 GB, free: 17.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.406, allocations: 103.6 kB / 0.6896 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.4061, allocations: 109.4 kB / 0.6897 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/0.4061, allocations: 179.4 kB / 0.6898 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.4061, allocations: 180.3 kB / 0.69 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.041e-05/0.4061, allocations: 183.3 kB / 0.6902 GB, free: 16.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-05/0.4062, allocations: 178.5 kB / 0.6904 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.469e-05/0.4062, allocations: 306.1 kB / 0.6906 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.4063, allocations: 187.8 kB / 0.6908 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.4063, allocations: 181.6 kB / 0.691 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.4064, allocations: 109.5 kB / 0.6911 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.4064, allocations: 181.4 kB / 0.6913 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.4064, allocations: 103.5 kB / 0.6914 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.4065, allocations: 78.31 kB / 0.6914 GB, free: 15.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4065, allocations: 1.375 kB / 0.6914 GB, free: 15.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.4068, allocations: 37.69 kB / 0.6915 GB, free: 15.45 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.0004516/0.4073, allocations: 318.3 kB / 0.6918 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.827e-05/0.4073, allocations: 9.469 kB / 0.6918 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4074, allocations: 1.125 kB / 0.6918 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.4074, allocations: 4.75 kB / 0.6918 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4076, allocations: 456.3 kB / 0.6922 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.4078, allocations: 162.3 kB / 0.6924 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.4079, allocations: 0.6725 MB / 0.693 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.664e-06/0.4079, allocations: 3.609 kB / 0.6931 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-06/0.4079, allocations: 8.688 kB / 0.6931 GB, free: 13.96 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4079, allocations: 2.75 kB / 0.6931 GB, free: 13.96 MB / 494.1 MB Notification: Performance of Templates: time 0.003079/0.411, allocations: 0.9965 MB / 0.694 GB, free: 13.9 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)