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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8701/0.8701, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009487/0.0009483, allocations: 180.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008917/0.0008917, allocations: 94.8 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 268.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.884e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3904, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.5093, allocations: 109.5 MB / 0.8712 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5097, allocations: 91.75 kB / 0.8712 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00686/0.5166, allocations: 2.509 MB / 0.8737 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5166, allocations: 0.6875 kB / 0.8737 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.5166, allocations: 0 / 0.8737 GB, free: 12.54 MB / 0.5417 GB 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.0002554/0.5169, allocations: 347.5 kB / 0.874 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5169, allocations: 8.031 kB / 0.874 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.517, allocations: 76.09 kB / 0.8741 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.5172, allocations: 249.4 kB / 0.8743 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.5172, allocations: 154.5 kB / 0.8745 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.5173, allocations: 154.5 kB / 0.8746 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.222e-05/0.5174, allocations: 105 kB / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5174, allocations: 77.59 kB / 0.8748 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.5175, allocations: 150.6 kB / 0.875 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.5175, allocations: 150.6 kB / 0.8751 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/0.5176, allocations: 158.6 kB / 0.8753 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.5178, allocations: 442 kB / 0.8757 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.5179, allocations: 173.1 kB / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.518, allocations: 88.08 kB / 0.8759 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.518, allocations: 75.28 kB / 0.876 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.5181, allocations: 114.8 kB / 0.8761 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5181, allocations: 3.938 kB / 0.8761 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.716e-05/0.5181, allocations: 29.64 kB / 0.8761 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.5182, allocations: 126.7 kB / 0.8763 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.5183, allocations: 93 kB / 0.8763 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.5183, allocations: 25.7 kB / 0.8764 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.5183, allocations: 84.27 kB / 0.8765 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.5183, allocations: 0 / 0.8765 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.5183, allocations: 0 / 0.8765 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.5184, allocations: 310.8 kB / 0.8768 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-06/0.5185, allocations: 4 kB / 0.8768 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-06/0.5185, allocations: 0 / 0.8768 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.5185, allocations: 79.27 kB / 0.8768 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/0.5185, allocations: 75.28 kB / 0.8769 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.674e-05/0.5186, allocations: 25.7 kB / 0.8769 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.5186, allocations: 91.23 kB / 0.877 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.5186, allocations: 87.22 kB / 0.8771 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-05/0.5187, allocations: 150.6 kB / 0.8772 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.755e-05/0.5187, allocations: 79.22 kB / 0.8773 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.824e-05/0.5188, allocations: 154.6 kB / 0.8775 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.5189, allocations: 79.27 kB / 0.8775 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.5189, allocations: 83.22 kB / 0.8776 GB, free: 8.301 MB / 0.5417 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 () * 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 8.897e-05/0.519, allocations: 251.5 kB / 0.8779 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.519, allocations: 109 kB / 0.878 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.5191, allocations: 112 kB / 0.8781 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.846e-05/0.5191, allocations: 176.3 kB / 0.8782 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.983e-05/0.5192, allocations: 192.2 kB / 0.8784 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.172e-05/0.5192, allocations: 176.3 kB / 0.8786 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.5195, allocations: 397.2 kB / 0.879 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/0.5195, allocations: 108.9 kB / 0.8791 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.5196, allocations: 108.9 kB / 0.8792 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.607e-05/0.5196, allocations: 181.4 kB / 0.8793 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.5197, allocations: 180.3 kB / 0.8795 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-05/0.5198, allocations: 180.2 kB / 0.8797 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.894e-05/0.5198, allocations: 196.2 kB / 0.8799 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.52, allocations: 303.8 kB / 0.8802 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.5201, allocations: 182.1 kB / 0.8803 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.5201, allocations: 188.2 kB / 0.8805 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.5202, allocations: 104.9 kB / 0.8806 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.5203, allocations: 184.7 kB / 0.8808 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.5203, allocations: 104.9 kB / 0.8809 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.5204, allocations: 83.28 kB / 0.881 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5204, allocations: 0 / 0.881 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003362/0.5207, allocations: 51.98 kB / 0.881 GB, free: 4.59 MB / 0.5417 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 () * 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.0005396/0.5213, allocations: 329.8 kB / 0.8813 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 3.555e-05/0.5213, allocations: 4 kB / 0.8813 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5213, allocations: 0 / 0.8813 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.5213, allocations: 3.938 kB / 0.8813 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.5217, allocations: 0.5232 MB / 0.8819 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.5219, allocations: 128.3 kB / 0.882 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.5221, allocations: 0.6731 MB / 0.8826 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.774e-06/0.5221, allocations: 3.938 kB / 0.8826 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.5222, allocations: 7.438 kB / 0.8826 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5222, allocations: 0 / 0.8826 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of Templates: time 0.003351/0.5255, allocations: 0.984 MB / 0.8836 GB, free: 1.953 MB / 0.5417 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)