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.001092/0.001092, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001458/0.001458, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.859 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.611/1.611, allocations: 252 MB / 0.5102 GB, free: 4.863 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.0005417/0.0005418, allocations: 12 kB / 0.6243 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6278/0.6283, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001787/0.6302, allocations: 0.9876 MB / 0.7291 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.6325, allocations: 1.44 MB / 0.7305 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.6325, allocations: 0 / 0.7305 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.6325, allocations: 0 / 0.7305 GB, free: 8.996 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.0002283/0.6328, allocations: 23.91 kB / 0.7305 GB, free: 8.973 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.0005762/0.6333, allocations: 196.9 kB / 0.7307 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.6334, allocations: 19.88 kB / 0.7307 GB, free: 8.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.6335, allocations: 0 / 0.7307 GB, free: 8.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.6336, allocations: 15.92 kB / 0.7307 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.6337, allocations: 11.98 kB / 0.7308 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.6337, allocations: 4 kB / 0.7308 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.6339, allocations: 143.8 kB / 0.7309 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.634, allocations: 3.984 kB / 0.7309 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.634, allocations: 33.7 kB / 0.7309 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.6342, allocations: 103.8 kB / 0.731 GB, free: 8.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6342, allocations: 0 / 0.731 GB, free: 8.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6342, allocations: 0 / 0.731 GB, free: 8.449 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6342, allocations: 0 / 0.731 GB, free: 8.449 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.0003893/0.6346, allocations: 369.2 kB / 0.7314 GB, free: 8.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6347, allocations: 12.03 kB / 0.7314 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.6347, allocations: 75.28 kB / 0.7315 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.6349, allocations: 246.3 kB / 0.7317 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.635, allocations: 158.6 kB / 0.7319 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.6351, allocations: 154.6 kB / 0.732 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.6351, allocations: 101 kB / 0.7321 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.6352, allocations: 75.28 kB / 0.7322 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.6353, allocations: 150.6 kB / 0.7323 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/0.6353, allocations: 154.6 kB / 0.7325 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.6354, allocations: 154.5 kB / 0.7326 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.6357, allocations: 461.8 kB / 0.733 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.6358, allocations: 169.1 kB / 0.7332 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.6358, allocations: 84.14 kB / 0.7333 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.6359, allocations: 75.28 kB / 0.7334 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.6359, allocations: 113.9 kB / 0.7335 GB, free: 5.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.6359, allocations: 3.938 kB / 0.7335 GB, free: 5.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.061e-05/0.636, allocations: 33.61 kB / 0.7335 GB, free: 5.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.6361, allocations: 130.7 kB / 0.7336 GB, free: 5.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.6362, allocations: 109.8 kB / 0.7337 GB, free: 5.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.6362, allocations: 29.7 kB / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.6363, allocations: 84.12 kB / 0.7338 GB, free: 5.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.6363, allocations: 0 / 0.7338 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.6363, allocations: 0 / 0.7338 GB, free: 5.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6365, allocations: 318.8 kB / 0.7341 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.6365, allocations: 4 kB / 0.7342 GB, free: 5.031 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.6365, allocations: 22.56 kB / 0.7342 GB, free: 5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.6366, allocations: 11.94 kB / 0.7342 GB, free: 4.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6366, allocations: 0 / 0.7342 GB, free: 4.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001251/0.6367, allocations: 53.62 kB / 0.7342 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6367, allocations: 7.938 kB / 0.7342 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6367, allocations: 0 / 0.7342 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6368, allocations: 4 kB / 0.7342 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.6368, allocations: 4 kB / 0.7342 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6368, allocations: 8.031 kB / 0.7343 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.637, allocations: 11.98 kB / 0.7343 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.637, allocations: 4 kB / 0.7343 GB, free: 4.891 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.6371, allocations: 185.1 kB / 0.7344 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.6372, allocations: 108.9 kB / 0.7346 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.6372, allocations: 112.1 kB / 0.7347 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/0.6373, allocations: 180.3 kB / 0.7348 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.787e-05/0.6374, allocations: 180.2 kB / 0.735 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.239e-05/0.6374, allocations: 180.3 kB / 0.7352 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.6377, allocations: 409.1 kB / 0.7356 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/0.6377, allocations: 105 kB / 0.7357 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.6378, allocations: 101 kB / 0.7358 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.721e-05/0.6379, allocations: 184.2 kB / 0.7359 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.6379, allocations: 180.2 kB / 0.7361 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.798e-05/0.638, allocations: 184.2 kB / 0.7363 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-05/0.6381, allocations: 180.3 kB / 0.7365 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.6382, allocations: 311.6 kB / 0.7368 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.6383, allocations: 186.2 kB / 0.7369 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.6384, allocations: 184.5 kB / 0.7371 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.6385, allocations: 105 kB / 0.7372 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.6385, allocations: 180.3 kB / 0.7374 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.6386, allocations: 112.9 kB / 0.7375 GB, free: 1.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.6386, allocations: 87.53 kB / 0.7376 GB, free: 1.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6387, allocations: 0 / 0.7376 GB, free: 1.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000331/0.639, allocations: 51.98 kB / 0.7376 GB, free: 1.234 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 (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.0005798/0.6396, allocations: 356 kB / 0.738 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.6397, allocations: 7.938 kB / 0.738 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6397, allocations: 0 / 0.738 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.6397, allocations: 3.984 kB / 0.738 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.6401, allocations: 0.5324 MB / 0.7385 GB, free: 376 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.6403, allocations: 173.9 kB / 0.7387 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.6406, allocations: 0.6731 MB / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.6407, allocations: 0 / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.6407, allocations: 19.42 kB / 0.7393 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.6407, allocations: 3.938 kB / 0.7393 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.004633/0.6453, allocations: 1.656 MB / 0.741 GB, free: 13.84 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: