Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.807/1.807, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.0008822/0.0008822, allocations: 183 kB / 371.2 MB, free: 10.84 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.487/1.487, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.000764/0.0007639, allocations: 91.67 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 13.94 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2674, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004431/0.2719, allocations: 3.6 MB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7816/1.054, allocations: 136.5 MB / 1.115 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007576/1.054, allocations: 14.19 kB / 1.115 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005323/1.055, allocations: 128.8 kB / 1.116 GB, free: 1.648 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001373/1.056, allocations: 352.9 kB / 1.116 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/1.058, allocations: 0.5994 MB / 1.116 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001494/1.06, allocations: 1.056 MB / 1.118 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/1.061, allocations: 0.5169 MB / 1.118 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/1.061, allocations: 295.9 kB / 1.118 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/1.062, allocations: 325.4 kB / 1.119 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/1.062, allocations: 22.09 kB / 1.119 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/1.064, allocations: 0.6418 MB / 1.119 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/1.064, allocations: 166.7 kB / 1.119 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/1.064, allocations: 174.3 kB / 1.12 GB, free: 16.9 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/1.066, allocations: 1.124 MB / 1.121 GB, free: 16.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.066, allocations: 0 / 1.121 GB, free: 16.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.634e-06/1.066, allocations: 0 / 1.121 GB, free: 16.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.537e-05/1.066, allocations: 0 / 1.121 GB, free: 16.81 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.002149/1.068, allocations: 1.137 MB / 1.122 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.068, allocations: 10.84 kB / 1.122 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.07, allocations: 205.8 kB / 1.122 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.071, allocations: 0.6917 MB / 1.123 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/1.071, allocations: 54.25 kB / 1.123 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/1.071, allocations: 72.36 kB / 1.123 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/1.072, allocations: 0.8254 MB / 1.124 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.072, allocations: 2.688 kB / 1.124 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/1.072, allocations: 29.69 kB / 1.124 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/1.072, allocations: 20.19 kB / 1.124 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/1.074, allocations: 1.08 MB / 1.125 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/1.078, allocations: 2.372 MB / 1.127 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/1.08, allocations: 0.7489 MB / 1.128 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/1.081, allocations: 313.4 kB / 1.128 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.39e-05/1.081, allocations: 31.48 kB / 1.128 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.082, allocations: 471.3 kB / 1.129 GB, free: 14.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/1.082, allocations: 4 kB / 1.129 GB, free: 14.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003586/1.085, allocations: 1.185 MB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.086, allocations: 190.2 kB / 1.13 GB, free: 14.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/1.086, allocations: 0.5859 MB / 1.13 GB, free: 13.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/1.086, allocations: 36.86 kB / 1.13 GB, free: 13.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/1.087, allocations: 350.1 kB / 1.131 GB, free: 13.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.087, allocations: 242.8 kB / 1.131 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/1.087, allocations: 11.94 kB / 1.131 GB, free: 13.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.087, allocations: 391.2 kB / 1.131 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/1.088, allocations: 271 kB / 1.132 GB, free: 13.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007605/1.089, allocations: 362.6 kB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/1.09, allocations: 0.6261 MB / 1.133 GB, free: 13.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.09, allocations: 1.125 kB / 1.133 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002662/1.093, allocations: 0.8567 MB / 1.133 GB, free: 13.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.093, allocations: 6.672 kB / 1.133 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.093, allocations: 5.578 kB / 1.134 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/1.094, allocations: 84.48 kB / 1.134 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/1.094, allocations: 166.1 kB / 1.134 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/1.097, allocations: 1.534 MB / 1.135 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008814/1.098, allocations: 95.41 kB / 1.135 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/1.098, allocations: 35.22 kB / 1.135 GB, free: 11.66 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.0005883/1.098, allocations: 254.5 kB / 1.136 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.098, allocations: 83.94 kB / 1.136 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/1.101, allocations: 1.114 MB / 1.137 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.101, allocations: 12.78 kB / 1.137 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.101, allocations: 0 / 1.137 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.101, allocations: 4.453 kB / 1.137 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.103, allocations: 0.8434 MB / 1.138 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.103, allocations: 5.469 kB / 1.138 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/1.103, allocations: 159.2 kB / 1.138 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/1.104, allocations: 85.17 kB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/1.104, allocations: 22.34 kB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/1.106, allocations: 1.566 MB / 1.139 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.106, allocations: 5.203 kB / 1.139 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.108, allocations: 0.9197 MB / 1.14 GB, free: 9.461 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/1.108, allocations: 279.9 kB / 1.141 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.108, allocations: 13.91 kB / 1.141 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/1.109, allocations: 82.25 kB / 1.141 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.109, allocations: 61.81 kB / 1.141 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/1.109, allocations: 36.34 kB / 1.141 GB, free: 9.211 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007062/1.11, allocations: 413.4 kB / 1.141 GB, free: 9.066 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 1.75 kB / 1.141 GB, free: 9.066 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001286/1.111, allocations: 274.8 kB / 1.141 GB, free: 9.02 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.001647/1.113, allocations: 0.5706 MB / 1.142 GB, free: 8.777 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002181/1.115, allocations: 0.8276 MB / 1.143 GB, free: 8.527 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.115, allocations: 1.094 kB / 1.143 GB, free: 8.527 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.116, allocations: 0.5211 MB / 1.143 GB, free: 8.336 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.118, allocations: 254.5 kB / 1.144 GB, free: 8.254 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/1.123, allocations: 2.009 MB / 1.145 GB, free: 7.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/1.123, allocations: 0.9859 MB / 1.146 GB, free: 6.352 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001235/1.125, allocations: 266.1 kB / 1.147 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/1.125, allocations: 99.52 kB / 1.147 GB, free: 6.195 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/1.125, allocations: 5.969 kB / 1.147 GB, free: 6.191 MB / 0.698 GB Notification: Performance of Templates: time 0.03079/1.156, allocations: 13.13 MB / 1.16 GB, free: 15.58 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)