Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json 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/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 196.8 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.649/2.649, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 72.3 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3482, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00255/0.3508, allocations: 1.329 MB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3531, allocations: 1.44 MB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.3531, allocations: 0 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.3532, allocations: 4 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.3534, allocations: 11.94 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.3539, allocations: 189.5 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.036e-05/0.354, allocations: 15.94 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.354, allocations: 11.97 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.3541, allocations: 19.88 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.3543, allocations: 7.984 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3543, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.3546, allocations: 155.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.3546, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.3546, allocations: 19.91 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.3548, allocations: 91.88 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3548, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3548, allocations: 4 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3548, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 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.0003981/0.3552, allocations: 375.8 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3553, allocations: 11.97 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.3554, allocations: 80.22 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3555, allocations: 239.6 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.3556, allocations: 158.9 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.3557, allocations: 158.7 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.879e-05/0.3558, allocations: 108.9 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.3558, allocations: 79.28 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.3559, allocations: 150.6 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.3559, allocations: 150.6 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.356, allocations: 158.5 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.3563, allocations: 449.9 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.3564, allocations: 173.1 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3564, allocations: 88.02 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3565, allocations: 79.28 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.3565, allocations: 109.8 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3565, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.549e-05/0.3566, allocations: 25.7 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.3567, allocations: 134.6 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.3568, allocations: 105.8 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3568, allocations: 29.7 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.3568, allocations: 88.14 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-06/0.3569, allocations: 0 / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3569, allocations: 21.7 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.357, allocations: 314.8 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.357, allocations: 0 / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.3571, allocations: 30.56 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.3571, allocations: 26.52 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3571, allocations: 0 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001573/0.3573, allocations: 53.56 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3573, allocations: 8 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3573, allocations: 0 / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3574, allocations: 0 / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.3574, allocations: 4 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3574, allocations: 4.094 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3576, allocations: 15.89 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3576, allocations: 4 kB / 1.059 GB, free: 1.352 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.97e-05/0.3577, allocations: 185.1 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.3578, allocations: 108.9 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.3578, allocations: 112.1 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-05/0.3579, allocations: 180.3 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-05/0.358, allocations: 184.2 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-05/0.358, allocations: 176.3 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.3583, allocations: 409.1 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/0.3583, allocations: 105 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.3584, allocations: 109 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.476e-05/0.3584, allocations: 184.3 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.3585, allocations: 180.2 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.967e-05/0.3586, allocations: 180.5 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.984e-05/0.3586, allocations: 180.3 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3588, allocations: 327.9 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.3589, allocations: 178.1 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.3589, allocations: 180.2 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.359, allocations: 104.9 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.3591, allocations: 184.3 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.3592, allocations: 112.8 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.3592, allocations: 83.28 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3592, allocations: 0 / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003205/0.3595, allocations: 55.92 kB / 1.063 GB, free: 13.69 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006048/0.3601, allocations: 339.4 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.3602, allocations: 11.94 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3602, allocations: 0 / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.3603, allocations: 4.188 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3606, allocations: 0.5224 MB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.3609, allocations: 200.8 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.3612, allocations: 0.6731 MB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.3612, allocations: 15.44 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3612, allocations: 0 / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003333/0.3645, allocations: 1.592 MB / 1.066 GB, free: 10.31 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)