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.0007975/0.0007975, allocations: 91.22 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.004998/0.004998, allocations: 170.5 kB / 16.26 MB, free: 6.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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 266.9 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9349/0.9349, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004339, allocations: 17 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 88.55 MB / 0.6851 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00116/0.1612, allocations: 0.959 MB / 0.6861 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1626, allocations: 0.9925 MB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.1626, allocations: 4.75 kB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.1626, allocations: 0 / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1629, allocations: 94.08 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.244e-06/0.1629, allocations: 0 / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.324e-05/0.163, allocations: 4 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.183e-05/0.163, allocations: 0 / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.405e-05/0.163, allocations: 3.984 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.1631, allocations: 4 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.1631, allocations: 2.094 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1633, allocations: 103.9 kB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-06/0.1633, allocations: 0 / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1634, allocations: 33.64 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1635, allocations: 107.8 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1636, allocations: 0 / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1636, allocations: 0.5938 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1636, allocations: 0 / 0.6874 GB, free: 12.7 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.000275/0.1639, allocations: 349.9 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1639, allocations: 8.031 kB / 0.6877 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1639, allocations: 76.22 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1641, allocations: 252.8 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.1641, allocations: 150.9 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.1642, allocations: 151.7 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.118e-05/0.1643, allocations: 108.2 kB / 0.6884 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.1643, allocations: 75.28 kB / 0.6885 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.1643, allocations: 154.5 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.1644, allocations: 150.6 kB / 0.6888 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.1645, allocations: 156 kB / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.1647, allocations: 442.6 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.1648, allocations: 166.9 kB / 0.6895 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.1648, allocations: 84.12 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1648, allocations: 79.94 kB / 0.6897 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1649, allocations: 114.7 kB / 0.6898 GB, free: 10.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.1649, allocations: 0.625 kB / 0.6898 GB, free: 10.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.2e-05/0.165, allocations: 31.23 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.1651, allocations: 126.7 kB / 0.6899 GB, free: 9.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.1651, allocations: 94.39 kB / 0.69 GB, free: 9.805 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.1652, allocations: 25.7 kB / 0.6901 GB, free: 9.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1652, allocations: 84.27 kB / 0.6901 GB, free: 9.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.1652, allocations: 0 / 0.6901 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.1652, allocations: 9.719 kB / 0.6901 GB, free: 9.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1653, allocations: 318.8 kB / 0.6904 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-06/0.1653, allocations: 0 / 0.6904 GB, free: 9.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.1653, allocations: 11.88 kB / 0.6905 GB, free: 9.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.1654, allocations: 75.28 kB / 0.6905 GB, free: 9.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/0.1654, allocations: 79.22 kB / 0.6906 GB, free: 9.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.948e-05/0.1655, allocations: 33.64 kB / 0.6906 GB, free: 9.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.1655, allocations: 83.28 kB / 0.6907 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.1655, allocations: 75.28 kB / 0.6908 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.505e-05/0.1656, allocations: 154.5 kB / 0.6909 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.31e-05/0.1656, allocations: 75.28 kB / 0.691 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-05/0.1657, allocations: 162.5 kB / 0.6912 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.1657, allocations: 79.28 kB / 0.6912 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1658, allocations: 83.33 kB / 0.6913 GB, free: 8.445 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.0001233/0.1659, allocations: 261.7 kB / 0.6916 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.166, allocations: 108.9 kB / 0.6917 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.166, allocations: 104.1 kB / 0.6918 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.884e-05/0.1661, allocations: 184.2 kB / 0.6919 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.079e-05/0.1662, allocations: 184.3 kB / 0.6921 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.488e-05/0.1662, allocations: 180.3 kB / 0.6923 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1664, allocations: 401.2 kB / 0.6927 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-05/0.1665, allocations: 101 kB / 0.6928 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.1665, allocations: 112.9 kB / 0.6929 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.729e-05/0.1666, allocations: 184.3 kB / 0.6931 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.1666, allocations: 180.2 kB / 0.6932 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-05/0.1667, allocations: 176.3 kB / 0.6934 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.791e-05/0.1668, allocations: 184.2 kB / 0.6936 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.1669, allocations: 315.8 kB / 0.6939 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.167, allocations: 193.9 kB / 0.6941 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.1671, allocations: 180.3 kB / 0.6942 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.1671, allocations: 101 kB / 0.6943 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.1672, allocations: 184.2 kB / 0.6945 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.1672, allocations: 105.5 kB / 0.6946 GB, free: 4.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.449e-05/0.1673, allocations: 79.28 kB / 0.6947 GB, free: 4.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1673, allocations: 4 kB / 0.6947 GB, free: 4.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.1676, allocations: 39.92 kB / 0.6947 GB, free: 4.734 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.0005103/0.1681, allocations: 319.6 kB / 0.695 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.448e-05/0.1682, allocations: 3.938 kB / 0.695 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1682, allocations: 0 / 0.695 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.634e-06/0.1682, allocations: 4 kB / 0.695 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1686, allocations: 0.5263 MB / 0.6955 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.1688, allocations: 160 kB / 0.6957 GB, free: 3.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1691, allocations: 0.6692 MB / 0.6964 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.127e-05/0.1691, allocations: 0 / 0.6964 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.1691, allocations: 11.38 kB / 0.6964 GB, free: 3.02 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1691, allocations: 8 kB / 0.6964 GB, free: 3.012 MB / 494.1 MB Notification: Performance of Templates: time 0.003154/0.1723, allocations: 0.9735 MB / 0.6973 GB, free: 2.074 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)