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.0008438/0.0008436, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009951/0.0009952, allocations: 172.7 kB / 15.95 MB, free: 208 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.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 275 kB / 291.3 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 15.22 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 88.55 MB / 0.6845 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001161/0.1665, allocations: 0.9605 MB / 0.6854 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1678, allocations: 0.9389 MB / 0.6863 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.1678, allocations: 0 / 0.6863 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.1679, allocations: 0.75 kB / 0.6863 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1682, allocations: 87.73 kB / 0.6864 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.1682, allocations: 1.844 kB / 0.6864 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.229e-05/0.1682, allocations: 4 kB / 0.6864 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1683, allocations: 7.922 kB / 0.6864 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.1683, allocations: 0 / 0.6864 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.1684, allocations: 4 kB / 0.6864 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-06/0.1684, allocations: 0.875 kB / 0.6864 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1686, allocations: 95.86 kB / 0.6865 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-06/0.1686, allocations: 6.172 kB / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.1686, allocations: 25.7 kB / 0.6866 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1688, allocations: 79.86 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1688, allocations: 0 / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1688, allocations: 0 / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1688, allocations: 0 / 0.6866 GB, free: 13.2 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.0002735/0.1691, allocations: 341.9 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1691, allocations: 8.031 kB / 0.687 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1692, allocations: 83.22 kB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1693, allocations: 246.3 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.1694, allocations: 155.6 kB / 0.6874 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.1694, allocations: 152.6 kB / 0.6876 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.374e-05/0.1695, allocations: 101 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.1695, allocations: 75.28 kB / 0.6878 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.1696, allocations: 155.1 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.1696, allocations: 155.2 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.1697, allocations: 151.8 kB / 0.6882 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.1699, allocations: 451.6 kB / 0.6886 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.17, allocations: 166.5 kB / 0.6888 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.17, allocations: 84.14 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1701, allocations: 80.55 kB / 0.6889 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.1701, allocations: 109.8 kB / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1701, allocations: 3 kB / 0.6891 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.37e-05/0.1702, allocations: 29.64 kB / 0.6891 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1702, allocations: 126.7 kB / 0.6892 GB, free: 10.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.1703, allocations: 93.86 kB / 0.6893 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.1703, allocations: 25.7 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.1704, allocations: 81.67 kB / 0.6894 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-06/0.1704, allocations: 0 / 0.6894 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1704, allocations: 0 / 0.6894 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.1705, allocations: 327.4 kB / 0.6897 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-06/0.1705, allocations: 0 / 0.6897 GB, free: 9.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.1705, allocations: 0.875 kB / 0.6897 GB, free: 9.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.1705, allocations: 75.28 kB / 0.6898 GB, free: 9.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.1706, allocations: 76 kB / 0.6898 GB, free: 9.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.475e-05/0.1706, allocations: 34.27 kB / 0.6899 GB, free: 9.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.1707, allocations: 80.78 kB / 0.69 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.1707, allocations: 75.28 kB / 0.69 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.141e-05/0.1707, allocations: 151.1 kB / 0.6902 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.261e-05/0.1708, allocations: 83.34 kB / 0.6903 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.044e-05/0.1708, allocations: 158.5 kB / 0.6904 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.1709, allocations: 83.22 kB / 0.6905 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.171, allocations: 79.33 kB / 0.6906 GB, free: 8.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.1711, allocations: 265 kB / 0.6908 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.1711, allocations: 101 kB / 0.6909 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1712, allocations: 112 kB / 0.691 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.052e-05/0.1712, allocations: 184.2 kB / 0.6912 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.559e-05/0.1713, allocations: 184.2 kB / 0.6914 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.313e-05/0.1714, allocations: 176.3 kB / 0.6915 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1716, allocations: 401.2 kB / 0.6919 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.501e-05/0.1716, allocations: 120.8 kB / 0.692 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.1717, allocations: 108.9 kB / 0.6921 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-05/0.1717, allocations: 184.2 kB / 0.6923 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.1718, allocations: 176.3 kB / 0.6925 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.077e-05/0.1718, allocations: 184.2 kB / 0.6927 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.06e-05/0.1719, allocations: 180.2 kB / 0.6928 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.172, allocations: 311.7 kB / 0.6931 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.1721, allocations: 178.1 kB / 0.6933 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.1722, allocations: 188.2 kB / 0.6935 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.1722, allocations: 105 kB / 0.6936 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.1723, allocations: 180.3 kB / 0.6937 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.1723, allocations: 108.9 kB / 0.6939 GB, free: 5.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.1724, allocations: 79.28 kB / 0.6939 GB, free: 5.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 0 / 0.6939 GB, free: 5.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003348/0.1727, allocations: 39.98 kB / 0.694 GB, free: 5.254 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.0004739/0.1732, allocations: 312.4 kB / 0.6943 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.571e-05/0.1733, allocations: 8 kB / 0.6943 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1733, allocations: 0 / 0.6943 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1733, allocations: 0 / 0.6943 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1736, allocations: 0.5185 MB / 0.6948 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.1738, allocations: 175.8 kB / 0.6949 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.174, allocations: 0.6692 MB / 0.6956 GB, free: 3.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.009e-05/0.1741, allocations: 4 kB / 0.6956 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.013e-05/0.1741, allocations: 7.438 kB / 0.6956 GB, free: 3.539 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1741, allocations: 0 / 0.6956 GB, free: 3.539 MB / 494.1 MB Notification: Performance of Templates: time 0.002974/0.1771, allocations: 0.9868 MB / 0.6966 GB, free: 2.586 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)