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.001689/0.001689, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001743/0.001743, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.629/1.629, allocations: 222.9 MB / 241 MB, free: 14.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 291.2 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 90.89 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002738/0.259, allocations: 1.234 MB / 0.6828 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2607, allocations: 1.015 MB / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.2607, allocations: 4 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.2607, allocations: 0 / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.2612, allocations: 103.6 kB / 0.6839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.442e-06/0.2612, allocations: 4 kB / 0.6839 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.643e-05/0.2613, allocations: 7.938 kB / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.2613, allocations: 0 / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.2614, allocations: 4 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2615, allocations: 0 / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.2615, allocations: 0 / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.2617, allocations: 131.8 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.2617, allocations: 0 / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.2618, allocations: 3.938 kB / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.262, allocations: 99.89 kB / 0.6841 GB, free: 4.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.262, allocations: 4 kB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.262, allocations: 4 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.262, allocations: 0 / 0.6841 GB, free: 4.832 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.0003443/0.2623, allocations: 355.4 kB / 0.6845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2624, allocations: 8.031 kB / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.2624, allocations: 76.22 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.2626, allocations: 247.6 kB / 0.6848 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.2627, allocations: 150.9 kB / 0.6849 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.2628, allocations: 154.9 kB / 0.6851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.855e-05/0.2628, allocations: 109.1 kB / 0.6852 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.2629, allocations: 75.28 kB / 0.6853 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.049e-05/0.2629, allocations: 150.6 kB / 0.6854 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.641e-05/0.263, allocations: 154.6 kB / 0.6856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.2631, allocations: 158.5 kB / 0.6857 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.2634, allocations: 450 kB / 0.6861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.2635, allocations: 165.9 kB / 0.6863 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.2635, allocations: 80.14 kB / 0.6864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.2636, allocations: 75.28 kB / 0.6864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.2636, allocations: 117.8 kB / 0.6866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2636, allocations: 0 / 0.6866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.132e-05/0.2637, allocations: 37.62 kB / 0.6866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.2638, allocations: 126.7 kB / 0.6867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2639, allocations: 93.86 kB / 0.6868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2639, allocations: 25.7 kB / 0.6868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.264, allocations: 84.27 kB / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.264, allocations: 0 / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.264, allocations: 13.72 kB / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2641, allocations: 314.8 kB / 0.6872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-06/0.2641, allocations: 0 / 0.6872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.2641, allocations: 3.984 kB / 0.6872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.2642, allocations: 75.28 kB / 0.6873 GB, free: 1.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/0.2642, allocations: 75.28 kB / 0.6874 GB, free: 1.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.95e-05/0.2643, allocations: 41.52 kB / 0.6874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.2643, allocations: 85.47 kB / 0.6875 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.2644, allocations: 75.28 kB / 0.6876 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.809e-05/0.2644, allocations: 154.6 kB / 0.6877 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.991e-05/0.2645, allocations: 79.34 kB / 0.6878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.177e-05/0.2645, allocations: 154.6 kB / 0.6879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.2646, allocations: 87.14 kB / 0.688 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2646, allocations: 83.28 kB / 0.6881 GB, free: 0.5469 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.0001208/0.2648, allocations: 260.4 kB / 0.6883 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.2648, allocations: 108.9 kB / 0.6884 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.2649, allocations: 104.1 kB / 0.6885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5105/0.7754, allocations: 177.1 kB / 0.6887 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.161e-05/0.7756, allocations: 186.5 kB / 0.6889 GB, free: 18.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.275e-05/0.7756, allocations: 179.5 kB / 0.6891 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.7759, allocations: 408.2 kB / 0.6895 GB, free: 17.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.776, allocations: 102.2 kB / 0.6896 GB, free: 17.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.776, allocations: 109.4 kB / 0.6897 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.549e-05/0.7761, allocations: 178.3 kB / 0.6898 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.7761, allocations: 180.6 kB / 0.69 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.452e-05/0.7762, allocations: 186.3 kB / 0.6902 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.868e-05/0.7763, allocations: 177.7 kB / 0.6903 GB, free: 16.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.7764, allocations: 306 kB / 0.6906 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.7765, allocations: 188.4 kB / 0.6908 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.7766, allocations: 179.2 kB / 0.691 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.7767, allocations: 107.2 kB / 0.6911 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.7767, allocations: 184 kB / 0.6913 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.7768, allocations: 102.8 kB / 0.6914 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.122e-05/0.7768, allocations: 77.88 kB / 0.6914 GB, free: 15.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7768, allocations: 0.5625 kB / 0.6914 GB, free: 15.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005102/0.7774, allocations: 38.91 kB / 0.6915 GB, free: 15.51 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.0008312/0.7782, allocations: 320.9 kB / 0.6918 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.953e-05/0.7783, allocations: 1.5 kB / 0.6918 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7783, allocations: 4.719 kB / 0.6918 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/0.7783, allocations: 4.562 kB / 0.6918 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.7787, allocations: 461.4 kB / 0.6922 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.7791, allocations: 160.3 kB / 0.6924 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.7793, allocations: 0.6735 MB / 0.693 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.196e-05/0.7793, allocations: 0.5 kB / 0.693 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.7793, allocations: 8.062 kB / 0.693 GB, free: 14.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.7794, allocations: 0.7812 kB / 0.6931 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Templates: time 0.005999/0.7854, allocations: 1.001 MB / 0.694 GB, free: 13.96 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)