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.006722/0.006722, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.001289/0.001289, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.436/1.436, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001668/0.001668, allocations: 71.89 kB / 0.7258 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7114, allocations: 104.7 MB / 0.828 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002996/0.7145, allocations: 1.264 MB / 0.8293 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.7173, allocations: 1.533 MB / 0.8308 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.7174, allocations: 4 kB / 0.8308 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.7174, allocations: 0 / 0.8308 GB, free: 15.79 MB / 0.6387 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.0003198/0.7178, allocations: 19.91 kB / 0.8308 GB, free: 15.77 MB / 0.6387 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.0006971/0.7185, allocations: 230 kB / 0.831 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.7186, allocations: 23.92 kB / 0.831 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.7186, allocations: 0 / 0.831 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.7187, allocations: 23.8 kB / 0.8311 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.7189, allocations: 12 kB / 0.8311 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.7189, allocations: 0 / 0.8311 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.7192, allocations: 179.8 kB / 0.8312 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.7192, allocations: 4 kB / 0.8312 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.7193, allocations: 15.91 kB / 0.8313 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.7196, allocations: 151.8 kB / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.7196, allocations: 0 / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7196, allocations: 0 / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.7196, allocations: 0 / 0.8314 GB, free: 15.14 MB / 0.6387 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.0005772/0.7202, allocations: 375 kB / 0.8318 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.975e-05/0.7203, allocations: 8.031 kB / 0.8318 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.7204, allocations: 80.22 kB / 0.8318 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.7207, allocations: 243.6 kB / 0.8321 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.7208, allocations: 150.9 kB / 0.8322 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.7209, allocations: 162.7 kB / 0.8324 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.7211, allocations: 105 kB / 0.8325 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/0.7211, allocations: 75.28 kB / 0.8325 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.7212, allocations: 150.6 kB / 0.8327 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.7214, allocations: 154.6 kB / 0.8328 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.7215, allocations: 158.5 kB / 0.833 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.7221, allocations: 457.8 kB / 0.8334 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.7222, allocations: 169.1 kB / 0.8336 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.7223, allocations: 84.08 kB / 0.8337 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.7223, allocations: 75.28 kB / 0.8337 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.459e-05/0.7224, allocations: 117.8 kB / 0.8339 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7224, allocations: 0 / 0.8339 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001/0.7225, allocations: 29.64 kB / 0.8339 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.7226, allocations: 126.7 kB / 0.834 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.7228, allocations: 105.8 kB / 0.8341 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.7228, allocations: 25.7 kB / 0.8341 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.7229, allocations: 88.14 kB / 0.8342 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.7229, allocations: 16 / 0.8342 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.7229, allocations: 25.66 kB / 0.8342 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7231, allocations: 314.8 kB / 0.8345 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.7231, allocations: 4.25 kB / 0.8345 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.7232, allocations: 26.58 kB / 0.8346 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.7232, allocations: 34.5 kB / 0.8346 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7232, allocations: 0 / 0.8346 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001584/0.7234, allocations: 49.58 kB / 0.8346 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7234, allocations: 11.94 kB / 0.8347 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7234, allocations: 3.984 kB / 0.8347 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.7235, allocations: 0 / 0.8347 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.7235, allocations: 4 kB / 0.8347 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7236, allocations: 0 / 0.8347 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.7237, allocations: 6.25 kB / 0.8347 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.7237, allocations: 12.08 kB / 0.8347 GB, free: 11.54 MB / 0.6387 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.0001302/0.7239, allocations: 193.1 kB / 0.8349 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.724, allocations: 112.8 kB / 0.835 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.724, allocations: 104.1 kB / 0.8351 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.182e-05/0.7241, allocations: 184.2 kB / 0.8352 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001075/0.7242, allocations: 180.2 kB / 0.8354 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001096/0.7244, allocations: 188.2 kB / 0.8356 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.7246, allocations: 405.2 kB / 0.836 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.403e-05/0.7247, allocations: 101 kB / 0.8361 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.7248, allocations: 108.9 kB / 0.8362 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.7249, allocations: 180.3 kB / 0.8364 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/0.7249, allocations: 184.2 kB / 0.8365 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.916e-05/0.7251, allocations: 180.3 kB / 0.8367 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.392e-05/0.7251, allocations: 180.2 kB / 0.8369 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.7253, allocations: 307.7 kB / 0.8372 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.7254, allocations: 190.2 kB / 0.8374 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7256, allocations: 180.2 kB / 0.8375 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.7257, allocations: 101 kB / 0.8376 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.7258, allocations: 188.2 kB / 0.8378 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.7258, allocations: 105 kB / 0.8379 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.7259, allocations: 83.27 kB / 0.838 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7259, allocations: 0 / 0.838 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004067/0.7263, allocations: 59.98 kB / 0.838 GB, free: 7.875 MB / 0.6387 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.0006859/0.727, allocations: 359.6 kB / 0.8384 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.7271, allocations: 11.94 kB / 0.8384 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7271, allocations: 0 / 0.8384 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.7271, allocations: 0 / 0.8384 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.7275, allocations: 466.7 kB / 0.8388 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.7279, allocations: 173.4 kB / 0.839 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.7281, allocations: 0.6766 MB / 0.8397 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.7282, allocations: 7.984 kB / 0.8397 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.7282, allocations: 7.438 kB / 0.8397 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of SimCode: time 1.91e-07/0.7282, allocations: 0 / 0.8397 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of Templates: time 0.005205/0.7334, allocations: 1.73 MB / 0.8414 GB, free: 4.484 MB / 0.6387 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)