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.8038/0.8038, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001042/0.001042, allocations: 184.6 kB / 182.2 MB, free: 9.465 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.446/1.446, 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.0008145/0.0008146, allocations: 88.05 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 279.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.795e-05, allocations: 8 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3815, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.5208, allocations: 110.3 MB / 0.8651 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5211, allocations: 91.81 kB / 0.8652 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.5376, allocations: 5.668 MB / 0.8707 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5376, allocations: 0 / 0.8707 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.5377, allocations: 0 / 0.8707 GB, free: 11.8 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.0003849/0.538, allocations: 366.5 kB / 0.8711 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5381, allocations: 12.03 kB / 0.8711 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.5382, allocations: 75.28 kB / 0.8712 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.5384, allocations: 238.3 kB / 0.8714 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/0.5385, allocations: 158.5 kB / 0.8716 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.5386, allocations: 154.5 kB / 0.8717 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.184e-05/0.5386, allocations: 158.6 kB / 0.8719 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.965e-05/0.5387, allocations: 105 kB / 0.872 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.5387, allocations: 75.28 kB / 0.872 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.5388, allocations: 150.6 kB / 0.8722 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.5389, allocations: 150.6 kB / 0.8723 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.5392, allocations: 438.4 kB / 0.8727 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.5393, allocations: 169.1 kB / 0.8729 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.5393, allocations: 80.14 kB / 0.873 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.5393, allocations: 75.28 kB / 0.873 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.5394, allocations: 113.8 kB / 0.8731 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5394, allocations: 4 kB / 0.8732 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.597e-05/0.5395, allocations: 33.59 kB / 0.8732 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5395, allocations: 51.41 kB / 0.8732 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5396, allocations: 101 kB / 0.8733 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.5396, allocations: 25.7 kB / 0.8734 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.5397, allocations: 84.14 kB / 0.8734 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.5397, allocations: 3.938 kB / 0.8734 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.5397, allocations: 3.938 kB / 0.8734 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5398, allocations: 318.8 kB / 0.8737 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.5399, allocations: 4 kB / 0.8737 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.5399, allocations: 22.58 kB / 0.8738 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.54, allocations: 19.97 kB / 0.8738 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.54, allocations: 0 / 0.8738 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002052/0.5403, allocations: 65.61 kB / 0.8739 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.5403, allocations: 4 kB / 0.8739 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5403, allocations: 7.938 kB / 0.8739 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5403, allocations: 3.953 kB / 0.8739 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.5404, allocations: 4 kB / 0.8739 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5404, allocations: 3.672 kB / 0.8739 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.5405, allocations: 4 kB / 0.8739 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.5405, allocations: 7.984 kB / 0.8739 GB, free: 8.363 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.0001023/0.5406, allocations: 180.4 kB / 0.8741 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.5407, allocations: 105.1 kB / 0.8742 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.5408, allocations: 112.7 kB / 0.8743 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.858e-05/0.5408, allocations: 180.2 kB / 0.8744 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.502e-05/0.5409, allocations: 188.2 kB / 0.8746 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-05/0.541, allocations: 180.3 kB / 0.8748 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.5412, allocations: 381.8 kB / 0.8752 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.484e-05/0.5413, allocations: 108.9 kB / 0.8753 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.5413, allocations: 101 kB / 0.8754 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.787e-05/0.5414, allocations: 180.3 kB / 0.8755 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.5414, allocations: 180.2 kB / 0.8757 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-05/0.5415, allocations: 180.3 kB / 0.8759 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.283e-05/0.5416, allocations: 184.2 kB / 0.876 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.5417, allocations: 307.6 kB / 0.8763 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.5418, allocations: 186.1 kB / 0.8765 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.5419, allocations: 185.4 kB / 0.8767 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.542, allocations: 105 kB / 0.8768 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.5421, allocations: 176.3 kB / 0.877 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.5421, allocations: 108.9 kB / 0.8771 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.5421, allocations: 75.53 kB / 0.8771 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5422, allocations: 4 kB / 0.8771 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003275/0.5425, allocations: 67.86 kB / 0.8772 GB, free: 4.754 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.0005516/0.543, allocations: 354.1 kB / 0.8775 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.36e-05/0.5431, allocations: 8.25 kB / 0.8775 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5431, allocations: 4 kB / 0.8776 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.5431, allocations: 7.938 kB / 0.8776 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.5434, allocations: 0.5197 MB / 0.8781 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.5436, allocations: 127.3 kB / 0.8782 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.5438, allocations: 0.6768 MB / 0.8789 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.5439, allocations: 4 kB / 0.8789 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.5439, allocations: 7.438 kB / 0.8789 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5439, allocations: 0 / 0.8789 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of Templates: time 0.003665/0.5475, allocations: 1.48 MB / 0.8803 GB, free: 1.586 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)