Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.198/2.198, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001294/0.001294, allocations: 179.9 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0008974/0.0008974, allocations: 85.81 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007277/0.0007282, allocations: 10.41 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2559, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00558/0.2615, allocations: 3.615 MB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.214/0.4756, allocations: 136.5 MB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.4765, allocations: 19.88 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.4772, allocations: 119 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.typeBindings: time 0.001913/0.4791, allocations: 357.7 kB / 1.037 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.4818, allocations: 0.5936 MB / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.4841, allocations: 1.058 MB / 1.038 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.4855, allocations: 0.4905 MB / 1.039 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008564/0.4864, allocations: 302.6 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007037/0.4871, allocations: 318.3 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.4873, allocations: 20 kB / 1.039 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.4893, allocations: 0.6514 MB / 1.04 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.4896, allocations: 163.3 kB / 1.04 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.49, allocations: 173.2 kB / 1.04 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.4926, allocations: 1.13 MB / 1.042 GB, free: 15.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.4926, allocations: 0 / 1.042 GB, free: 15.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.946e-06/0.4927, allocations: 0 / 1.042 GB, free: 15.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.4927, allocations: 0 / 1.042 GB, free: 15.65 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00355/0.4962, allocations: 1.151 MB / 1.043 GB, free: 14.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.4963, allocations: 8.031 kB / 1.043 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.4984, allocations: 199.6 kB / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.5002, allocations: 0.6726 MB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.5004, allocations: 50 kB / 1.044 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.5006, allocations: 68 kB / 1.044 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.5035, allocations: 0.8255 MB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.5036, allocations: 0 / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.5037, allocations: 28 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.5038, allocations: 20 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.5078, allocations: 1.085 MB / 1.046 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007121/0.515, allocations: 2.36 MB / 1.048 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.5176, allocations: 0.7536 MB / 1.049 GB, free: 8.211 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.5188, allocations: 314.6 kB / 1.049 GB, free: 7.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.519, allocations: 28.69 kB / 1.049 GB, free: 7.871 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.5207, allocations: 467.6 kB / 1.049 GB, free: 7.398 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.028e-06/0.5207, allocations: 0 / 1.049 GB, free: 7.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.0061/0.5268, allocations: 1.194 MB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.527, allocations: 192.6 kB / 1.051 GB, free: 5.945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.5281, allocations: 0.5861 MB / 1.051 GB, free: 5.355 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.5283, allocations: 37.7 kB / 1.051 GB, free: 5.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.5287, allocations: 348.4 kB / 1.052 GB, free: 4.965 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.529, allocations: 240.5 kB / 1.052 GB, free: 4.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.5291, allocations: 12 kB / 1.052 GB, free: 4.715 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.5294, allocations: 382.8 kB / 1.052 GB, free: 4.332 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.5306, allocations: 273.8 kB / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.5319, allocations: 368 kB / 1.053 GB, free: 3.688 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.5333, allocations: 314.9 kB / 1.053 GB, free: 3.383 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.5333, allocations: 3.938 kB / 1.053 GB, free: 3.379 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003891/0.5372, allocations: 0.8604 MB / 1.054 GB, free: 2.508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5372, allocations: 4 kB / 1.054 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5372, allocations: 4 kB / 1.054 GB, free: 2.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009882/0.5382, allocations: 84.91 kB / 1.054 GB, free: 2.414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.5397, allocations: 167.8 kB / 1.054 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.5428, allocations: 1.528 MB / 1.056 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.5443, allocations: 95.48 kB / 1.056 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5444, allocations: 31.97 kB / 1.056 GB, free: 464 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006484/0.5451, allocations: 254.7 kB / 1.056 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.5453, allocations: 75.06 kB / 1.056 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6167/1.162, allocations: 1.124 MB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/1.162, allocations: 11.58 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.162, allocations: 0 / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008265/1.163, allocations: 273.7 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/1.163, allocations: 15.12 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.165, allocations: 83.97 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/1.165, allocations: 64.03 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004566/1.17, allocations: 0.9511 MB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00525/1.175, allocations: 1.402 MB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001437/1.176, allocations: 359.8 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001089/1.177, allocations: 419.8 kB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of Backend: time 7.61e-07/1.177, allocations: 0 / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006465/1.184, allocations: 1.229 MB / 1.062 GB, free: 155.4 MB / 0.698 GB Notification: Performance of SimCode: time 0.005632/1.19, allocations: 2.195 MB / 1.064 GB, free: 154.1 MB / 0.698 GB Notification: Performance of Templates: time 0.05689/1.247, allocations: 14.98 MB / 1.079 GB, free: 149.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)