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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.000858, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005128/0.005128, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.538/1.538, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.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.0005587/0.0005587, allocations: 12.53 kB / 0.6743 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2825, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005054/0.2876, allocations: 3.629 MB / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.722/1.01, allocations: 146.3 MB / 0.9342 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007224/1.01, allocations: 12.56 kB / 0.9343 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/1.011, allocations: 126 kB / 0.9344 GB, free: 1.402 MB / 0.7169 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.00139/1.012, allocations: 345.3 kB / 0.9347 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/1.014, allocations: 0.5975 MB / 0.9353 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001174/1.015, allocations: 0.9885 MB / 0.9363 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/1.016, allocations: 481.2 kB / 0.9367 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/1.017, allocations: 248.5 kB / 0.937 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/1.017, allocations: 285.8 kB / 0.9372 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/1.017, allocations: 22.38 kB / 0.9372 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006367/1.018, allocations: 222.7 kB / 0.9375 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/1.018, allocations: 153.1 kB / 0.9376 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003985/1.018, allocations: 357.5 kB / 0.9379 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/1.02, allocations: 1.09 MB / 0.939 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.02, allocations: 0 / 0.939 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/1.02, allocations: 1.125 kB / 0.939 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.02, allocations: 0 / 0.939 GB, free: 0.8828 MB / 0.7169 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.001764/1.021, allocations: 0.9814 MB / 0.94 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.022, allocations: 9.156 kB / 0.94 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/1.022, allocations: 95.69 kB / 0.9401 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/1.023, allocations: 0.6622 MB / 0.9407 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/1.023, allocations: 45.69 kB / 0.9408 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/1.023, allocations: 61.41 kB / 0.9408 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.024, allocations: 0.6969 MB / 0.9415 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/1.024, allocations: 5.25 kB / 0.9415 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/1.024, allocations: 25.03 kB / 0.9415 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/1.024, allocations: 14.97 kB / 0.9415 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.026, allocations: 0.916 MB / 0.9424 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/1.029, allocations: 2.344 MB / 0.9447 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/1.031, allocations: 0.5981 MB / 0.9453 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/1.031, allocations: 223.6 kB / 0.9455 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.902e-05/1.031, allocations: 26.83 kB / 0.9455 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008326/1.032, allocations: 346.7 kB / 0.9459 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=61): time 2.725e-06/1.032, allocations: 0.5312 kB / 0.9459 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=61): time 0.00166/1.034, allocations: 0.7053 MB / 0.9466 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.034, allocations: 245.6 kB / 0.9468 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/1.035, allocations: 0.5858 MB / 0.9474 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/1.035, allocations: 37.36 kB / 0.9474 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/1.035, allocations: 318.2 kB / 0.9477 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.035, allocations: 207.5 kB / 0.9479 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/1.035, allocations: 56.7 kB / 0.948 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.036, allocations: 374.1 kB / 0.9483 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/1.036, allocations: 187.6 kB / 0.9485 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/1.036, allocations: 293.8 kB / 0.9488 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/1.037, allocations: 479.9 kB / 0.9492 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.037, allocations: 3.938 kB / 0.9492 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001019/1.038, allocations: 0.6031 MB / 0.9498 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.038, allocations: 5.219 kB / 0.9498 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.038, allocations: 4.375 kB / 0.9498 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.038, allocations: 3.656 kB / 0.9498 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/1.039, allocations: 128.6 kB / 0.95 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.039, allocations: 4.156 kB / 0.95 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/1.039, allocations: 81.2 kB / 0.95 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/1.039, allocations: 28.39 kB / 0.9501 GB, free: 13 MB / 0.7325 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.0003545/1.04, allocations: 245.1 kB / 0.9503 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/1.04, allocations: 70.06 kB / 0.9504 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.041, allocations: 0.7534 MB / 0.9511 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.041, allocations: 8.344 kB / 0.9511 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.041, allocations: 0 / 0.9511 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.041, allocations: 9.406 kB / 0.9511 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.042, allocations: 0.8917 MB / 0.952 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.042, allocations: 0 / 0.952 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/1.043, allocations: 117.6 kB / 0.9521 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/1.043, allocations: 3.156 kB / 0.9521 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/1.043, allocations: 23.27 kB / 0.9521 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.043, allocations: 6.25 kB / 0.9521 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.043, allocations: 1.125 kB / 0.9521 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.044, allocations: 0.636 MB / 0.9528 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/1.044, allocations: 249.9 kB / 0.953 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/1.044, allocations: 15.53 kB / 0.953 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/1.045, allocations: 58.95 kB / 0.9531 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.045, allocations: 48.69 kB / 0.9531 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/1.045, allocations: 33.91 kB / 0.9532 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000537/1.046, allocations: 417 kB / 0.9536 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.42e-07/1.046, allocations: 0 / 0.9536 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008812/1.047, allocations: 224.8 kB / 0.9538 GB, free: 11.98 MB / 0.7325 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.001331/1.048, allocations: 0.5686 MB / 0.9543 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009179/1.049, allocations: 0.4964 MB / 0.9548 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.049, allocations: 5.406 kB / 0.9548 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004186/1.049, allocations: 280.1 kB / 0.9551 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.05, allocations: 226.2 kB / 0.9553 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/1.053, allocations: 1.635 MB / 0.9569 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/1.053, allocations: 0.952 MB / 0.9578 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007676/1.054, allocations: 239.2 kB / 0.958 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/1.054, allocations: 86.78 kB / 0.9581 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/1.054, allocations: 0 / 0.9581 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.02218/1.077, allocations: 10.5 MB / 0.9684 GB, free: 5.863 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: