Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8427/0.8427, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 184.8 kB / 182.2 MB, free: 9.426 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.51/1.51, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008212/0.0008212, allocations: 96.05 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 280.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.013e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.446, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.6334, allocations: 110.3 MB / 0.8651 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6337, allocations: 95.8 kB / 0.8652 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.6558, allocations: 5.66 MB / 0.8707 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.012e-05/0.6559, allocations: 4 kB / 0.8707 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.6559, allocations: 3.938 kB / 0.8707 GB, free: 11.77 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.0005252/0.6564, allocations: 362.5 kB / 0.8711 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.6565, allocations: 8.031 kB / 0.8711 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.6566, allocations: 83.22 kB / 0.8712 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.6568, allocations: 242.3 kB / 0.8714 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.6569, allocations: 154.5 kB / 0.8716 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.657, allocations: 154.6 kB / 0.8717 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.438e-05/0.6571, allocations: 150.6 kB / 0.8718 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/0.6571, allocations: 105 kB / 0.8719 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.6572, allocations: 75.28 kB / 0.872 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.6573, allocations: 150.6 kB / 0.8722 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/0.6573, allocations: 158.5 kB / 0.8723 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.6577, allocations: 430.4 kB / 0.8727 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.6579, allocations: 181.1 kB / 0.8729 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.6579, allocations: 80.14 kB / 0.873 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.658, allocations: 75.28 kB / 0.873 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.088e-05/0.658, allocations: 113.8 kB / 0.8731 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.904e-06/0.6581, allocations: 0 / 0.8731 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.6582, allocations: 45.53 kB / 0.8732 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.6582, allocations: 51.41 kB / 0.8732 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.6583, allocations: 93 kB / 0.8733 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.6584, allocations: 25.7 kB / 0.8734 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.6584, allocations: 84.14 kB / 0.8734 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.6584, allocations: 0 / 0.8734 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.6584, allocations: 0 / 0.8734 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6586, allocations: 318.8 kB / 0.8737 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.6586, allocations: 8 kB / 0.8737 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.6587, allocations: 18.58 kB / 0.8738 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.6589, allocations: 23.97 kB / 0.8738 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6589, allocations: 0 / 0.8738 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002808/0.6592, allocations: 57.61 kB / 0.8738 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6592, allocations: 4.094 kB / 0.8738 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6592, allocations: 4 kB / 0.8738 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.6592, allocations: 7.953 kB / 0.8739 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.6593, allocations: 4 kB / 0.8739 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.6593, allocations: 3.938 kB / 0.8739 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.6594, allocations: 4 kB / 0.8739 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.6595, allocations: 3.984 kB / 0.8739 GB, free: 8.336 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001248/0.6596, allocations: 188.2 kB / 0.8741 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.565e-05/0.6597, allocations: 101 kB / 0.8741 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.6598, allocations: 108.7 kB / 0.8743 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/0.6599, allocations: 188.2 kB / 0.8744 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.906e-05/0.66, allocations: 184.3 kB / 0.8746 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-05/0.66, allocations: 176.3 kB / 0.8748 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.6603, allocations: 385.7 kB / 0.8751 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.664e-05/0.6604, allocations: 109 kB / 0.8752 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.6605, allocations: 101 kB / 0.8753 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-05/0.6605, allocations: 180.2 kB / 0.8755 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.6606, allocations: 184.2 kB / 0.8757 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-05/0.6607, allocations: 176.3 kB / 0.8759 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.521e-05/0.6608, allocations: 184.2 kB / 0.876 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.6609, allocations: 311.7 kB / 0.8763 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.661, allocations: 182 kB / 0.8765 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.6611, allocations: 185.5 kB / 0.8767 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.6612, allocations: 101 kB / 0.8768 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.6613, allocations: 184.2 kB / 0.877 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.6614, allocations: 105 kB / 0.8771 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.6614, allocations: 83.53 kB / 0.8771 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6615, allocations: 0 / 0.8771 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005286/0.662, allocations: 63.94 kB / 0.8772 GB, free: 4.723 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.0008508/0.6628, allocations: 352.8 kB / 0.8775 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.6629, allocations: 8.25 kB / 0.8775 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.663, allocations: 4 kB / 0.8775 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/0.663, allocations: 4 kB / 0.8775 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.6634, allocations: 0.5265 MB / 0.8781 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.6636, allocations: 123.3 kB / 0.8782 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.664, allocations: 0.6768 MB / 0.8788 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.664, allocations: 3.938 kB / 0.8788 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.6641, allocations: 11.44 kB / 0.8789 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.6641, allocations: 0 / 0.8789 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of Templates: time 0.005634/0.6697, allocations: 1.476 MB / 0.8803 GB, free: 1.555 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)