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.0009828/0.0009828, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001081/0.001081, allocations: 192.9 kB / 16.14 MB, free: 6.703 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.533/1.533, allocations: 205.1 MB / 222 MB, free: 4.734 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.61/1.61, allocations: 251.6 MB / 0.5088 GB, free: 3.211 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.001708/0.001708, allocations: 63.91 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.505, allocations: 104.7 MB / 0.7238 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005407/0.5105, allocations: 4.044 MB / 0.7278 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1549/0.6655, allocations: 147.9 MB / 0.8721 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008373/0.6664, allocations: 15.94 kB / 0.8722 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.6669, allocations: 131 kB / 0.8723 GB, free: 4.66 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.001326/0.6683, allocations: 352.5 kB / 0.8726 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.6699, allocations: 0.5859 MB / 0.8732 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.6709, allocations: 0.9964 MB / 0.8742 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007061/0.6717, allocations: 494.1 kB / 0.8746 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.6721, allocations: 294.7 kB / 0.8749 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.6725, allocations: 340 kB / 0.8752 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.6726, allocations: 40 kB / 0.8753 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005588/0.6732, allocations: 239.8 kB / 0.8755 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.6734, allocations: 179.3 kB / 0.8757 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.6737, allocations: 381.7 kB / 0.876 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.6747, allocations: 1.121 MB / 0.8771 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6747, allocations: 4 kB / 0.8771 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6747, allocations: 8 kB / 0.8771 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.6747, allocations: 0 / 0.8771 GB, free: 15.66 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.001863/0.6766, allocations: 1.142 MB / 0.8783 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6766, allocations: 8.031 kB / 0.8783 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.6769, allocations: 99.81 kB / 0.8784 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.6778, allocations: 0.6635 MB / 0.879 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.6778, allocations: 45.31 kB / 0.8791 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.6779, allocations: 60 kB / 0.8791 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6789, allocations: 0.6892 MB / 0.8798 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.6789, allocations: 3.938 kB / 0.8798 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/0.679, allocations: 28 kB / 0.8798 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.679, allocations: 16 kB / 0.8798 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.6802, allocations: 0.9142 MB / 0.8807 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.683, allocations: 2.317 MB / 0.883 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/0.6839, allocations: 0.6008 MB / 0.8836 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.6842, allocations: 223.2 kB / 0.8838 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.41e-05/0.6843, allocations: 32.59 kB / 0.8838 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/0.6849, allocations: 346.4 kB / 0.8841 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.184e-06/0.6849, allocations: 0 / 0.8841 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.001135/0.6861, allocations: 0.7058 MB / 0.8848 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6862, allocations: 247.9 kB / 0.8851 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.6868, allocations: 0.5782 MB / 0.8856 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.6869, allocations: 37.7 kB / 0.8857 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.6871, allocations: 324.6 kB / 0.886 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.6873, allocations: 209 kB / 0.8862 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.6875, allocations: 142.3 kB / 0.8863 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6876, allocations: 374.8 kB / 0.8867 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.688, allocations: 185.2 kB / 0.8869 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.6883, allocations: 289.9 kB / 0.8871 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.689, allocations: 488.1 kB / 0.8876 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.689, allocations: 64 / 0.8876 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008549/0.6899, allocations: 0.5999 MB / 0.8882 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6899, allocations: 4 kB / 0.8882 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6899, allocations: 4 kB / 0.8882 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.6899, allocations: 4 kB / 0.8882 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.6904, allocations: 131.8 kB / 0.8883 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.6904, allocations: 7.984 kB / 0.8883 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.6909, allocations: 69.28 kB / 0.8884 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.6909, allocations: 31.98 kB / 0.8884 GB, free: 3.695 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.0003012/0.6912, allocations: 249.8 kB / 0.8887 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.6913, allocations: 71.09 kB / 0.8887 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.6926, allocations: 0.7581 MB / 0.8895 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.6926, allocations: 8 kB / 0.8895 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6927, allocations: 0 / 0.8895 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.6927, allocations: 3.984 kB / 0.8895 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008336/0.6935, allocations: 0.8817 MB / 0.8903 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6935, allocations: 0 / 0.8903 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.6939, allocations: 119.8 kB / 0.8905 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.6939, allocations: 4 kB / 0.8905 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.694, allocations: 20.02 kB / 0.8905 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.694, allocations: 4 kB / 0.8905 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.694, allocations: 0 / 0.8905 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008574/0.6948, allocations: 0.6417 MB / 0.8911 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.6951, allocations: 236 kB / 0.8913 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.6952, allocations: 12 kB / 0.8913 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.6956, allocations: 51.95 kB / 0.8914 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.6957, allocations: 48.53 kB / 0.8914 GB, free: 496 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.6957, allocations: 27.92 kB / 0.8915 GB, free: 468 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004344/0.6962, allocations: 423 kB / 0.8919 GB, free: 48 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6962, allocations: 0 / 0.8919 GB, free: 48 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005802/0.6968, allocations: 223.5 kB / 0.8921 GB, free: 15.83 MB / 0.7169 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.001152/0.6979, allocations: 0.5556 MB / 0.8926 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007235/0.6987, allocations: 0.493 MB / 0.8931 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6987, allocations: 8.312 kB / 0.8931 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.699, allocations: 279.6 kB / 0.8934 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.6999, allocations: 226.7 kB / 0.8936 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.7019, allocations: 1.617 MB / 0.8952 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.7023, allocations: 0.9484 MB / 0.8961 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006058/0.703, allocations: 241.5 kB / 0.8963 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.7031, allocations: 87.39 kB / 0.8964 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.7031, allocations: 0 / 0.8964 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01541/0.7186, allocations: 10.56 MB / 0.9067 GB, free: 1.066 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (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)