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.0008906/0.0008906, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006987/0.006987, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.593/1.593, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.551/1.551, allocations: 252 MB / 0.5105 GB, free: 4.727 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.0004929/0.0004929, allocations: 16.38 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5621, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001519/0.5637, allocations: 0.9877 MB / 0.7297 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.5662, allocations: 1.506 MB / 0.7312 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.5662, allocations: 3.938 kB / 0.7312 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.5663, allocations: 3.938 kB / 0.7312 GB, free: 8.766 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.0002119/0.5665, allocations: 11.97 kB / 0.7312 GB, free: 8.754 MB / 0.545 GB [/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.0005682/0.567, allocations: 201 kB / 0.7314 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.5671, allocations: 19.92 kB / 0.7314 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.5672, allocations: 0 / 0.7314 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.5672, allocations: 23.97 kB / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.5674, allocations: 7.938 kB / 0.7314 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.5674, allocations: 4 kB / 0.7314 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.5676, allocations: 163.8 kB / 0.7316 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.5677, allocations: 0 / 0.7316 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.5677, allocations: 37.62 kB / 0.7316 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.568, allocations: 151.8 kB / 0.7318 GB, free: 8.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.568, allocations: 0 / 0.7318 GB, free: 8.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.568, allocations: 0 / 0.7318 GB, free: 8.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.568, allocations: 0 / 0.7318 GB, free: 8.156 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.0003579/0.5683, allocations: 373.4 kB / 0.7321 GB, free: 7.746 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5684, allocations: 8.031 kB / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.5685, allocations: 80.22 kB / 0.7322 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.5687, allocations: 243.6 kB / 0.7324 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.5687, allocations: 158.9 kB / 0.7326 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.5688, allocations: 154.7 kB / 0.7327 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.976e-05/0.5689, allocations: 105 kB / 0.7328 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.5689, allocations: 75.28 kB / 0.7329 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.569, allocations: 158.5 kB / 0.7331 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.569, allocations: 154.6 kB / 0.7332 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.627e-05/0.5691, allocations: 154.5 kB / 0.7334 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.5694, allocations: 457.9 kB / 0.7338 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.5695, allocations: 165.1 kB / 0.7339 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.5696, allocations: 84.08 kB / 0.734 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.5696, allocations: 75.33 kB / 0.7341 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.5697, allocations: 117.8 kB / 0.7342 GB, free: 5.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.5697, allocations: 7.938 kB / 0.7342 GB, free: 5.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.209e-05/0.5698, allocations: 37.58 kB / 0.7343 GB, free: 5.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.5698, allocations: 126.7 kB / 0.7344 GB, free: 5.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.57, allocations: 101.9 kB / 0.7345 GB, free: 5.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.57, allocations: 25.7 kB / 0.7345 GB, free: 5.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.5701, allocations: 88.12 kB / 0.7346 GB, free: 5.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-06/0.5701, allocations: 0 / 0.7346 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.5701, allocations: 13.72 kB / 0.7346 GB, free: 5.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5702, allocations: 314.8 kB / 0.7349 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.5703, allocations: 4 kB / 0.7349 GB, free: 4.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.5703, allocations: 26.56 kB / 0.7349 GB, free: 4.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.5704, allocations: 26.52 kB / 0.7349 GB, free: 4.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5704, allocations: 0 / 0.7349 GB, free: 4.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001398/0.5705, allocations: 57.56 kB / 0.735 GB, free: 4.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5705, allocations: 4 kB / 0.735 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5705, allocations: 4 kB / 0.735 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5706, allocations: 0 / 0.735 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.5707, allocations: 4 kB / 0.735 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5707, allocations: 0 / 0.735 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.5708, allocations: 7.984 kB / 0.735 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.5709, allocations: 7.938 kB / 0.735 GB, free: 4.559 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.0001408/0.571, allocations: 193.2 kB / 0.7352 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5712, allocations: 104.9 kB / 0.7353 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.5712, allocations: 108.1 kB / 0.7354 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.098e-05/0.5713, allocations: 184.2 kB / 0.7356 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001271/0.5714, allocations: 180.3 kB / 0.7358 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-05/0.5715, allocations: 184.2 kB / 0.7359 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.5719, allocations: 409.1 kB / 0.7363 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/0.5719, allocations: 105 kB / 0.7364 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.572, allocations: 108.9 kB / 0.7365 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.5722, allocations: 180.3 kB / 0.7367 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.5724, allocations: 184.4 kB / 0.7369 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-05/0.5725, allocations: 184.3 kB / 0.7371 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.268e-05/0.5726, allocations: 180.2 kB / 0.7372 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.5729, allocations: 311.7 kB / 0.7375 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.573, allocations: 190.3 kB / 0.7377 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.5732, allocations: 180.3 kB / 0.7379 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5733, allocations: 105 kB / 0.738 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.5735, allocations: 184.3 kB / 0.7382 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.5735, allocations: 109 kB / 0.7383 GB, free: 1.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.5736, allocations: 79.28 kB / 0.7383 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5736, allocations: 0 / 0.7383 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005398/0.5741, allocations: 55.98 kB / 0.7384 GB, free: 0.8906 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.0006939/0.5748, allocations: 362.3 kB / 0.7387 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.5749, allocations: 8 kB / 0.7387 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5749, allocations: 0 / 0.7387 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.5749, allocations: 0 / 0.7387 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.5754, allocations: 0.5303 MB / 0.7393 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.5757, allocations: 185.9 kB / 0.7394 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.5762, allocations: 0.6692 MB / 0.7401 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.5762, allocations: 7.938 kB / 0.7401 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.5763, allocations: 7.438 kB / 0.7401 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.5763, allocations: 0 / 0.7401 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.004502/0.5808, allocations: 1.721 MB / 0.7418 GB, free: 13.43 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: