Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.885/1.885, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.002034/0.002034, allocations: 190.2 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 96.98 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 47.92 kB / 0.8703 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3022, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008621/0.3109, allocations: 6.181 MB / 0.9882 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7347/1.046, allocations: 150.6 MB / 1.135 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/1.048, allocations: 33.34 kB / 1.135 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009608/1.049, allocations: 244 kB / 1.136 GB, free: 3.758 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.002189/1.051, allocations: 0.5162 MB / 1.136 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/1.054, allocations: 1.119 MB / 1.137 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002389/1.056, allocations: 2.149 MB / 1.139 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/1.058, allocations: 1.02 MB / 1.14 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009561/1.059, allocations: 0.6578 MB / 1.141 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/1.059, allocations: 0.7343 MB / 1.142 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/1.059, allocations: 85.09 kB / 1.142 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/1.061, allocations: 0.7425 MB / 1.142 GB, free: 376 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002988/1.061, allocations: 392.7 kB / 1.143 GB, free: 160 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/1.062, allocations: 0.7829 MB / 1.144 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/1.064, allocations: 2.472 MB / 1.146 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.064, allocations: 0 / 1.146 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.302e-06/1.064, allocations: 0.5625 kB / 1.146 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.374e-05/1.064, allocations: 0 / 1.146 GB, free: 14.64 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.003815/1.068, allocations: 2.117 MB / 1.148 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.068, allocations: 9.406 kB / 1.148 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/1.07, allocations: 355.6 kB / 1.148 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.072, allocations: 1.183 MB / 1.15 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/1.072, allocations: 102.1 kB / 1.15 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/1.072, allocations: 128.6 kB / 1.15 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/1.075, allocations: 1.503 MB / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/1.075, allocations: 3.094 kB / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/1.075, allocations: 60.16 kB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/1.075, allocations: 35.64 kB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/1.078, allocations: 2.03 MB / 1.153 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/1.086, allocations: 4.398 MB / 1.158 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/1.088, allocations: 1.428 MB / 1.159 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/1.089, allocations: 0.5335 MB / 1.16 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/1.089, allocations: 61.19 kB / 1.16 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.091, allocations: 0.7917 MB / 1.16 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=136): time 3.977e-06/1.091, allocations: 3.188 kB / 1.16 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of matching and sorting (n=136): time 0.00557/1.096, allocations: 2.103 MB / 1.162 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/1.097, allocations: 355.3 kB / 1.163 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.098, allocations: 1.046 MB / 1.164 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.098, allocations: 56.14 kB / 1.164 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/1.099, allocations: 0.5946 MB / 1.164 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/1.099, allocations: 452.1 kB / 1.165 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/1.1, allocations: 287.9 kB / 1.165 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.1, allocations: 355.7 kB / 1.165 GB, free: 4.578 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009521/1.101, allocations: 477.5 kB / 1.166 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.102, allocations: 0.6489 MB / 1.167 GB, free: 4.105 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/1.104, allocations: 1.115 MB / 1.168 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.104, allocations: 7.312 kB / 1.168 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003752/1.108, allocations: 1.521 MB / 1.169 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.108, allocations: 6 kB / 1.169 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.108, allocations: 0 / 1.169 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.109, allocations: 172.2 kB / 1.169 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.11, allocations: 292 kB / 1.17 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/1.114, allocations: 3.068 MB / 1.173 GB, free: 36 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.116, allocations: 156.8 kB / 1.173 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/1.116, allocations: 66.81 kB / 1.173 GB, free: 15.95 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001107/1.117, allocations: 395.3 kB / 1.173 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/1.117, allocations: 145.1 kB / 1.173 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004684/1.122, allocations: 1.976 MB / 1.175 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.122, allocations: 15.69 kB / 1.175 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/1.122, allocations: 1.688 kB / 1.175 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/1.122, allocations: 10 kB / 1.175 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/1.124, allocations: 1.459 MB / 1.177 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.124, allocations: 0 / 1.177 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.125, allocations: 287.8 kB / 1.177 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009223/1.126, allocations: 156.6 kB / 1.177 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/1.126, allocations: 42.55 kB / 1.177 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/1.13, allocations: 3.116 MB / 1.18 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.13, allocations: 5.594 kB / 1.18 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006578/1.136, allocations: 3.072 MB / 1.183 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008021/1.137, allocations: 425.5 kB / 1.184 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/1.138, allocations: 36.78 kB / 1.184 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.139, allocations: 117 kB / 1.184 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/1.139, allocations: 110.7 kB / 1.184 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.139, allocations: 63.3 kB / 1.184 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00141/1.141, allocations: 0.7308 MB / 1.185 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.91e-07/1.141, allocations: 0 / 1.185 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001801/1.142, allocations: 458.6 kB / 1.185 GB, free: 8.738 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/1.144, allocations: 0.6052 MB / 1.186 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00342/1.147, allocations: 1.5 MB / 1.187 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.147, allocations: 5.594 kB / 1.187 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/1.149, allocations: 0.9568 MB / 1.188 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.152, allocations: 0.5017 MB / 1.189 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008573/1.16, allocations: 4.491 MB / 1.193 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.161, allocations: 1.332 MB / 1.194 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001924/1.163, allocations: 0.4944 MB / 1.195 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/1.164, allocations: 180.5 kB / 1.195 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/1.164, allocations: 4 kB / 1.195 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.0553/1.219, allocations: 24.85 MB / 1.219 GB, free: 14.5 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)