Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, 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.001177/0.001177, allocations: 183.1 kB / 372 MB, free: 10.28 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.774/1.774, allocations: 205.4 MB / 0.6307 GB, free: 9.918 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.0008271/0.0008274, allocations: 92.42 kB / 0.7441 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005951/0.0005954, allocations: 15.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2226, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004092/0.2267, allocations: 3.584 MB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6685/0.8953, allocations: 136.4 MB / 1.116 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.896, allocations: 16.28 kB / 1.116 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.8965, allocations: 123 kB / 1.116 GB, free: 2.176 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.001225/0.8977, allocations: 356.3 kB / 1.117 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.8998, allocations: 0.5916 MB / 1.117 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.9012, allocations: 1.017 MB / 1.118 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.902, allocations: 0.5089 MB / 1.119 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.9025, allocations: 303 kB / 1.119 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.9029, allocations: 325.1 kB / 1.119 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.903, allocations: 21.03 kB / 1.119 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.9037, allocations: 261.1 kB / 1.12 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.9039, allocations: 172.1 kB / 1.12 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.9041, allocations: 185.1 kB / 1.12 GB, free: 17.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.9052, allocations: 1.077 MB / 1.121 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9052, allocations: 0 / 1.121 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9052, allocations: 3.141 kB / 1.121 GB, free: 17.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.9052, allocations: 0 / 1.121 GB, free: 17.39 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.001915/0.9071, allocations: 1.155 MB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9072, allocations: 13.11 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.9086, allocations: 275.2 kB / 1.123 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.9097, allocations: 0.6937 MB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.9097, allocations: 64.12 kB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.9099, allocations: 84.88 kB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.9117, allocations: 0.969 MB / 1.124 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.9117, allocations: 0 / 1.124 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.9118, allocations: 36.91 kB / 1.124 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.9118, allocations: 25.55 kB / 1.124 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.9139, allocations: 1.174 MB / 1.125 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.9177, allocations: 2.601 MB / 1.128 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.9199, allocations: 0.8696 MB / 1.129 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.9205, allocations: 318.8 kB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.297e-05/0.9206, allocations: 34.09 kB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008624/0.9215, allocations: 482.2 kB / 1.13 GB, free: 15.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.529e-06/0.9215, allocations: 3.984 kB / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003144/0.9247, allocations: 1.196 MB / 1.131 GB, free: 14.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.9248, allocations: 194.5 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/0.9255, allocations: 0.5723 MB / 1.132 GB, free: 14.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.9256, allocations: 38.27 kB / 1.132 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.9259, allocations: 397.1 kB / 1.132 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.9261, allocations: 245.9 kB / 1.132 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.9261, allocations: 12.62 kB / 1.132 GB, free: 14.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.9263, allocations: 382.2 kB / 1.133 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.9268, allocations: 278.3 kB / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.9275, allocations: 368 kB / 1.133 GB, free: 13.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.9281, allocations: 316.3 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9281, allocations: 2.281 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001882/0.93, allocations: 0.857 MB / 1.134 GB, free: 13.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.93, allocations: 6.281 kB / 1.134 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.9301, allocations: 0 / 1.134 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.9306, allocations: 86.83 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.9313, allocations: 168.1 kB / 1.135 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.9334, allocations: 1.521 MB / 1.136 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/0.9341, allocations: 89.83 kB / 1.136 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.9342, allocations: 32.16 kB / 1.136 GB, free: 11.94 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.000432/0.9346, allocations: 267.3 kB / 1.136 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.9348, allocations: 76.33 kB / 1.137 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.9373, allocations: 1.1 MB / 1.138 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.9374, allocations: 8.312 kB / 1.138 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9374, allocations: 4.984 kB / 1.138 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.9374, allocations: 7.922 kB / 1.138 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.9384, allocations: 0.8717 MB / 1.139 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9384, allocations: 0.9688 kB / 1.139 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.9391, allocations: 161.8 kB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000494/0.9396, allocations: 79.41 kB / 1.139 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.9397, allocations: 26.42 kB / 1.139 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.9414, allocations: 1.547 MB / 1.14 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9415, allocations: 5.797 kB / 1.14 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.9436, allocations: 0.9196 MB / 1.141 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.944, allocations: 272.6 kB / 1.141 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.9441, allocations: 20.38 kB / 1.141 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.9447, allocations: 82.84 kB / 1.142 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.9449, allocations: 64.06 kB / 1.142 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.945, allocations: 29.33 kB / 1.142 GB, free: 9.043 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005938/0.9456, allocations: 422.2 kB / 1.142 GB, free: 8.891 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9456, allocations: 4 kB / 1.142 GB, free: 8.887 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009487/0.9465, allocations: 286.3 kB / 1.142 GB, free: 8.828 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.001223/0.9478, allocations: 0.5584 MB / 1.143 GB, free: 8.559 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.9496, allocations: 0.8334 MB / 1.144 GB, free: 8.316 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.9496, allocations: 4.203 kB / 1.144 GB, free: 8.316 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.9506, allocations: 0.5204 MB / 1.144 GB, free: 8.129 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.9517, allocations: 248 kB / 1.144 GB, free: 8.059 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.9559, allocations: 2.164 MB / 1.147 GB, free: 6.859 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.9565, allocations: 1.015 MB / 1.148 GB, free: 6.031 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000973/0.9575, allocations: 263.2 kB / 1.148 GB, free: 5.898 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.9578, allocations: 107.5 kB / 1.148 GB, free: 5.871 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.9578, allocations: 0 / 1.148 GB, free: 5.871 MB / 0.698 GB Notification: Performance of Templates: time 0.02295/0.9807, allocations: 12.86 MB / 1.16 GB, free: 15.41 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)