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.001838/0.001838, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002144/0.002144, allocations: 197.8 kB / 16.14 MB, free: 6.723 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 288 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 105.4 kB / 0.6057 GB, free: 25.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1586, allocations: 89.15 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002505/0.1612, allocations: 1.302 MB / 0.6941 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1628, allocations: 0.9938 MB / 0.695 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.1628, allocations: 0 / 0.695 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.1629, allocations: 7.922 kB / 0.695 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.1632, allocations: 83.81 kB / 0.6951 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.164e-06/0.1632, allocations: 0 / 0.6951 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.42e-05/0.1633, allocations: 15.92 kB / 0.6951 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.1633, allocations: 0 / 0.6951 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.298e-05/0.1633, allocations: 0 / 0.6951 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.1634, allocations: 4 kB / 0.6951 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-06/0.1635, allocations: 0 / 0.6951 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.1637, allocations: 115.8 kB / 0.6953 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.1637, allocations: 3.938 kB / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.1637, allocations: 3.984 kB / 0.6953 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1639, allocations: 103.8 kB / 0.6954 GB, free: 2.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1639, allocations: 0 / 0.6954 GB, free: 2.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1639, allocations: 0 / 0.6954 GB, free: 2.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1639, allocations: 7.938 kB / 0.6954 GB, free: 2.18 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.0003515/0.1643, allocations: 343.9 kB / 0.6957 GB, free: 1.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1643, allocations: 12.03 kB / 0.6957 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1644, allocations: 76.22 kB / 0.6958 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1646, allocations: 239.6 kB / 0.696 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.1647, allocations: 154.9 kB / 0.6962 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.1647, allocations: 154.9 kB / 0.6963 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.453e-05/0.1648, allocations: 109.1 kB / 0.6964 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.1649, allocations: 79.27 kB / 0.6965 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.1649, allocations: 150.6 kB / 0.6966 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.165, allocations: 150.6 kB / 0.6968 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.1651, allocations: 158.5 kB / 0.6969 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.1654, allocations: 445.9 kB / 0.6973 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1655, allocations: 173.1 kB / 0.6975 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.1656, allocations: 80.14 kB / 0.6976 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1656, allocations: 75.28 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.1657, allocations: 113.8 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1657, allocations: 0 / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.88e-05/0.1658, allocations: 37.55 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.1658, allocations: 130.7 kB / 0.6979 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.1659, allocations: 97.8 kB / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.166, allocations: 29.7 kB / 0.6981 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.166, allocations: 80.27 kB / 0.6981 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.166, allocations: 4 kB / 0.6981 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.166, allocations: 9.719 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1662, allocations: 310.8 kB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/0.1662, allocations: 0 / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-06/0.1662, allocations: 0 / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.1662, allocations: 79.28 kB / 0.6985 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.928e-05/0.1663, allocations: 75.28 kB / 0.6986 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.526e-05/0.1663, allocations: 37.56 kB / 0.6986 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.1664, allocations: 88.53 kB / 0.6987 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.1664, allocations: 75.28 kB / 0.6988 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.799e-05/0.1665, allocations: 154.6 kB / 0.6989 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.1666, allocations: 79.22 kB / 0.699 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.28e-05/0.1666, allocations: 150.6 kB / 0.6991 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.1667, allocations: 87.27 kB / 0.6992 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1667, allocations: 79.28 kB / 0.6993 GB, free: 13.91 MB / 0.4981 GB 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.0001305/0.1669, allocations: 260.4 kB / 0.6996 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.167, allocations: 112.9 kB / 0.6997 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.167, allocations: 112 kB / 0.6998 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-05/0.1671, allocations: 176.3 kB / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-05/0.1672, allocations: 188.2 kB / 0.7001 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.798e-05/0.1673, allocations: 184.2 kB / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1675, allocations: 397.2 kB / 0.7007 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.367e-05/0.1676, allocations: 104.9 kB / 0.7008 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.1676, allocations: 112.9 kB / 0.7009 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-05/0.1677, allocations: 180.2 kB / 0.701 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/0.1678, allocations: 180.3 kB / 0.7012 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.682e-05/0.1679, allocations: 180.2 kB / 0.7014 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.481e-05/0.168, allocations: 180.3 kB / 0.7016 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1681, allocations: 303.8 kB / 0.7019 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.1682, allocations: 194 kB / 0.702 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.1683, allocations: 180.2 kB / 0.7022 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.1684, allocations: 109 kB / 0.7023 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.1685, allocations: 180.3 kB / 0.7025 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.1685, allocations: 109.3 kB / 0.7026 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.1686, allocations: 79.28 kB / 0.7027 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1686, allocations: 0 / 0.7027 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000339/0.1689, allocations: 43.98 kB / 0.7027 GB, free: 10.2 MB / 0.4981 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.0006066/0.1695, allocations: 310.6 kB / 0.703 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.842e-05/0.1696, allocations: 0 / 0.703 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1696, allocations: 0 / 0.703 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1696, allocations: 0 / 0.703 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.17, allocations: 0.534 MB / 0.7035 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.1703, allocations: 162.5 kB / 0.7037 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1706, allocations: 0.6692 MB / 0.7043 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.506e-06/0.1706, allocations: 3.938 kB / 0.7043 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.1706, allocations: 7.438 kB / 0.7043 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1706, allocations: 4 kB / 0.7043 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.003519/0.1742, allocations: 0.9846 MB / 0.7053 GB, free: 7.531 MB / 0.4981 GB 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)