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.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.145 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.0009125/0.0009124, allocations: 185.7 kB / 372.9 MB, free: 10.16 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.411/1.411, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0009106/0.0009104, allocations: 90.34 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 11.62 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2238, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005747/0.2296, allocations: 5.346 MB / 0.986 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6919/0.9215, allocations: 139 MB / 1.122 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.923, allocations: 27.91 kB / 1.122 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.9239, allocations: 227.1 kB / 1.122 GB, free: 1.969 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.002155/0.926, allocations: 0.4985 MB / 1.122 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.9292, allocations: 0.9712 MB / 1.123 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.9323, allocations: 2.013 MB / 1.125 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.9341, allocations: 1.002 MB / 1.126 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.9355, allocations: 0.5402 MB / 1.127 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008223/0.9364, allocations: 0.5776 MB / 1.127 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.9365, allocations: 40.22 kB / 1.127 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.9384, allocations: 0.6812 MB / 1.128 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.9389, allocations: 310.5 kB / 1.128 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008512/0.9397, allocations: 0.6794 MB / 1.129 GB, free: 16.49 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.9421, allocations: 1.885 MB / 1.131 GB, free: 16.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.9421, allocations: 2.391 kB / 1.131 GB, free: 16.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9422, allocations: 0 / 1.131 GB, free: 16.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.9422, allocations: 0 / 1.131 GB, free: 16.35 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.003086/0.9453, allocations: 1.763 MB / 1.133 GB, free: 15.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.9453, allocations: 13.31 kB / 1.133 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.9471, allocations: 376.2 kB / 1.133 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.9487, allocations: 1.186 MB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.9488, allocations: 95.98 kB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.949, allocations: 128.2 kB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.9516, allocations: 1.504 MB / 1.136 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.9516, allocations: 4 kB / 1.136 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.9518, allocations: 57.84 kB / 1.136 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.9518, allocations: 33.2 kB / 1.136 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003253/0.9551, allocations: 2.039 MB / 1.138 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007704/0.9628, allocations: 4.463 MB / 1.142 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.9657, allocations: 1.435 MB / 1.144 GB, free: 11.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.9668, allocations: 0.5349 MB / 1.144 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.967, allocations: 64.66 kB / 1.144 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.9685, allocations: 0.789 MB / 1.145 GB, free: 10.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 5.591e-06/0.9685, allocations: 5.031 kB / 1.145 GB, free: 10.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.006339/0.9749, allocations: 2.133 MB / 1.147 GB, free: 10.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002437/0.9752, allocations: 352.3 kB / 1.147 GB, free: 9.695 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.9774, allocations: 1.039 MB / 1.148 GB, free: 9.375 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.9776, allocations: 51.02 kB / 1.149 GB, free: 9.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006237/0.9782, allocations: 0.5942 MB / 1.149 GB, free: 9.051 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/0.9787, allocations: 458.2 kB / 1.15 GB, free: 8.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.9788, allocations: 23.53 kB / 1.15 GB, free: 8.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.979, allocations: 358.8 kB / 1.15 GB, free: 8.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.9802, allocations: 481.6 kB / 1.15 GB, free: 8.328 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.9817, allocations: 0.6563 MB / 1.151 GB, free: 8.117 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.984, allocations: 1.129 MB / 1.152 GB, free: 7.895 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.984, allocations: 1.219 kB / 1.152 GB, free: 7.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003784/0.9878, allocations: 1.518 MB / 1.154 GB, free: 7.539 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.9879, allocations: 10.36 kB / 1.154 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.9879, allocations: 2.625 kB / 1.154 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.989, allocations: 171.3 kB / 1.154 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.9902, allocations: 292 kB / 1.154 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.9942, allocations: 3.072 MB / 1.157 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.9958, allocations: 169.6 kB / 1.157 GB, free: 4.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.996, allocations: 70.08 kB / 1.157 GB, free: 4.559 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.0008749/0.9968, allocations: 389.2 kB / 1.158 GB, free: 4.402 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.9971, allocations: 145.1 kB / 1.158 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/1.002, allocations: 1.984 MB / 1.16 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/1.002, allocations: 9.828 kB / 1.16 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.002, allocations: 0 / 1.16 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/1.003, allocations: 454.9 kB / 1.16 GB, free: 3.484 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/1.003, allocations: 37.61 kB / 1.16 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.004, allocations: 136.6 kB / 1.16 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/1.004, allocations: 113.8 kB / 1.16 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003479/1.008, allocations: 1.747 MB / 1.162 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003827/1.011, allocations: 2.43 MB / 1.165 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001056/1.012, allocations: 0.6278 MB / 1.165 GB, free: 2.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001141/1.014, allocations: 0.719 MB / 1.166 GB, free: 1.867 MB / 0.698 GB Notification: Performance of Backend: time 4.91e-07/1.014, allocations: 0 / 1.166 GB, free: 1.867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004557/1.018, allocations: 1.721 MB / 1.167 GB, free: 1.195 MB / 0.698 GB Notification: Performance of SimCode: time 0.005159/1.023, allocations: 3.662 MB / 1.171 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.04936/1.073, allocations: 26.64 MB / 1.197 GB, free: 8.91 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)