Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.769/1.769, allocations: 287.5 MB / 302.6 MB, free: 8.336 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.001094/0.001093, allocations: 187 kB / 371.2 MB, free: 10.83 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.882/1.882, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007014/0.0007013, allocations: 93.27 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 12.67 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00383/0.1874, allocations: 3.577 MB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5928/0.7802, allocations: 136.5 MB / 1.115 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009195/0.7812, allocations: 18.69 kB / 1.115 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.7818, allocations: 125.1 kB / 1.116 GB, free: 1.594 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001446/0.7832, allocations: 349.1 kB / 1.116 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.7853, allocations: 0.5992 MB / 1.116 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.7867, allocations: 1.042 MB / 1.117 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009531/0.7876, allocations: 0.6229 MB / 1.118 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.7882, allocations: 300.9 kB / 1.118 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.7886, allocations: 322.2 kB / 1.119 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/0.7887, allocations: 20.94 kB / 1.119 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.7895, allocations: 274.7 kB / 1.119 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.7897, allocations: 165.3 kB / 1.119 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.7899, allocations: 185.5 kB / 1.119 GB, free: 16.85 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.7912, allocations: 1.075 MB / 1.12 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7912, allocations: 3.938 kB / 1.12 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7912, allocations: 5.25 kB / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.7913, allocations: 0 / 1.12 GB, free: 16.76 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002288/0.7936, allocations: 1.132 MB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.7936, allocations: 13.22 kB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.795, allocations: 278.1 kB / 1.122 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.7962, allocations: 0.7241 MB / 1.122 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.7963, allocations: 65.31 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.7964, allocations: 83.89 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.7982, allocations: 0.9714 MB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.7982, allocations: 0 / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.7983, allocations: 42.83 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.7983, allocations: 21.72 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.8003, allocations: 1.173 MB / 1.125 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00442/0.8047, allocations: 2.597 MB / 1.127 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.8072, allocations: 0.8684 MB / 1.128 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.8078, allocations: 308.8 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/0.8079, allocations: 38.55 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009344/0.8089, allocations: 479.4 kB / 1.129 GB, free: 14.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.355e-06/0.8089, allocations: 0 / 1.129 GB, free: 14.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003338/0.8122, allocations: 1.198 MB / 1.13 GB, free: 14.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.8124, allocations: 192.3 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.8132, allocations: 0.5764 MB / 1.131 GB, free: 13.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/0.8132, allocations: 39.98 kB / 1.131 GB, free: 13.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.8136, allocations: 396.3 kB / 1.131 GB, free: 13.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.8138, allocations: 243.2 kB / 1.131 GB, free: 13.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.8138, allocations: 10.5 kB / 1.132 GB, free: 13.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.814, allocations: 385.3 kB / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.8146, allocations: 278.7 kB / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/0.8154, allocations: 369.8 kB / 1.132 GB, free: 13.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.8168, allocations: 0.6316 MB / 1.133 GB, free: 13.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8168, allocations: 0 / 1.133 GB, free: 13.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002183/0.819, allocations: 0.8611 MB / 1.134 GB, free: 12.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.819, allocations: 5.344 kB / 1.134 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.819, allocations: 2.953 kB / 1.134 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.8197, allocations: 83.47 kB / 1.134 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.8204, allocations: 175.8 kB / 1.134 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.8224, allocations: 1.514 MB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/0.8233, allocations: 98.28 kB / 1.136 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.8234, allocations: 36.62 kB / 1.136 GB, free: 11.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (85): * Single equations (assignments): 84 * 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.0005198/0.8239, allocations: 267.7 kB / 1.136 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.824, allocations: 79.84 kB / 1.136 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.8268, allocations: 1.085 MB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.8268, allocations: 8.781 kB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8268, allocations: 0 / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.8268, allocations: 4.688 kB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.8281, allocations: 0.878 MB / 1.138 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.8281, allocations: 7.875 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007556/0.8289, allocations: 164.5 kB / 1.138 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.8294, allocations: 83.58 kB / 1.138 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/0.8295, allocations: 23.8 kB / 1.138 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.8314, allocations: 1.538 MB / 1.14 GB, free: 9.609 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8314, allocations: 3.984 kB / 1.14 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.8337, allocations: 0.9226 MB / 1.141 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.8342, allocations: 273 kB / 1.141 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.8343, allocations: 17.66 kB / 1.141 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.835, allocations: 81.19 kB / 1.141 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.8352, allocations: 60.22 kB / 1.141 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.8352, allocations: 31.33 kB / 1.141 GB, free: 9.098 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006811/0.8359, allocations: 424.9 kB / 1.142 GB, free: 8.941 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.243e-06/0.8359, allocations: 0 / 1.142 GB, free: 8.941 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00128/0.8372, allocations: 284.5 kB / 1.142 GB, free: 8.887 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 (86): * Single equations (assignments): 83 * 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.001348/0.8386, allocations: 0.5489 MB / 1.142 GB, free: 8.652 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.8407, allocations: 0.8357 MB / 1.143 GB, free: 8.406 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8407, allocations: 1.188 kB / 1.143 GB, free: 8.406 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.8417, allocations: 0.5223 MB / 1.144 GB, free: 8.215 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.8429, allocations: 249.2 kB / 1.144 GB, free: 8.141 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/0.8485, allocations: 2.162 MB / 1.146 GB, free: 6.945 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.8492, allocations: 1.015 MB / 1.147 GB, free: 6.113 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001125/0.8504, allocations: 264.1 kB / 1.147 GB, free: 5.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.8507, allocations: 100.6 kB / 1.147 GB, free: 5.957 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/0.8507, allocations: 0 / 1.147 GB, free: 5.957 MB / 0.698 GB Notification: Performance of Templates: time 0.02553/0.8762, allocations: 12.89 MB / 1.16 GB, free: 15.5 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)