Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 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.001252/0.001252, allocations: 191.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.639/1.639, allocations: 251.7 MB / 0.5092 GB, free: 3.09 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 71.89 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5628/0.5644, allocations: 104.7 MB / 0.7245 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002576/0.567, allocations: 1.246 MB / 0.7257 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.5694, allocations: 1.545 MB / 0.7272 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.5695, allocations: 0 / 0.7272 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.5695, allocations: 4 kB / 0.7273 GB, free: 10.27 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.000257/0.5698, allocations: 19.92 kB / 0.7273 GB, free: 10.25 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.5705, allocations: 218.8 kB / 0.7275 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.5706, allocations: 31.91 kB / 0.7275 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.5706, allocations: 0 / 0.7275 GB, free: 10 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.5707, allocations: 16 kB / 0.7275 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.5708, allocations: 19.91 kB / 0.7275 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.5709, allocations: 0 / 0.7275 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.5711, allocations: 155.8 kB / 0.7277 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.5712, allocations: 7.984 kB / 0.7277 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.5712, allocations: 7.938 kB / 0.7277 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.5715, allocations: 163.6 kB / 0.7279 GB, free: 9.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.5715, allocations: 0 / 0.7279 GB, free: 9.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5715, allocations: 4 kB / 0.7279 GB, free: 9.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5715, allocations: 0 / 0.7279 GB, free: 9.637 MB / 0.545 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.0004554/0.572, allocations: 372.8 kB / 0.7282 GB, free: 9.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.572, allocations: 8.031 kB / 0.7282 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.5721, allocations: 80.22 kB / 0.7283 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.5723, allocations: 235.7 kB / 0.7285 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.5724, allocations: 150.9 kB / 0.7287 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.5725, allocations: 166.7 kB / 0.7288 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.5726, allocations: 105 kB / 0.7289 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.5727, allocations: 79.22 kB / 0.729 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.5727, allocations: 150.6 kB / 0.7292 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.5728, allocations: 158.5 kB / 0.7293 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.5728, allocations: 150.6 kB / 0.7295 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.5732, allocations: 457.9 kB / 0.7299 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.5733, allocations: 169.2 kB / 0.73 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.5734, allocations: 88.08 kB / 0.7301 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.5734, allocations: 75.28 kB / 0.7302 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.5735, allocations: 117.8 kB / 0.7303 GB, free: 6.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.5735, allocations: 0 / 0.7303 GB, free: 6.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001216/0.5736, allocations: 29.61 kB / 0.7303 GB, free: 6.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.5737, allocations: 130.7 kB / 0.7305 GB, free: 6.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5738, allocations: 101.9 kB / 0.7306 GB, free: 6.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.5738, allocations: 25.7 kB / 0.7306 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.5739, allocations: 92.12 kB / 0.7307 GB, free: 6.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.5739, allocations: 4 kB / 0.7307 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.5739, allocations: 17.7 kB / 0.7307 GB, free: 6.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5741, allocations: 314.8 kB / 0.731 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.5741, allocations: 4 kB / 0.731 GB, free: 6.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.5742, allocations: 26.5 kB / 0.731 GB, free: 6.168 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.5743, allocations: 30.58 kB / 0.7311 GB, free: 6.129 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5743, allocations: 0 / 0.7311 GB, free: 6.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001679/0.5744, allocations: 53.56 kB / 0.7311 GB, free: 6.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5745, allocations: 5.875 kB / 0.7311 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5745, allocations: 4.25 kB / 0.7311 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5745, allocations: 0 / 0.7311 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.5746, allocations: 11.94 kB / 0.7311 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5746, allocations: 3.984 kB / 0.7311 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.5748, allocations: 8.094 kB / 0.7311 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5748, allocations: 4 kB / 0.7311 GB, free: 6.035 MB / 0.545 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 0.0001159/0.5749, allocations: 189.1 kB / 0.7313 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/0.575, allocations: 116.9 kB / 0.7314 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.5751, allocations: 112 kB / 0.7315 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.033e-05/0.5751, allocations: 184.3 kB / 0.7317 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.654e-05/0.5752, allocations: 180.3 kB / 0.7319 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.626e-05/0.5753, allocations: 184.1 kB / 0.7321 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.5756, allocations: 409.2 kB / 0.7325 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.994e-05/0.5757, allocations: 104.9 kB / 0.7326 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.5757, allocations: 105 kB / 0.7327 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.57e-05/0.5758, allocations: 188.3 kB / 0.7328 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.5759, allocations: 180.2 kB / 0.733 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.714e-05/0.576, allocations: 176.3 kB / 0.7332 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-05/0.5761, allocations: 184.2 kB / 0.7334 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.5762, allocations: 315.7 kB / 0.7337 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.5763, allocations: 182.1 kB / 0.7338 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.743e-05/0.5764, allocations: 176.3 kB / 0.734 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.5765, allocations: 104.9 kB / 0.7341 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.5766, allocations: 180.2 kB / 0.7343 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.5767, allocations: 108.9 kB / 0.7344 GB, free: 2.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.5767, allocations: 87.28 kB / 0.7345 GB, free: 2.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5767, allocations: 0 / 0.7345 GB, free: 2.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003607/0.5771, allocations: 55.98 kB / 0.7345 GB, free: 2.363 MB / 0.545 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.0006201/0.5777, allocations: 346.2 kB / 0.7348 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.224e-05/0.5778, allocations: 11.98 kB / 0.7349 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5778, allocations: 0 / 0.7349 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.5779, allocations: 3.938 kB / 0.7349 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.5782, allocations: 463.8 kB / 0.7353 GB, free: 1.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.5786, allocations: 177.3 kB / 0.7355 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.5789, allocations: 0.6768 MB / 0.7361 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.5789, allocations: 0 / 0.7361 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.5789, allocations: 11.44 kB / 0.7361 GB, free: 0.668 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.579, allocations: 4 kB / 0.7361 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of Templates: time 0.005064/0.584, allocations: 1.746 MB / 0.7378 GB, free: 14.96 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)