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.001015/0.001015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001047/0.001047, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 282.6 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 91.94 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1584, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002227/0.1606, allocations: 1.297 MB / 0.6807 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.162, allocations: 1.004 MB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.162, allocations: 0 / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.162, allocations: 0 / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.1624, allocations: 83.75 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.1624, allocations: 0 / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.797e-05/0.1625, allocations: 5.422 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.1625, allocations: 4 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.706e-05/0.1625, allocations: 3.984 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1627, allocations: 0.6562 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1627, allocations: 4 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.1629, allocations: 108.6 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-06/0.1629, allocations: 3.938 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.1629, allocations: 4.812 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1631, allocations: 107.9 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1632, allocations: 0.625 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1632, allocations: 0 / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1632, allocations: 1.5 kB / 0.682 GB, free: 14.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.0003725/0.1635, allocations: 351.8 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1636, allocations: 11.97 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.1637, allocations: 76.78 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1639, allocations: 243.7 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.1639, allocations: 154.9 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.164, allocations: 150.9 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.306e-05/0.1641, allocations: 109 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.1641, allocations: 75.28 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.1642, allocations: 158.6 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.076e-05/0.1642, allocations: 150.6 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.561e-05/0.1643, allocations: 154.6 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.1645, allocations: 438 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/0.1646, allocations: 177.1 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.1646, allocations: 80.14 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1647, allocations: 75.28 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.1647, allocations: 117.8 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1647, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.774e-05/0.1648, allocations: 25.7 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.1649, allocations: 134.6 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.165, allocations: 97.86 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.165, allocations: 25.7 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.165, allocations: 80.14 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.165, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.165, allocations: 13.72 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.1651, allocations: 314.8 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-06/0.1651, allocations: 0 / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-06/0.1651, allocations: 4.125 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.1652, allocations: 79.22 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-05/0.1652, allocations: 75.28 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.145e-05/0.1653, allocations: 33.64 kB / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.1653, allocations: 79.28 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.1653, allocations: 79.22 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.051e-05/0.1654, allocations: 158.6 kB / 0.6856 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.576e-05/0.1654, allocations: 83.22 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.852e-05/0.1655, allocations: 154.5 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.1655, allocations: 79.33 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.1656, allocations: 79.22 kB / 0.6859 GB, free: 10.3 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 9.415e-05/0.1657, allocations: 261.7 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.1657, allocations: 108.9 kB / 0.6863 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.1658, allocations: 112 kB / 0.6864 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.1658, allocations: 184.2 kB / 0.6866 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.265e-05/0.1659, allocations: 176.3 kB / 0.6867 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.614e-05/0.1659, allocations: 180.2 kB / 0.6869 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.1661, allocations: 409.2 kB / 0.6873 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/0.1662, allocations: 108.9 kB / 0.6874 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.1662, allocations: 104.9 kB / 0.6875 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.615e-05/0.1663, allocations: 184.2 kB / 0.6877 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.1663, allocations: 184.2 kB / 0.6879 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.441e-05/0.1664, allocations: 176.3 kB / 0.688 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-05/0.1664, allocations: 188.2 kB / 0.6882 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.1665, allocations: 303.7 kB / 0.6885 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1666, allocations: 190 kB / 0.6887 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.1667, allocations: 188.2 kB / 0.6889 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.1668, allocations: 104.9 kB / 0.689 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.1668, allocations: 180.3 kB / 0.6891 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.1669, allocations: 101.5 kB / 0.6892 GB, free: 6.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.977e-05/0.1669, allocations: 83.22 kB / 0.6893 GB, free: 6.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1669, allocations: 0 / 0.6893 GB, free: 6.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1672, allocations: 43.92 kB / 0.6893 GB, free: 6.586 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.0004575/0.1677, allocations: 318.2 kB / 0.6897 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.354e-05/0.1677, allocations: 4 kB / 0.6897 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1677, allocations: 0 / 0.6897 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1677, allocations: 0 / 0.6897 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1681, allocations: 0.5224 MB / 0.6902 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.1683, allocations: 166.5 kB / 0.6903 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1685, allocations: 0.6731 MB / 0.691 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.077e-06/0.1685, allocations: 0 / 0.691 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.1685, allocations: 7.438 kB / 0.691 GB, free: 4.879 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1685, allocations: 0 / 0.691 GB, free: 4.879 MB / 494.1 MB Notification: Performance of Templates: time 0.002807/0.1713, allocations: 0.9869 MB / 0.692 GB, free: 3.926 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)