Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.916/1.916, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001407/0.001407, allocations: 177.5 kB / 376.9 MB, free: 1.805 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.738/1.738, allocations: 205.1 MB / 0.6354 GB, free: 9.746 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.001129/0.001129, allocations: 97.7 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 51.91 kB / 0.8703 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2877, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006234/0.294, allocations: 4.044 MB / 0.9862 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7423/1.036, allocations: 147.8 MB / 1.131 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009248/1.037, allocations: 16.47 kB / 1.131 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007921/1.038, allocations: 131.2 kB / 1.131 GB, free: 7.242 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.001864/1.04, allocations: 344.1 kB / 1.131 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/1.042, allocations: 0.5939 MB / 1.132 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001368/1.044, allocations: 1.004 MB / 1.133 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008443/1.044, allocations: 489.8 kB / 1.133 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/1.045, allocations: 300.4 kB / 1.133 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/1.046, allocations: 336.2 kB / 1.134 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/1.046, allocations: 37.25 kB / 1.134 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/1.047, allocations: 243.1 kB / 1.134 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/1.047, allocations: 183.3 kB / 1.134 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005156/1.048, allocations: 379.6 kB / 1.134 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/1.049, allocations: 1.123 MB / 1.136 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.049, allocations: 0 / 1.136 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.303e-06/1.049, allocations: 0 / 1.136 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.738e-05/1.049, allocations: 0 / 1.136 GB, free: 4.848 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.002409/1.052, allocations: 1.156 MB / 1.137 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.052, allocations: 9.531 kB / 1.137 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/1.052, allocations: 100.2 kB / 1.137 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009111/1.053, allocations: 0.6532 MB / 1.137 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/1.053, allocations: 43.91 kB / 1.137 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/1.053, allocations: 62.19 kB / 1.138 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.054, allocations: 0.7041 MB / 1.138 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/1.054, allocations: 0 / 1.138 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/1.054, allocations: 27.09 kB / 1.138 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/1.054, allocations: 15.94 kB / 1.138 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/1.055, allocations: 0.9152 MB / 1.139 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/1.058, allocations: 2.313 MB / 1.141 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/1.059, allocations: 0.5997 MB / 1.142 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/1.059, allocations: 230.9 kB / 1.142 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.564e-05/1.059, allocations: 29.05 kB / 1.142 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/1.059, allocations: 348.4 kB / 1.143 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 2.074e-06/1.059, allocations: 0 / 1.143 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.001063/1.061, allocations: 0.7048 MB / 1.143 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/1.061, allocations: 242.2 kB / 1.143 GB, free: 288 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/1.061, allocations: 0.5835 MB / 1.144 GB, free: 12 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/1.061, allocations: 36.83 kB / 1.144 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/1.062, allocations: 329.8 kB / 1.144 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/1.062, allocations: 201.9 kB / 1.145 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/1.062, allocations: 137.9 kB / 1.145 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002089/1.062, allocations: 378 kB / 1.145 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/1.062, allocations: 186.2 kB / 1.145 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/1.063, allocations: 297.9 kB / 1.146 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/1.064, allocations: 475.8 kB / 1.146 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.064, allocations: 0 / 1.146 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009391/1.064, allocations: 0.6077 MB / 1.147 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.065, allocations: 6.281 kB / 1.147 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.065, allocations: 0 / 1.147 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.065, allocations: 3.219 kB / 1.147 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/1.065, allocations: 136.6 kB / 1.147 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.065, allocations: 3.766 kB / 1.147 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/1.066, allocations: 70.95 kB / 1.147 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/1.066, allocations: 37.19 kB / 1.147 GB, free: 14.37 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.0003459/1.066, allocations: 241.2 kB / 1.147 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.066, allocations: 71 kB / 1.147 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/1.067, allocations: 0.7545 MB / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.067, allocations: 6.375 kB / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.067, allocations: 3.031 kB / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.067, allocations: 6.703 kB / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/1.069, allocations: 0.8799 MB / 1.149 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.069, allocations: 0 / 1.149 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/1.069, allocations: 118.5 kB / 1.149 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.069, allocations: 3.094 kB / 1.149 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/1.069, allocations: 18.5 kB / 1.149 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.069, allocations: 7.469 kB / 1.149 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.069, allocations: 0 / 1.149 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.071, allocations: 1.557 MB / 1.15 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/1.071, allocations: 240 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/1.071, allocations: 15.62 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/1.072, allocations: 48.28 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.072, allocations: 44.75 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/1.072, allocations: 33.48 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004903/1.072, allocations: 422.1 kB / 1.151 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.794e-06/1.072, allocations: 1.031 kB / 1.151 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007761/1.073, allocations: 234 kB / 1.151 GB, free: 11.75 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.001275/1.074, allocations: 0.5493 MB / 1.152 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007989/1.075, allocations: 0.503 MB / 1.152 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.075, allocations: 0 / 1.152 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/1.076, allocations: 282.7 kB / 1.153 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/1.077, allocations: 238.3 kB / 1.153 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/1.079, allocations: 1.989 MB / 1.155 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/1.08, allocations: 0.9764 MB / 1.156 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007177/1.081, allocations: 235 kB / 1.156 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/1.081, allocations: 89.52 kB / 1.156 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of SimCode: time 4.61e-07/1.081, allocations: 0 / 1.156 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of Templates: time 0.01642/1.097, allocations: 10.81 MB / 1.167 GB, free: 8.172 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)