Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5187/0.5187, allocations: 94.77 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001176/0.001175, allocations: 176.9 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.502/1.502, allocations: 170.6 MB / 319.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001611, allocations: 110.9 kB / 381.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.779e-05, allocations: 4 kB / 449.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1808, allocations: 61.53 MB / 0.4987 GB, free: 4.102 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5206/0.7014, allocations: 95.28 MB / 0.5917 GB, free: 6.637 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/0.7019, allocations: 79.95 kB / 0.5918 GB, free: 6.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06537/0.7673, allocations: 31.55 MB / 0.6226 GB, free: 7.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7674, allocations: 4 kB / 0.6226 GB, free: 7.227 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.7674, allocations: 0.6562 kB / 0.6226 GB, free: 7.227 MB / 442.7 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.000529/0.7679, allocations: 370.4 kB / 0.623 GB, free: 6.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.768, allocations: 8.031 kB / 0.623 GB, free: 6.812 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.7681, allocations: 79.28 kB / 0.6231 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.7682, allocations: 234.4 kB / 0.6233 GB, free: 6.465 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/0.7683, allocations: 158.6 kB / 0.6234 GB, free: 6.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.7684, allocations: 150.6 kB / 0.6236 GB, free: 6.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.132e-05/0.7685, allocations: 154.2 kB / 0.6237 GB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.7686, allocations: 101 kB / 0.6238 GB, free: 5.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.7687, allocations: 83.28 kB / 0.6239 GB, free: 5.824 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.7687, allocations: 154.5 kB / 0.624 GB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.7688, allocations: 154.5 kB / 0.6242 GB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.7692, allocations: 428.6 kB / 0.6246 GB, free: 5.062 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.7693, allocations: 177.2 kB / 0.6248 GB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.7694, allocations: 80.14 kB / 0.6248 GB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.7694, allocations: 75.28 kB / 0.6249 GB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.7695, allocations: 105.8 kB / 0.625 GB, free: 4.609 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.7695, allocations: 0 / 0.625 GB, free: 4.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.7696, allocations: 41.58 kB / 0.6251 GB, free: 4.562 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7697, allocations: 63.34 kB / 0.6251 GB, free: 4.488 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.7698, allocations: 89 kB / 0.6252 GB, free: 4.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.7698, allocations: 25.7 kB / 0.6252 GB, free: 4.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.7699, allocations: 84.52 kB / 0.6253 GB, free: 4.281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.7699, allocations: 0 / 0.6253 GB, free: 4.281 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.7699, allocations: 0 / 0.6253 GB, free: 4.281 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.77, allocations: 314.8 kB / 0.6256 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.7701, allocations: 4 kB / 0.6256 GB, free: 3.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-05/0.7701, allocations: 26.56 kB / 0.6256 GB, free: 3.926 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.7702, allocations: 4 kB / 0.6256 GB, free: 3.922 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7702, allocations: 0 / 0.6256 GB, free: 3.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001301/0.7703, allocations: 49.62 kB / 0.6257 GB, free: 3.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.7703, allocations: 4 kB / 0.6257 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7703, allocations: 0 / 0.6257 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.7704, allocations: 0 / 0.6257 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.7704, allocations: 12.09 kB / 0.6257 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7705, allocations: 0 / 0.6257 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.7706, allocations: 7.891 kB / 0.6257 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.7706, allocations: 4 kB / 0.6257 GB, free: 3.84 MB / 442.7 MB 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.0001179/0.7707, allocations: 188.2 kB / 0.6259 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.7708, allocations: 101 kB / 0.626 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.7708, allocations: 104.7 kB / 0.6261 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.308e-05/0.7709, allocations: 184.2 kB / 0.6263 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-05/0.771, allocations: 187.9 kB / 0.6264 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-05/0.7711, allocations: 184.2 kB / 0.6266 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.7713, allocations: 381.7 kB / 0.627 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/0.7714, allocations: 101 kB / 0.6271 GB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.7714, allocations: 109 kB / 0.6272 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.828e-05/0.7715, allocations: 184.2 kB / 0.6274 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/0.7716, allocations: 176.3 kB / 0.6275 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.76e-05/0.7717, allocations: 181 kB / 0.6277 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-05/0.7718, allocations: 184.2 kB / 0.6279 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.772, allocations: 309 kB / 0.6282 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.7722, allocations: 186 kB / 0.6283 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.7723, allocations: 180.3 kB / 0.6285 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.7724, allocations: 101 kB / 0.6286 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.7725, allocations: 189.1 kB / 0.6288 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.7726, allocations: 109 kB / 0.6289 GB, free: 380 kB / 442.7 MB Notification: Performance of sorting global known variables: time 4.717e-05/0.7726, allocations: 75.28 kB / 0.629 GB, free: 304 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7726, allocations: 0 / 0.629 GB, free: 304 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.7729, allocations: 4 kB / 0.629 GB, free: 300 kB / 442.7 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 () * 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.0001883/0.7731, allocations: 175 kB / 0.6291 GB, free: 116 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.7732, allocations: 7.938 kB / 0.6291 GB, free: 108 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7732, allocations: 0 / 0.6291 GB, free: 108 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.7732, allocations: 192 / 0.6291 GB, free: 108 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.7737, allocations: 0.5302 MB / 0.6297 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.774, allocations: 124.8 kB / 0.6298 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.7745, allocations: 0.6729 MB / 0.6304 GB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.7745, allocations: 7.984 kB / 0.6304 GB, free: 14.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.7746, allocations: 11.44 kB / 0.6305 GB, free: 14.71 MB / 458.7 MB Notification: Performance of SimCode: time 7.62e-07/0.7746, allocations: 0 / 0.6305 GB, free: 14.71 MB / 458.7 MB Notification: Performance of Templates: time 0.002566/0.7771, allocations: 321.1 kB / 0.6308 GB, free: 14.44 MB / 458.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)