Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008287, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005031/0.005031, allocations: 171.6 kB / 16.27 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 222.5 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 252 MB / 0.5105 GB, free: 4.68 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005238, allocations: 12 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5204, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004435/0.5249, allocations: 3.643 MB / 0.7323 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1561/0.681, allocations: 146.3 MB / 0.8751 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006985/0.6817, allocations: 11.94 kB / 0.8751 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.6823, allocations: 135 kB / 0.8753 GB, free: 4.598 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001447/0.6838, allocations: 340.3 kB / 0.8756 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.6853, allocations: 0.5936 MB / 0.8762 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.6865, allocations: 0.9887 MB / 0.8771 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007029/0.6872, allocations: 482.1 kB / 0.8776 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.6876, allocations: 246.8 kB / 0.8778 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.6881, allocations: 282.4 kB / 0.8781 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.6882, allocations: 16 kB / 0.8781 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.6887, allocations: 223.8 kB / 0.8783 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.6889, allocations: 155.2 kB / 0.8785 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.6894, allocations: 367.4 kB / 0.8788 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.6906, allocations: 1.086 MB / 0.8799 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6906, allocations: 0 / 0.8799 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.917e-06/0.6906, allocations: 0 / 0.8799 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.6907, allocations: 3.938 kB / 0.8799 GB, free: 15.84 MB / 0.7012 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.001849/0.6925, allocations: 0.9709 MB / 0.8808 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.6926, allocations: 8.031 kB / 0.8808 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.6929, allocations: 99.8 kB / 0.8809 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.6938, allocations: 0.6596 MB / 0.8816 GB, free: 14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.6939, allocations: 45.31 kB / 0.8816 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.694, allocations: 60 kB / 0.8817 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6951, allocations: 0.6931 MB / 0.8824 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.6952, allocations: 4 kB / 0.8824 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/0.6952, allocations: 31.98 kB / 0.8824 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.6953, allocations: 16 kB / 0.8824 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.6965, allocations: 0.9142 MB / 0.8833 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.6995, allocations: 2.338 MB / 0.8856 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.7004, allocations: 0.6009 MB / 0.8862 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.7007, allocations: 223.3 kB / 0.8864 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.714e-05/0.7008, allocations: 32.58 kB / 0.8864 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.7013, allocations: 351.2 kB / 0.8868 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.024e-06/0.7013, allocations: 0 / 0.8868 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.00124/0.7026, allocations: 0.7089 MB / 0.8874 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.7027, allocations: 239.9 kB / 0.8877 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.7034, allocations: 0.5782 MB / 0.8882 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.7035, allocations: 37.7 kB / 0.8883 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.7037, allocations: 320.7 kB / 0.8886 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.7039, allocations: 217 kB / 0.8888 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.7039, allocations: 57.69 kB / 0.8888 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7041, allocations: 374.8 kB / 0.8892 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.7044, allocations: 181.2 kB / 0.8894 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.7048, allocations: 297.8 kB / 0.8897 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.7054, allocations: 480.2 kB / 0.8901 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7054, allocations: 0 / 0.8901 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008511/0.7063, allocations: 0.5998 MB / 0.8907 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.7063, allocations: 5.875 kB / 0.8907 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7063, allocations: 7.938 kB / 0.8907 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7063, allocations: 4 kB / 0.8907 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.7068, allocations: 127.8 kB / 0.8908 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.7068, allocations: 4 kB / 0.8908 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.7073, allocations: 83.52 kB / 0.8909 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.7074, allocations: 31.98 kB / 0.891 GB, free: 4.086 MB / 0.7012 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.0003006/0.7077, allocations: 241.6 kB / 0.8912 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.8e-05/0.7078, allocations: 75.16 kB / 0.8913 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.709, allocations: 0.7504 MB / 0.892 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.7091, allocations: 8 kB / 0.892 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7091, allocations: 0 / 0.892 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.7091, allocations: 3.984 kB / 0.892 GB, free: 3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/0.71, allocations: 0.8778 MB / 0.8929 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.71, allocations: 8.031 kB / 0.8929 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.7104, allocations: 115.8 kB / 0.893 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7104, allocations: 4 kB / 0.893 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.7104, allocations: 23.92 kB / 0.893 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.7105, allocations: 4 kB / 0.893 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7105, allocations: 0 / 0.893 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/0.7114, allocations: 0.6417 MB / 0.8936 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.7116, allocations: 251.9 kB / 0.8939 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.7117, allocations: 12 kB / 0.8939 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.7122, allocations: 55.95 kB / 0.8939 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.7123, allocations: 52.52 kB / 0.894 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.7123, allocations: 31.98 kB / 0.894 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004393/0.7128, allocations: 419.1 kB / 0.8944 GB, free: 432 kB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7128, allocations: 4 kB / 0.8944 GB, free: 428 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005682/0.7134, allocations: 227.5 kB / 0.8946 GB, free: 200 kB / 0.7012 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.001193/0.7146, allocations: 0.5582 MB / 0.8952 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007514/0.7153, allocations: 0.4969 MB / 0.8957 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7153, allocations: 0 / 0.8957 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.7157, allocations: 275.6 kB / 0.8959 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.7168, allocations: 234.3 kB / 0.8962 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.7191, allocations: 1.628 MB / 0.8977 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.7197, allocations: 0.9484 MB / 0.8987 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006478/0.7204, allocations: 245.4 kB / 0.8989 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.7206, allocations: 91.39 kB / 0.899 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7206, allocations: 0 / 0.899 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of Templates: time 0.01762/0.7382, allocations: 10.51 MB / 0.9093 GB, free: 1.48 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) Environment - environmentSimulation: