Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 288.4 MB / 303.4 MB, free: 8.156 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.001508/0.001508, allocations: 182.8 kB / 372 MB, free: 10.25 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.736/1.736, allocations: 205.4 MB / 0.6307 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.00104, allocations: 82.41 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 14.42 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.003932/0.2575, allocations: 3.776 MB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7192/0.9767, allocations: 136.6 MB / 1.117 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.9774, allocations: 14.09 kB / 1.117 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.9778, allocations: 132.2 kB / 1.117 GB, free: 2.156 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001274/0.9791, allocations: 349 kB / 1.117 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.9811, allocations: 0.6749 MB / 1.118 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.9824, allocations: 1.146 MB / 1.119 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007906/0.9832, allocations: 0.5405 MB / 1.119 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.9837, allocations: 361.1 kB / 1.12 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.9843, allocations: 406.8 kB / 1.12 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-05/0.9844, allocations: 29.22 kB / 1.12 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007752/0.9851, allocations: 296.5 kB / 1.12 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.9853, allocations: 198.3 kB / 1.121 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.9855, allocations: 196.5 kB / 1.121 GB, free: 17.4 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.9867, allocations: 1.18 MB / 1.122 GB, free: 17.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9867, allocations: 4 kB / 1.122 GB, free: 17.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9867, allocations: 0 / 1.122 GB, free: 17.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.9868, allocations: 1.188 kB / 1.122 GB, free: 17.31 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002322/0.9891, allocations: 1.293 MB / 1.123 GB, free: 16.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.9891, allocations: 13.05 kB / 1.123 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005392/0.9945, allocations: 0.7908 MB / 1.124 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.9963, allocations: 0.7331 MB / 1.125 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.9964, allocations: 76.47 kB / 1.125 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.9966, allocations: 95.12 kB / 1.125 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.9999, allocations: 1.344 MB / 1.126 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.9999, allocations: 8.859 kB / 1.126 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/1, allocations: 49.88 kB / 1.126 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/1, allocations: 24.66 kB / 1.126 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004153/1.004, allocations: 1.828 MB / 1.128 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005932/1.01, allocations: 3.155 MB / 1.131 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/1.013, allocations: 1.213 MB / 1.132 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.014, allocations: 0.566 MB / 1.133 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/1.015, allocations: 478.8 kB / 1.133 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/1.017, allocations: 0.7205 MB / 1.134 GB, free: 13.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 2.745e-06/1.017, allocations: 0 / 1.134 GB, free: 13.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.005432/1.022, allocations: 1.807 MB / 1.136 GB, free: 13.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.022, allocations: 198.2 kB / 1.136 GB, free: 12.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/1.023, allocations: 0.5845 MB / 1.137 GB, free: 12.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/1.023, allocations: 42.98 kB / 1.137 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/1.024, allocations: 410.5 kB / 1.137 GB, free: 12.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/1.024, allocations: 329.6 kB / 1.137 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/1.024, allocations: 16.53 kB / 1.137 GB, free: 12.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.024, allocations: 383.6 kB / 1.138 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/1.026, allocations: 466.2 kB / 1.138 GB, free: 11.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/1.027, allocations: 0.5657 MB / 1.139 GB, free: 11.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/1.028, allocations: 0.4933 MB / 1.139 GB, free: 11.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.028, allocations: 0 / 1.139 GB, free: 11.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003679/1.032, allocations: 1.265 MB / 1.14 GB, free: 11.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.032, allocations: 8.125 kB / 1.14 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.032, allocations: 12.06 kB / 1.14 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005715/1.033, allocations: 83.58 kB / 1.141 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.034, allocations: 248.4 kB / 1.141 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/1.036, allocations: 1.521 MB / 1.142 GB, free: 9.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.038, allocations: 153.1 kB / 1.142 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.038, allocations: 45.22 kB / 1.142 GB, free: 9.652 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007143/1.038, allocations: 274.1 kB / 1.143 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/1.039, allocations: 91.84 kB / 1.143 GB, free: 9.469 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/1.043, allocations: 1.567 MB / 1.144 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.043, allocations: 14.86 kB / 1.144 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.043, allocations: 0 / 1.144 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.043, allocations: 5.047 kB / 1.144 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/1.044, allocations: 1.077 MB / 1.145 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.044, allocations: 0 / 1.145 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.046, allocations: 240.4 kB / 1.146 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/1.046, allocations: 87.08 kB / 1.146 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/1.046, allocations: 33.78 kB / 1.146 GB, free: 8.418 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/1.048, allocations: 1.544 MB / 1.147 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.048, allocations: 1.094 kB / 1.147 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/1.052, allocations: 1.335 MB / 1.149 GB, free: 6.699 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/1.053, allocations: 313.5 kB / 1.149 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.053, allocations: 20.52 kB / 1.149 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.054, allocations: 130 kB / 1.149 GB, free: 6.441 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.054, allocations: 71.36 kB / 1.149 GB, free: 6.414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.054, allocations: 44.12 kB / 1.149 GB, free: 6.406 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007645/1.055, allocations: 423.3 kB / 1.15 GB, free: 6.258 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.055, allocations: 4 kB / 1.15 GB, free: 6.254 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001298/1.056, allocations: 338.5 kB / 1.15 GB, free: 6.191 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001756/1.058, allocations: 0.5814 MB / 1.15 GB, free: 5.922 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00405/1.062, allocations: 1.28 MB / 1.152 GB, free: 5.586 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.062, allocations: 1.625 kB / 1.152 GB, free: 5.586 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/1.064, allocations: 0.7582 MB / 1.152 GB, free: 5.348 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.065, allocations: 257.6 kB / 1.153 GB, free: 5.281 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/1.071, allocations: 2.523 MB / 1.155 GB, free: 3.949 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/1.071, allocations: 1.052 MB / 1.156 GB, free: 3.109 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001479/1.073, allocations: 325 kB / 1.156 GB, free: 2.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/1.073, allocations: 113.8 kB / 1.157 GB, free: 2.902 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.073, allocations: 0 / 1.157 GB, free: 2.902 MB / 0.698 GB Notification: Performance of Templates: time 0.02564/1.099, allocations: 15.14 MB / 1.171 GB, free: 11.29 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)