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.8504/0.8504, allocations: 143.4 MB / 158.3 MB, free: 5.832 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.0009892/0.0009892, allocations: 179.9 kB / 191.5 MB, free: 5.785 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.35/1.35, allocations: 223.2 MB / 447.7 MB, free: 6.551 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.0008333/0.0008333, allocations: 107.5 kB / 0.5188 GB, free: 2.906 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 276.4 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004256, allocations: 16 kB / 0.6929 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 82.77 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.4773, allocations: 111.1 MB / 0.8822 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4776, allocations: 91.81 kB / 0.8823 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.495, allocations: 5.987 MB / 0.8881 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.775e-06/0.495, allocations: 4 kB / 0.8881 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.495, allocations: 0 / 0.8881 GB, free: 4.938 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.0004223/0.4955, allocations: 371.3 kB / 0.8885 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4955, allocations: 15.97 kB / 0.8885 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.4956, allocations: 75.28 kB / 0.8886 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.4958, allocations: 242.3 kB / 0.8888 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.4958, allocations: 162.5 kB / 0.8889 GB, free: 4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.4959, allocations: 158.6 kB / 0.8891 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.137e-05/0.496, allocations: 101 kB / 0.8892 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.496, allocations: 75.28 kB / 0.8893 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.496, allocations: 150.6 kB / 0.8894 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.4961, allocations: 150.6 kB / 0.8895 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.4961, allocations: 158.5 kB / 0.8897 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.4964, allocations: 457.8 kB / 0.8901 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.4965, allocations: 172.6 kB / 0.8903 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.822e-05/0.4966, allocations: 79.23 kB / 0.8904 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.4966, allocations: 113.8 kB / 0.8905 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4966, allocations: 0 / 0.8905 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.168e-05/0.4967, allocations: 33.64 kB / 0.8905 GB, free: 2.301 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4967, allocations: 130.7 kB / 0.8906 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.4968, allocations: 93 kB / 0.8907 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4969, allocations: 25.7 kB / 0.8908 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.4969, allocations: 88.14 kB / 0.8908 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.4969, allocations: 0 / 0.8908 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.4969, allocations: 4 kB / 0.8908 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.497, allocations: 314.8 kB / 0.8911 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.497, allocations: 4 kB / 0.8911 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.4971, allocations: 26.56 kB / 0.8912 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.4971, allocations: 7.984 kB / 0.8912 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4971, allocations: 3.938 kB / 0.8912 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001205/0.4972, allocations: 49.64 kB / 0.8912 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4973, allocations: 11.95 kB / 0.8912 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4973, allocations: 0 / 0.8912 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4973, allocations: 3.984 kB / 0.8912 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.4974, allocations: 4 kB / 0.8913 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4974, allocations: 4 kB / 0.8913 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.4975, allocations: 0 / 0.8913 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4975, allocations: 4.25 kB / 0.8913 GB, free: 1.488 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 () * Number of clocked 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 9.923e-05/0.4976, allocations: 193.8 kB / 0.8914 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.4977, allocations: 108.9 kB / 0.8915 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.4977, allocations: 112 kB / 0.8917 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/0.4978, allocations: 180.3 kB / 0.8918 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.185e-05/0.4978, allocations: 188.2 kB / 0.892 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/0.4979, allocations: 180.3 kB / 0.8922 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4981, allocations: 409.2 kB / 0.8926 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.599e-05/0.4982, allocations: 104.9 kB / 0.8927 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.4982, allocations: 105 kB / 0.8928 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-05/0.4983, allocations: 184.2 kB / 0.8929 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.4984, allocations: 180.3 kB / 0.8931 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.539e-05/0.4984, allocations: 188.2 kB / 0.8933 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.509e-05/0.4985, allocations: 176.3 kB / 0.8935 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.4986, allocations: 311.7 kB / 0.8938 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.4987, allocations: 178.1 kB / 0.8939 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.4988, allocations: 188.2 kB / 0.8941 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.4988, allocations: 105 kB / 0.8942 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.4989, allocations: 180.2 kB / 0.8944 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.4989, allocations: 112.9 kB / 0.8945 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.499, allocations: 79.28 kB / 0.8946 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.499, allocations: 0 / 0.8946 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003831/0.4994, allocations: 63.97 kB / 0.8946 GB, free: 13.81 MB / 0.5573 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 () * 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 (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.0006301/0.5, allocations: 353.7 kB / 0.895 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.5001, allocations: 15.94 kB / 0.895 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5001, allocations: 0 / 0.895 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.5001, allocations: 4 kB / 0.895 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.5004, allocations: 0.527 MB / 0.8955 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.5007, allocations: 182.2 kB / 0.8957 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.501, allocations: 0.677 MB / 0.8963 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.501, allocations: 3.938 kB / 0.8963 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.501, allocations: 7.438 kB / 0.8963 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/0.501, allocations: 0 / 0.8963 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of Templates: time 0.003794/0.5048, allocations: 1.486 MB / 0.8978 GB, free: 10.58 MB / 0.5573 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)