Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.793/1.793, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.001377/0.001376, allocations: 187 kB / 371.2 MB, free: 10.83 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.494/1.494, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007217/0.0007219, allocations: 82.36 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 11.09 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2004, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005069/0.2056, allocations: 5.338 MB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5905/0.7961, allocations: 139 MB / 1.12 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.7986, allocations: 34.19 kB / 1.12 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.8, allocations: 226 kB / 1.12 GB, free: 1.277 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.003165/0.8032, allocations: 0.4884 MB / 1.12 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004906/0.8081, allocations: 0.9751 MB / 1.121 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003964/0.8121, allocations: 2.013 MB / 1.123 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.8142, allocations: 1.001 MB / 1.124 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.816, allocations: 0.5387 MB / 1.125 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.8177, allocations: 0.5793 MB / 1.125 GB, free: 188 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005826/0.8183, allocations: 47.5 kB / 1.125 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.8214, allocations: 0.6652 MB / 1.126 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009626/0.8224, allocations: 304.7 kB / 1.126 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.8235, allocations: 305.2 kB / 1.127 GB, free: 15.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.8278, allocations: 1.887 MB / 1.128 GB, free: 15.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.8279, allocations: 0.9688 kB / 1.128 GB, free: 15.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8279, allocations: 0 / 1.128 GB, free: 15.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001447/0.828, allocations: 0 / 1.128 GB, free: 15.84 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.006002/0.8341, allocations: 1.76 MB / 1.13 GB, free: 14.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.8341, allocations: 9.906 kB / 1.13 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.8372, allocations: 383 kB / 1.131 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.8404, allocations: 1.184 MB / 1.132 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.8405, allocations: 103.9 kB / 1.132 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.8409, allocations: 122.3 kB / 1.132 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/0.8454, allocations: 1.502 MB / 1.133 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.8455, allocations: 7.938 kB / 1.133 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.8457, allocations: 61.34 kB / 1.133 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.8457, allocations: 30.53 kB / 1.133 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/0.8512, allocations: 2.033 MB / 1.135 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009269/0.8605, allocations: 4.464 MB / 1.14 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.8637, allocations: 1.432 MB / 1.141 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.8648, allocations: 0.5328 MB / 1.142 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.865, allocations: 63.59 kB / 1.142 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.8666, allocations: 0.8053 MB / 1.143 GB, free: 11.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.406e-06/0.8666, allocations: 0 / 1.143 GB, free: 11.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.006326/0.8729, allocations: 2.12 MB / 1.145 GB, free: 10.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.8731, allocations: 353.1 kB / 1.145 GB, free: 10.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.8748, allocations: 1.043 MB / 1.146 GB, free: 9.719 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.875, allocations: 58.56 kB / 1.146 GB, free: 9.684 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.8755, allocations: 0.5938 MB / 1.147 GB, free: 9.391 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.8759, allocations: 457.1 kB / 1.147 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.876, allocations: 24.31 kB / 1.147 GB, free: 9.066 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8761, allocations: 356.4 kB / 1.147 GB, free: 8.746 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.8773, allocations: 482.9 kB / 1.148 GB, free: 8.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.8787, allocations: 0.6516 MB / 1.149 GB, free: 8.457 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.8811, allocations: 1.131 MB / 1.15 GB, free: 8.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8811, allocations: 1.75 kB / 1.15 GB, free: 8.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004082/0.8852, allocations: 1.523 MB / 1.151 GB, free: 7.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.8852, allocations: 7.312 kB / 1.151 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8852, allocations: 1.969 kB / 1.151 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.8863, allocations: 167.4 kB / 1.151 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.8876, allocations: 295.8 kB / 1.152 GB, free: 7.742 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/0.8916, allocations: 3.064 MB / 1.155 GB, free: 5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.8932, allocations: 163.5 kB / 1.155 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.8933, allocations: 74.69 kB / 1.155 GB, free: 4.902 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.0009465/0.8943, allocations: 387.9 kB / 1.155 GB, free: 4.746 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.8946, allocations: 144.8 kB / 1.155 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/0.8995, allocations: 1.984 MB / 1.157 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.8995, allocations: 16.72 kB / 1.157 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.8995, allocations: 0 / 1.157 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.8995, allocations: 7.969 kB / 1.157 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.9014, allocations: 1.456 MB / 1.159 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.9015, allocations: 8.344 kB / 1.159 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.9025, allocations: 283.6 kB / 1.159 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009567/0.9035, allocations: 165.9 kB / 1.159 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-05/0.9036, allocations: 42.75 kB / 1.159 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/0.9071, allocations: 3.121 MB / 1.162 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9071, allocations: 3.938 kB / 1.162 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/0.9107, allocations: 1.627 MB / 1.164 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000763/0.9115, allocations: 456.3 kB / 1.164 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.9117, allocations: 38.03 kB / 1.164 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.9128, allocations: 131.1 kB / 1.164 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.913, allocations: 121.4 kB / 1.165 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.9132, allocations: 56.25 kB / 1.165 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001002/0.9142, allocations: 0.721 MB / 1.165 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9142, allocations: 0 / 1.165 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001238/0.9154, allocations: 460.4 kB / 1.166 GB, free: 15.52 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.001282/0.9167, allocations: 0.5876 MB / 1.166 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003085/0.9198, allocations: 1.51 MB / 1.168 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.9198, allocations: 6.812 kB / 1.168 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.9215, allocations: 0.9665 MB / 1.169 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.9237, allocations: 484.5 kB / 1.169 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.9313, allocations: 3.692 MB / 1.173 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.9324, allocations: 1.286 MB / 1.174 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002051/0.9345, allocations: 0.4923 MB / 1.175 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/0.935, allocations: 178.6 kB / 1.175 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/0.935, allocations: 0 / 1.175 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.04177/0.9768, allocations: 23.35 MB / 1.198 GB, free: 6.867 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)