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.673/1.673, allocations: 288.4 MB / 303.7 MB, free: 8.137 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.001172/0.001172, allocations: 190.6 kB / 372.3 MB, free: 10.13 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.452/1.452, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007848/0.0007847, allocations: 90.31 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 11.88 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.004724/0.2038, allocations: 5.339 MB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5433/0.7471, allocations: 139 MB / 1.121 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000965/0.7481, allocations: 26.72 kB / 1.121 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.7488, allocations: 230.4 kB / 1.121 GB, free: 1.926 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.001626/0.7504, allocations: 0.4948 MB / 1.122 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.7532, allocations: 0.9721 MB / 1.123 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.7554, allocations: 2.016 MB / 1.125 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.7568, allocations: 0.9995 MB / 1.126 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009766/0.7577, allocations: 0.539 MB / 1.126 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.7585, allocations: 0.5805 MB / 1.127 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.7587, allocations: 40.19 kB / 1.127 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.7602, allocations: 0.6798 MB / 1.127 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.7605, allocations: 306.2 kB / 1.128 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006829/0.7612, allocations: 0.6867 MB / 1.128 GB, free: 16.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.7634, allocations: 1.888 MB / 1.13 GB, free: 16.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7634, allocations: 0 / 1.13 GB, free: 16.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.567e-06/0.7634, allocations: 0 / 1.13 GB, free: 16.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.359e-05/0.7634, allocations: 3.938 kB / 1.13 GB, free: 16.3 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.003194/0.7666, allocations: 1.756 MB / 1.132 GB, free: 15.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.7667, allocations: 10.28 kB / 1.132 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.7685, allocations: 380.3 kB / 1.132 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.7701, allocations: 1.188 MB / 1.134 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.7702, allocations: 94.8 kB / 1.134 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.7704, allocations: 128.4 kB / 1.134 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.7728, allocations: 1.502 MB / 1.135 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.7729, allocations: 4 kB / 1.135 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.773, allocations: 59.78 kB / 1.135 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.773, allocations: 31.94 kB / 1.135 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/0.7762, allocations: 2.037 MB / 1.137 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/0.7833, allocations: 4.464 MB / 1.142 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.7862, allocations: 1.429 MB / 1.143 GB, free: 11.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.7872, allocations: 0.5387 MB / 1.144 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.7873, allocations: 59.09 kB / 1.144 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.7889, allocations: 0.7946 MB / 1.144 GB, free: 10.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.967e-06/0.7889, allocations: 0 / 1.144 GB, free: 10.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.005868/0.7948, allocations: 2.127 MB / 1.146 GB, free: 10.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.795, allocations: 353 kB / 1.147 GB, free: 9.734 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.7965, allocations: 1.042 MB / 1.148 GB, free: 9.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.7966, allocations: 52.77 kB / 1.148 GB, free: 9.379 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/0.7971, allocations: 0.5954 MB / 1.148 GB, free: 9.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.7975, allocations: 452.1 kB / 1.149 GB, free: 8.766 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.7976, allocations: 25.34 kB / 1.149 GB, free: 8.766 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7977, allocations: 356.7 kB / 1.149 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009881/0.7987, allocations: 485.6 kB / 1.15 GB, free: 8.363 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.7999, allocations: 0.654 MB / 1.15 GB, free: 8.152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.802, allocations: 1.128 MB / 1.151 GB, free: 7.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.802, allocations: 0.9688 kB / 1.151 GB, free: 7.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003733/0.8057, allocations: 1.527 MB / 1.153 GB, free: 7.566 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.8058, allocations: 7.156 kB / 1.153 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8058, allocations: 1.75 kB / 1.153 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.8069, allocations: 169.7 kB / 1.153 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.8082, allocations: 296.2 kB / 1.153 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004173/0.8124, allocations: 3.07 MB / 1.156 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.8141, allocations: 167.4 kB / 1.157 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/0.8144, allocations: 74.97 kB / 1.157 GB, free: 4.582 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.001092/0.8155, allocations: 387.2 kB / 1.157 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/0.816, allocations: 147.9 kB / 1.157 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/0.8212, allocations: 1.981 MB / 1.159 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.8212, allocations: 16.44 kB / 1.159 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.8212, allocations: 0 / 1.159 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.8213, allocations: 7.969 kB / 1.159 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.8234, allocations: 1.447 MB / 1.161 GB, free: 3.195 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.8235, allocations: 10.8 kB / 1.161 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.8246, allocations: 284.2 kB / 1.161 GB, free: 3.129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/0.8256, allocations: 168.3 kB / 1.161 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.8258, allocations: 45.66 kB / 1.161 GB, free: 3.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/0.8293, allocations: 3.114 MB / 1.164 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8293, allocations: 3.938 kB / 1.164 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/0.833, allocations: 1.642 MB / 1.166 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008633/0.8339, allocations: 451.6 kB / 1.166 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.8342, allocations: 33.78 kB / 1.166 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.8354, allocations: 138.1 kB / 1.166 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.8356, allocations: 119.3 kB / 1.166 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.8358, allocations: 59.12 kB / 1.166 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001041/0.8368, allocations: 0.7145 MB / 1.167 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8368, allocations: 0 / 1.167 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001327/0.8381, allocations: 457.7 kB / 1.168 GB, free: 15.24 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.001387/0.8395, allocations: 0.6108 MB / 1.168 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003029/0.8426, allocations: 1.512 MB / 1.17 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.8426, allocations: 2.094 kB / 1.17 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.8443, allocations: 0.9555 MB / 1.171 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.8465, allocations: 492.8 kB / 1.171 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/0.8542, allocations: 3.688 MB / 1.175 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.8554, allocations: 1.279 MB / 1.176 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001911/0.8573, allocations: 0.4946 MB / 1.176 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.8578, allocations: 185.5 kB / 1.177 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.8578, allocations: 4 kB / 1.177 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.04149/0.8993, allocations: 23.63 MB / 1.2 GB, free: 5.367 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)