Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 288.4 MB / 303.4 MB, free: 8.102 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.001101/0.0011, allocations: 168.5 kB / 372 MB, free: 10.23 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.533/1.533, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007905/0.0007906, allocations: 94.75 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 11 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.004647/0.2132, allocations: 5.342 MB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6267/0.84, allocations: 139 MB / 1.121 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.8412, allocations: 31.72 kB / 1.121 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.8419, allocations: 232.3 kB / 1.121 GB, free: 1.777 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.001717/0.8436, allocations: 495.5 kB / 1.121 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.8466, allocations: 0.9756 MB / 1.122 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002239/0.8488, allocations: 1.958 MB / 1.124 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.8499, allocations: 0.7334 MB / 1.125 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009134/0.8508, allocations: 0.5427 MB / 1.125 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.8515, allocations: 0.577 MB / 1.126 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.8517, allocations: 40.5 kB / 1.126 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.8534, allocations: 0.6629 MB / 1.127 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003393/0.8537, allocations: 306.6 kB / 1.127 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.8541, allocations: 309 kB / 1.127 GB, free: 16.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.8564, allocations: 1.892 MB / 1.129 GB, free: 16.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.8564, allocations: 4 kB / 1.129 GB, free: 16.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8564, allocations: 0 / 1.129 GB, free: 16.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.782e-05/0.8564, allocations: 0 / 1.129 GB, free: 16.46 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.00357/0.86, allocations: 1.773 MB / 1.131 GB, free: 15.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.8601, allocations: 8.031 kB / 1.131 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.8619, allocations: 378.5 kB / 1.131 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.8635, allocations: 1.137 MB / 1.132 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.8636, allocations: 98.62 kB / 1.132 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.8637, allocations: 128 kB / 1.132 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.8662, allocations: 1.507 MB / 1.134 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.8663, allocations: 0 / 1.134 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.8664, allocations: 60.88 kB / 1.134 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.8664, allocations: 32.09 kB / 1.134 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.8694, allocations: 2.033 MB / 1.136 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006586/0.876, allocations: 4.465 MB / 1.14 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.8787, allocations: 1.431 MB / 1.142 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.8797, allocations: 0.5365 MB / 1.142 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.8798, allocations: 60.11 kB / 1.142 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.8813, allocations: 0.8016 MB / 1.143 GB, free: 10.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.156e-06/0.8813, allocations: 0.5 kB / 1.143 GB, free: 10.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.005777/0.8871, allocations: 2.122 MB / 1.145 GB, free: 10.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.8873, allocations: 361.7 kB / 1.146 GB, free: 9.926 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.8889, allocations: 1.044 MB / 1.147 GB, free: 9.602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.8891, allocations: 53.36 kB / 1.147 GB, free: 9.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.8896, allocations: 0.5921 MB / 1.147 GB, free: 9.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.8899, allocations: 449.4 kB / 1.148 GB, free: 8.957 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.89, allocations: 30.84 kB / 1.148 GB, free: 8.953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8902, allocations: 357.4 kB / 1.148 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.8912, allocations: 476.9 kB / 1.148 GB, free: 8.562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.8924, allocations: 0.6594 MB / 1.149 GB, free: 8.344 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.8935, allocations: 0.5478 MB / 1.15 GB, free: 8.281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.8935, allocations: 1.375 kB / 1.15 GB, free: 8.281 MB / 0.698 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003797/0.8973, allocations: 1.525 MB / 1.151 GB, free: 7.922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.8973, allocations: 5.438 kB / 1.151 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.8973, allocations: 2.375 kB / 1.151 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.8985, allocations: 173.2 kB / 1.151 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.8997, allocations: 293.4 kB / 1.152 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.9034, allocations: 3.061 MB / 1.155 GB, free: 5.043 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.9048, allocations: 182.3 kB / 1.155 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.905, allocations: 69.12 kB / 1.155 GB, free: 4.938 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009678/0.906, allocations: 387.2 kB / 1.155 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.9065, allocations: 140.3 kB / 1.155 GB, free: 4.715 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/0.9115, allocations: 1.993 MB / 1.157 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.9115, allocations: 16.59 kB / 1.157 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.9115, allocations: 7.141 kB / 1.157 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.9116, allocations: 7.969 kB / 1.157 GB, free: 4.129 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.9137, allocations: 1.459 MB / 1.159 GB, free: 3.531 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.9137, allocations: 8.094 kB / 1.159 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.9147, allocations: 280.3 kB / 1.159 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.9158, allocations: 171.9 kB / 1.159 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.9159, allocations: 43.44 kB / 1.159 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.9198, allocations: 3.111 MB / 1.162 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9199, allocations: 4.938 kB / 1.162 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.9239, allocations: 1.632 MB / 1.164 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009735/0.9249, allocations: 455.2 kB / 1.164 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.9252, allocations: 32.53 kB / 1.164 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.9265, allocations: 142.8 kB / 1.164 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.9268, allocations: 116.6 kB / 1.165 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.9269, allocations: 57.78 kB / 1.165 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001521/0.9285, allocations: 0.7171 MB / 1.165 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9285, allocations: 0 / 1.165 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001661/0.9301, allocations: 453.7 kB / 1.166 GB, free: 15.56 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001496/0.9316, allocations: 0.5955 MB / 1.166 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00326/0.9349, allocations: 1.511 MB / 1.168 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9349, allocations: 0 / 1.168 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.9367, allocations: 0.9671 MB / 1.169 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.9391, allocations: 489.3 kB / 1.169 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007482/0.9466, allocations: 3.691 MB / 1.173 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.9476, allocations: 1.28 MB / 1.174 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001865/0.9495, allocations: 0.4942 MB / 1.175 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.95, allocations: 183.2 kB / 1.175 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.643e-06/0.95, allocations: 0 / 1.175 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.0399/0.9899, allocations: 23.34 MB / 1.197 GB, free: 7.059 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)