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.001069/0.001069, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001109/0.001109, allocations: 197 kB / 16.26 MB, free: 6.621 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 287 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9927/0.9927, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 92.42 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1457, allocations: 86.99 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002349/0.1481, allocations: 1.29 MB / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1494, allocations: 0.9962 MB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.1494, allocations: 2 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.1494, allocations: 0 / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1498, allocations: 91.8 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.1498, allocations: 0 / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.374e-05/0.1498, allocations: 3.938 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.1499, allocations: 4.75 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.243e-05/0.1499, allocations: 0 / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.15, allocations: 8.703 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.15, allocations: 0 / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1502, allocations: 113.6 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-06/0.1502, allocations: 0 / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.1502, allocations: 3.938 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1504, allocations: 99.88 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1504, allocations: 4.625 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1504, allocations: 0 / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1505, allocations: 4.594 kB / 0.6822 GB, free: 14.42 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.0003008/0.1508, allocations: 350.1 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1508, allocations: 12.03 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.1509, allocations: 80.22 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.151, allocations: 243.6 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.1511, allocations: 153.1 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.1511, allocations: 154.9 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.467e-05/0.1512, allocations: 109.1 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.1512, allocations: 75.94 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.1513, allocations: 155.4 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/0.1513, allocations: 151.1 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.1514, allocations: 155.7 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.1516, allocations: 446.8 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.04e-05/0.1517, allocations: 177.1 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.1517, allocations: 80.14 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.1518, allocations: 79.28 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.1518, allocations: 113.7 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1518, allocations: 0 / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.405e-05/0.1519, allocations: 29.7 kB / 0.6846 GB, free: 11.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.152, allocations: 130.7 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.1521, allocations: 89.86 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.1521, allocations: 25.7 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.1521, allocations: 92.12 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/0.1521, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.1522, allocations: 9.719 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.1523, allocations: 315 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-06/0.1523, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.1523, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.1523, allocations: 79.22 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.1523, allocations: 79.28 kB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.774e-05/0.1524, allocations: 33.58 kB / 0.6855 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.1524, allocations: 79.28 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.1525, allocations: 83.27 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.257e-05/0.1525, allocations: 158.5 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.867e-05/0.1526, allocations: 79.27 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.003e-05/0.1526, allocations: 154.6 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.1527, allocations: 83.27 kB / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.1527, allocations: 79.28 kB / 0.6861 GB, free: 10.14 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.238e-05/0.1528, allocations: 261.7 kB / 0.6864 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.1529, allocations: 108.9 kB / 0.6865 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.1529, allocations: 116.1 kB / 0.6866 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.311e-05/0.153, allocations: 180.2 kB / 0.6868 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-05/0.153, allocations: 176.3 kB / 0.6869 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-05/0.1531, allocations: 180.3 kB / 0.6871 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.1533, allocations: 405.2 kB / 0.6875 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/0.1533, allocations: 105 kB / 0.6876 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.1534, allocations: 112.8 kB / 0.6877 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.457e-05/0.1534, allocations: 180.3 kB / 0.6879 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/0.1535, allocations: 176.3 kB / 0.688 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-05/0.1535, allocations: 184.2 kB / 0.6882 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.856e-05/0.1536, allocations: 180.3 kB / 0.6884 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1537, allocations: 307.7 kB / 0.6887 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1538, allocations: 190 kB / 0.6889 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.1539, allocations: 184.2 kB / 0.689 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.1539, allocations: 109.4 kB / 0.6891 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.154, allocations: 184.2 kB / 0.6893 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.154, allocations: 105 kB / 0.6894 GB, free: 6.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.273e-05/0.1541, allocations: 79.27 kB / 0.6895 GB, free: 6.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 0.6895 GB, free: 6.473 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.1544, allocations: 39.94 kB / 0.6895 GB, free: 6.434 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.000443/0.1549, allocations: 314.2 kB / 0.6898 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.324e-05/0.1549, allocations: 3.984 kB / 0.6898 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1549, allocations: 0 / 0.6898 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.1549, allocations: 3.938 kB / 0.6898 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1552, allocations: 461.3 kB / 0.6903 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.1554, allocations: 160.9 kB / 0.6904 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1556, allocations: 0.669 MB / 0.6911 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.983e-06/0.1557, allocations: 0 / 0.6911 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-06/0.1557, allocations: 7.438 kB / 0.6911 GB, free: 4.809 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1557, allocations: 0 / 0.6911 GB, free: 4.809 MB / 494.1 MB Notification: Performance of Templates: time 0.002766/0.1584, allocations: 0.9996 MB / 0.6921 GB, free: 3.844 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)