Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.4 MB / 303.4 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 178.8 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007434/0.0007435, allocations: 96.81 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005837/0.000584, allocations: 10.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2595, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00391/0.2635, allocations: 3.604 MB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7482/1.012, allocations: 136.4 MB / 1.116 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/1.013, allocations: 14.09 kB / 1.116 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005951/1.013, allocations: 121.3 kB / 1.116 GB, free: 2.188 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.typeBindings: time 0.00146/1.015, allocations: 358.8 kB / 1.117 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/1.017, allocations: 0.5931 MB / 1.117 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001557/1.018, allocations: 1.03 MB / 1.118 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/1.019, allocations: 389.9 kB / 1.119 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007047/1.02, allocations: 303.6 kB / 1.119 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005257/1.02, allocations: 322.1 kB / 1.119 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.976e-05/1.02, allocations: 22.31 kB / 1.119 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/1.022, allocations: 0.6482 MB / 1.12 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/1.023, allocations: 164.4 kB / 1.12 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/1.023, allocations: 172.2 kB / 1.12 GB, free: 17.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/1.025, allocations: 1.124 MB / 1.121 GB, free: 17.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.025, allocations: 0 / 1.121 GB, free: 17.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/1.025, allocations: 1.312 kB / 1.121 GB, free: 17.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.644e-05/1.025, allocations: 0 / 1.121 GB, free: 17.4 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.002372/1.027, allocations: 1.154 MB / 1.123 GB, free: 16.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.027, allocations: 12.48 kB / 1.123 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.028, allocations: 207.1 kB / 1.123 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/1.029, allocations: 0.6619 MB / 1.123 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/1.03, allocations: 51.53 kB / 1.123 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.03, allocations: 65.78 kB / 1.124 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/1.031, allocations: 0.831 MB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/1.031, allocations: 2.922 kB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/1.031, allocations: 28.78 kB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/1.031, allocations: 21.17 kB / 1.124 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.034, allocations: 1.083 MB / 1.125 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/1.037, allocations: 2.374 MB / 1.128 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/1.039, allocations: 0.7475 MB / 1.128 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/1.039, allocations: 308.7 kB / 1.129 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/1.04, allocations: 38.92 kB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009422/1.041, allocations: 459.8 kB / 1.129 GB, free: 15.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/1.041, allocations: 6.969 kB / 1.129 GB, free: 15.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003309/1.044, allocations: 1.191 MB / 1.13 GB, free: 14.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.044, allocations: 188.6 kB / 1.131 GB, free: 14.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/1.045, allocations: 0.5804 MB / 1.131 GB, free: 14.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/1.045, allocations: 36.86 kB / 1.131 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/1.045, allocations: 352.6 kB / 1.132 GB, free: 14.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/1.045, allocations: 241.4 kB / 1.132 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/1.045, allocations: 13.5 kB / 1.132 GB, free: 14.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.046, allocations: 385 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/1.046, allocations: 271.5 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/1.047, allocations: 370.1 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/1.047, allocations: 311.6 kB / 1.133 GB, free: 13.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.047, allocations: 0 / 1.133 GB, free: 13.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002097/1.05, allocations: 0.8576 MB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.05, allocations: 9.531 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.05, allocations: 3.344 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/1.05, allocations: 80.83 kB / 1.134 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/1.051, allocations: 170.2 kB / 1.134 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/1.053, allocations: 1.531 MB / 1.136 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/1.054, allocations: 104.1 kB / 1.136 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.894e-05/1.054, allocations: 34.31 kB / 1.136 GB, free: 12.05 MB / 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.0005868/1.055, allocations: 250.7 kB / 1.136 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/1.055, allocations: 77.03 kB / 1.136 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/1.058, allocations: 1.126 MB / 1.137 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.058, allocations: 9.344 kB / 1.137 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.058, allocations: 0 / 1.137 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.058, allocations: 7.984 kB / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/1.06, allocations: 0.8433 MB / 1.138 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.06, allocations: 0 / 1.138 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/1.06, allocations: 164.8 kB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005696/1.061, allocations: 78.19 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/1.061, allocations: 23.8 kB / 1.138 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/1.063, allocations: 1.565 MB / 1.14 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.063, allocations: 3.938 kB / 1.14 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/1.066, allocations: 0.9103 MB / 1.141 GB, free: 9.406 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/1.066, allocations: 278.9 kB / 1.141 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.066, allocations: 21.77 kB / 1.141 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/1.067, allocations: 79.95 kB / 1.141 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.067, allocations: 65 kB / 1.141 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/1.067, allocations: 28.27 kB / 1.141 GB, free: 9.156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008728/1.068, allocations: 420.9 kB / 1.142 GB, free: 9.004 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.068, allocations: 0 / 1.142 GB, free: 9.004 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001671/1.07, allocations: 279.7 kB / 1.142 GB, free: 8.953 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001877/1.072, allocations: 0.5676 MB / 1.142 GB, free: 8.695 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002477/1.074, allocations: 0.838 MB / 1.143 GB, free: 8.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.074, allocations: 1.375 kB / 1.143 GB, free: 8.441 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/1.076, allocations: 0.5136 MB / 1.144 GB, free: 8.254 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.077, allocations: 252 kB / 1.144 GB, free: 8.188 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/1.083, allocations: 2.014 MB / 1.146 GB, free: 7.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.084, allocations: 0.987 MB / 1.147 GB, free: 6.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00126/1.085, allocations: 263 kB / 1.147 GB, free: 6.137 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/1.085, allocations: 106.7 kB / 1.147 GB, free: 6.109 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.085, allocations: 0 / 1.147 GB, free: 6.109 MB / 0.698 GB Notification: Performance of Templates: time 0.02851/1.114, allocations: 13.09 MB / 1.16 GB, free: 15.52 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)