Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.975/1.975, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001846/0.001845, allocations: 184.2 kB / 376.9 MB, free: 1.828 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.709/1.709, allocations: 205 MB / 0.6354 GB, free: 9.793 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.0009866/0.0009867, allocations: 106.2 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2738, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006258/0.2801, allocations: 4.036 MB / 0.9862 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6495/0.9297, allocations: 147.8 MB / 1.131 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007681/0.9305, allocations: 17.5 kB / 1.131 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.9312, allocations: 132.5 kB / 1.131 GB, free: 7.281 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.00177/0.933, allocations: 347.7 kB / 1.131 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.9349, allocations: 0.5953 MB / 1.132 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.9366, allocations: 1 MB / 1.133 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.9376, allocations: 488 kB / 1.133 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.9384, allocations: 310.1 kB / 1.133 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.939, allocations: 331.3 kB / 1.134 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.9391, allocations: 37.47 kB / 1.134 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006469/0.9398, allocations: 242.2 kB / 1.134 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.94, allocations: 185.7 kB / 1.134 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.9403, allocations: 376.2 kB / 1.134 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.9413, allocations: 1.127 MB / 1.136 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9413, allocations: 0 / 1.136 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9414, allocations: 0 / 1.136 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.9414, allocations: 4.938 kB / 1.136 GB, free: 4.875 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001804/0.9432, allocations: 1.145 MB / 1.137 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9432, allocations: 8.719 kB / 1.137 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.9435, allocations: 100.2 kB / 1.137 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/0.9443, allocations: 0.6598 MB / 1.137 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.9443, allocations: 44.5 kB / 1.137 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.9444, allocations: 60.34 kB / 1.138 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.9453, allocations: 0.6978 MB / 1.138 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.9453, allocations: 0 / 1.138 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.9453, allocations: 27.34 kB / 1.138 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.9454, allocations: 16.03 kB / 1.138 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.9464, allocations: 0.9153 MB / 1.139 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.9495, allocations: 2.322 MB / 1.141 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009579/0.9504, allocations: 0.5981 MB / 1.142 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.9508, allocations: 226.6 kB / 1.142 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.9509, allocations: 23.41 kB / 1.142 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.9515, allocations: 361.2 kB / 1.143 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 1.974e-06/0.9515, allocations: 0 / 1.143 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.001136/0.9526, allocations: 0.7053 MB / 1.143 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/0.9527, allocations: 241.6 kB / 1.143 GB, free: 316 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.9533, allocations: 0.5718 MB / 1.144 GB, free: 48 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.9534, allocations: 36.73 kB / 1.144 GB, free: 8 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.9537, allocations: 335 kB / 1.144 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.9538, allocations: 203.9 kB / 1.145 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.954, allocations: 144.1 kB / 1.145 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9542, allocations: 375.7 kB / 1.145 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.9544, allocations: 190.2 kB / 1.145 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.9548, allocations: 291.3 kB / 1.146 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.9555, allocations: 475.2 kB / 1.146 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.9555, allocations: 3.312 kB / 1.146 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009126/0.9564, allocations: 0.604 MB / 1.147 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.9565, allocations: 7.375 kB / 1.147 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9565, allocations: 3.938 kB / 1.147 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.9565, allocations: 3.25 kB / 1.147 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.957, allocations: 129.4 kB / 1.147 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.957, allocations: 6.438 kB / 1.147 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.9575, allocations: 70.17 kB / 1.147 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.9575, allocations: 26.7 kB / 1.147 GB, free: 14.41 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003503/0.9579, allocations: 251 kB / 1.147 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.958, allocations: 71.5 kB / 1.147 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.9594, allocations: 0.7513 MB / 1.148 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.9594, allocations: 9.562 kB / 1.148 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9594, allocations: 0 / 1.148 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.9594, allocations: 3.375 kB / 1.148 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.9604, allocations: 0.8799 MB / 1.149 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.9605, allocations: 1.5 kB / 1.149 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.9608, allocations: 119.6 kB / 1.149 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.9609, allocations: 7.359 kB / 1.149 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.9609, allocations: 17.67 kB / 1.149 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.9609, allocations: 7.719 kB / 1.149 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9609, allocations: 0 / 1.149 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.9626, allocations: 1.556 MB / 1.15 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.9629, allocations: 235.8 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.963, allocations: 22.62 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.9634, allocations: 49.08 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9635, allocations: 48.33 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.9636, allocations: 35.17 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004597/0.9641, allocations: 416.1 kB / 1.151 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.754e-06/0.9641, allocations: 0 / 1.151 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007343/0.9648, allocations: 232.3 kB / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.966, allocations: 0.5462 MB / 1.152 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008212/0.9668, allocations: 0.5049 MB / 1.152 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9669, allocations: 0 / 1.152 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.9673, allocations: 280 kB / 1.153 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.9683, allocations: 238.5 kB / 1.153 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.9708, allocations: 2.002 MB / 1.155 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.9714, allocations: 0.9616 MB / 1.156 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008297/0.9723, allocations: 241.5 kB / 1.156 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.9725, allocations: 89.88 kB / 1.156 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of SimCode: time 9.52e-07/0.9725, allocations: 0 / 1.156 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of Templates: time 0.02034/0.9928, allocations: 10.8 MB / 1.167 GB, free: 8.199 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)