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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009907/0.0009912, allocations: 173.8 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205 MB / 0.5767 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007235/0.0007235, allocations: 84 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003435, allocations: 7.688 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001459/0.2257, allocations: 0.9903 MB / 0.8977 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.2279, allocations: 1.54 MB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.2279, allocations: 0 / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.2279, allocations: 3.984 kB / 0.8992 GB, free: 65.62 MB / 0.6042 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.0002558/0.2282, allocations: 11.94 kB / 0.8992 GB, free: 65.61 MB / 0.6042 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.0005718/0.2288, allocations: 193.5 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.346e-05/0.2288, allocations: 23.92 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.2289, allocations: 3.984 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.2289, allocations: 12 kB / 0.8995 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.229, allocations: 11.92 kB / 0.8995 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2291, allocations: 4 kB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.2293, allocations: 159.8 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2293, allocations: 11.91 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.2293, allocations: 15.94 kB / 0.8997 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2295, allocations: 151.9 kB / 0.8998 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2296, allocations: 3.984 kB / 0.8998 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.756e-06/0.2296, allocations: 0 / 0.8998 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2296, allocations: 0 / 0.8998 GB, free: 65.03 MB / 0.6042 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.0003213/0.2299, allocations: 359.5 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2299, allocations: 8.031 kB / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.23, allocations: 84.22 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2301, allocations: 239.7 kB / 0.9005 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.2302, allocations: 154.9 kB / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.2302, allocations: 158.7 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.168e-05/0.2303, allocations: 104.9 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2303, allocations: 75.28 kB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.2303, allocations: 158.6 kB / 0.9011 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.2303, allocations: 154.6 kB / 0.9012 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.2304, allocations: 150.6 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.2306, allocations: 457.9 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.2306, allocations: 173.1 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.2306, allocations: 84.08 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2307, allocations: 75.28 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2307, allocations: 113.8 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2307, allocations: 0 / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.585e-05/0.2308, allocations: 29.61 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/0.2308, allocations: 51.41 kB / 0.9023 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.2309, allocations: 109.8 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2309, allocations: 29.7 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.2309, allocations: 88.12 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.2309, allocations: 0 / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.231, allocations: 9.719 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.231, allocations: 314.8 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.231, allocations: 7.938 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.2311, allocations: 26.56 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.2311, allocations: 26.58 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2311, allocations: 0 / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001118/0.2312, allocations: 53.56 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2313, allocations: 4 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2313, allocations: 8.344 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2313, allocations: 3.938 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.2314, allocations: 8 kB / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2314, allocations: 3.984 kB / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.2315, allocations: 11.92 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2316, allocations: 7.938 kB / 0.903 GB, free: 61.5 MB / 0.6042 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 7.43e-05/0.2316, allocations: 185.1 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.2317, allocations: 112.9 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.2317, allocations: 112.2 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/0.2318, allocations: 184.2 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.2318, allocations: 104.9 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.2318, allocations: 182 kB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.2319, allocations: 180.2 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.2319, allocations: 112.9 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.232, allocations: 180.3 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.029e-05/0.232, allocations: 263.4 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.209e-05/0.2321, allocations: 383.1 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.443e-05/0.2321, allocations: 108.9 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.352e-05/0.2322, allocations: 79.28 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of Backend: time 3.21e-07/0.2322, allocations: 0 / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000755/0.2329, allocations: 266.5 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003665/0.2333, allocations: 0.9232 MB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.003555/0.2369, allocations: 1.729 MB / 0.9079 GB, free: 56.35 MB / 0.6042 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)