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.651/1.651, allocations: 288.4 MB / 303.6 MB, free: 8.137 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.001175/0.001175, allocations: 192.4 kB / 372.3 MB, free: 10.13 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.396/1.396, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0008018/0.0008015, allocations: 110.8 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 15.56 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.003914/0.1947, allocations: 3.779 MB / 0.9838 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5646/0.7593, allocations: 136.6 MB / 1.117 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000613/0.76, allocations: 20.19 kB / 1.117 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.7605, allocations: 131.9 kB / 1.117 GB, free: 2.289 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.001177/0.7617, allocations: 356.4 kB / 1.118 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.7637, allocations: 0.6751 MB / 1.118 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.7649, allocations: 1.168 MB / 1.119 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009021/0.7658, allocations: 0.6624 MB / 1.12 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.7664, allocations: 353.6 kB / 1.12 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.7669, allocations: 407.3 kB / 1.121 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.925e-05/0.767, allocations: 33.19 kB / 1.121 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/0.7678, allocations: 310.6 kB / 1.121 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.768, allocations: 193 kB / 1.121 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.7683, allocations: 457.9 kB / 1.122 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.7694, allocations: 1.188 MB / 1.123 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.7694, allocations: 0 / 1.123 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7694, allocations: 0 / 1.123 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7694, allocations: 1.406 kB / 1.123 GB, free: 1.266 MB / 0.6823 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.002279/0.7717, allocations: 1.281 MB / 1.124 GB, free: 16.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7718, allocations: 8.906 kB / 1.124 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.7765, allocations: 0.782 MB / 1.125 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.7777, allocations: 0.7661 MB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.7778, allocations: 73.03 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.7779, allocations: 102 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.7808, allocations: 1.345 MB / 1.127 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7808, allocations: 3.938 kB / 1.127 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7809, allocations: 44.16 kB / 1.127 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.7809, allocations: 24.62 kB / 1.127 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/0.7849, allocations: 1.833 MB / 1.129 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/0.7904, allocations: 3.166 MB / 1.132 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.7933, allocations: 1.215 MB / 1.133 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.7946, allocations: 0.5538 MB / 1.134 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/0.7953, allocations: 481.1 kB / 1.134 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.797, allocations: 0.7174 MB / 1.135 GB, free: 13.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 2.635e-06/0.797, allocations: 0 / 1.135 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.005426/0.8024, allocations: 1.808 MB / 1.137 GB, free: 13.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.8026, allocations: 199.1 kB / 1.137 GB, free: 12.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.8034, allocations: 0.579 MB / 1.138 GB, free: 12.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.8035, allocations: 46.08 kB / 1.138 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.8038, allocations: 413.2 kB / 1.138 GB, free: 12.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.804, allocations: 328.2 kB / 1.138 GB, free: 12.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.8041, allocations: 21.97 kB / 1.138 GB, free: 12.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.8043, allocations: 391.8 kB / 1.139 GB, free: 11.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.8056, allocations: 468.2 kB / 1.139 GB, free: 11.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.8071, allocations: 0.5632 MB / 1.14 GB, free: 11.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.8096, allocations: 1.005 MB / 1.141 GB, free: 11.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8097, allocations: 1 kB / 1.141 GB, free: 11.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003512/0.8132, allocations: 1.264 MB / 1.142 GB, free: 11.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.8132, allocations: 5.5 kB / 1.142 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.8132, allocations: 2.188 kB / 1.142 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.8138, allocations: 89.23 kB / 1.142 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.8151, allocations: 250.1 kB / 1.142 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.8171, allocations: 1.525 MB / 1.144 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.8184, allocations: 155.2 kB / 1.144 GB, free: 9.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.8185, allocations: 43.19 kB / 1.144 GB, free: 9.449 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.0006562/0.8192, allocations: 268.7 kB / 1.144 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.8194, allocations: 92.23 kB / 1.144 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/0.8236, allocations: 1.554 MB / 1.146 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.8236, allocations: 16.17 kB / 1.146 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8236, allocations: 0 / 1.146 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.8236, allocations: 5.641 kB / 1.146 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.8249, allocations: 1.079 MB / 1.147 GB, free: 8.332 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.8249, allocations: 0 / 1.147 GB, free: 8.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.8262, allocations: 243.8 kB / 1.147 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.8267, allocations: 85.05 kB / 1.147 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.8268, allocations: 31.31 kB / 1.147 GB, free: 8.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.8286, allocations: 1.55 MB / 1.149 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8286, allocations: 0 / 1.149 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.8323, allocations: 1.33 MB / 1.15 GB, free: 6.512 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.8328, allocations: 316.2 kB / 1.15 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.833, allocations: 25.75 kB / 1.15 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.834, allocations: 122 kB / 1.15 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.8342, allocations: 75.17 kB / 1.151 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.564e-05/0.8343, allocations: 41.34 kB / 1.151 GB, free: 6.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006126/0.8349, allocations: 426 kB / 1.151 GB, free: 6.066 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.8349, allocations: 0 / 1.151 GB, free: 6.066 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001037/0.836, allocations: 337.1 kB / 1.151 GB, free: 6.004 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.001226/0.8372, allocations: 0.5867 MB / 1.152 GB, free: 5.738 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.8406, allocations: 1.279 MB / 1.153 GB, free: 5.406 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.8406, allocations: 1.25 kB / 1.153 GB, free: 5.406 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.8424, allocations: 0.7625 MB / 1.154 GB, free: 5.164 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.8437, allocations: 263.7 kB / 1.154 GB, free: 5.086 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.8488, allocations: 2.526 MB / 1.157 GB, free: 3.742 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.8494, allocations: 1.05 MB / 1.158 GB, free: 2.902 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001584/0.851, allocations: 316.3 kB / 1.158 GB, free: 2.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.8514, allocations: 122.6 kB / 1.158 GB, free: 2.699 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.8514, allocations: 0 / 1.158 GB, free: 2.699 MB / 0.698 GB Notification: Performance of Templates: time 0.02491/0.8763, allocations: 15.29 MB / 1.173 GB, free: 10.99 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)