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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.782/1.782, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001094, allocations: 184.5 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.801/1.801, 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.0007956/0.0007956, allocations: 98.92 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004347, allocations: 14.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004147/0.2584, allocations: 3.58 MB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7617/1.02, allocations: 136.4 MB / 1.116 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/1.021, allocations: 18.88 kB / 1.116 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006552/1.022, allocations: 126.9 kB / 1.117 GB, free: 2.207 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.001646/1.024, allocations: 346.7 kB / 1.117 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/1.026, allocations: 0.6046 MB / 1.117 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001775/1.028, allocations: 1.015 MB / 1.118 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/1.029, allocations: 0.5065 MB / 1.119 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/1.03, allocations: 300.5 kB / 1.119 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/1.03, allocations: 321.5 kB / 1.12 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/1.03, allocations: 22.16 kB / 1.12 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008867/1.031, allocations: 269.2 kB / 1.12 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/1.031, allocations: 163.8 kB / 1.12 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002816/1.032, allocations: 187.9 kB / 1.12 GB, free: 17.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/1.033, allocations: 1.085 MB / 1.121 GB, free: 17.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.033, allocations: 1.859 kB / 1.121 GB, free: 17.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.936e-06/1.033, allocations: 0 / 1.121 GB, free: 17.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.876e-05/1.033, allocations: 0 / 1.121 GB, free: 17.42 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.002444/1.036, allocations: 1.154 MB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.036, allocations: 9.125 kB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/1.036, allocations: 140.2 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.038, allocations: 277.3 kB / 1.123 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/1.039, allocations: 0.696 MB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/1.039, allocations: 64.09 kB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.039, allocations: 88.19 kB / 1.124 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/1.041, allocations: 0.9697 MB / 1.124 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.041, allocations: 0 / 1.124 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/1.041, allocations: 40.52 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/1.041, allocations: 22 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/1.043, allocations: 1.175 MB / 1.126 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/1.048, allocations: 2.598 MB / 1.128 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/1.05, allocations: 0.8794 MB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/1.051, allocations: 317.9 kB / 1.129 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/1.051, allocations: 35.48 kB / 1.129 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000944/1.052, allocations: 477.6 kB / 1.13 GB, free: 15.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.887e-06/1.052, allocations: 0 / 1.13 GB, free: 15.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003402/1.055, allocations: 1.203 MB / 1.131 GB, free: 14.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.055, allocations: 187.7 kB / 1.131 GB, free: 14.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/1.056, allocations: 0.5764 MB / 1.132 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/1.056, allocations: 39.2 kB / 1.132 GB, free: 14.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/1.057, allocations: 396.3 kB / 1.132 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/1.057, allocations: 251.5 kB / 1.132 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/1.057, allocations: 8.25 kB / 1.132 GB, free: 14.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.057, allocations: 380.3 kB / 1.133 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/1.058, allocations: 258.5 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/1.058, allocations: 361.2 kB / 1.133 GB, free: 13.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/1.059, allocations: 298.9 kB / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.059, allocations: 0 / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002043/1.061, allocations: 0.7964 MB / 1.134 GB, free: 13.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.061, allocations: 6.875 kB / 1.134 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.061, allocations: 4.094 kB / 1.134 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/1.062, allocations: 83.45 kB / 1.135 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/1.062, allocations: 156.6 kB / 1.135 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/1.064, allocations: 1.526 MB / 1.136 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/1.065, allocations: 93.69 kB / 1.136 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/1.066, allocations: 31.64 kB / 1.136 GB, free: 11.92 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0005749/1.066, allocations: 258.7 kB / 1.137 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/1.066, allocations: 75.78 kB / 1.137 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.069, allocations: 1.091 MB / 1.138 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.069, allocations: 7.562 kB / 1.138 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.069, allocations: 7.938 kB / 1.138 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.069, allocations: 6.234 kB / 1.138 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/1.07, allocations: 0.8767 MB / 1.139 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.07, allocations: 3.984 kB / 1.139 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/1.071, allocations: 169.5 kB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005565/1.071, allocations: 86.09 kB / 1.139 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/1.071, allocations: 24.61 kB / 1.139 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/1.073, allocations: 1.536 MB / 1.14 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.073, allocations: 0 / 1.14 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/1.076, allocations: 0.9285 MB / 1.141 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/1.076, allocations: 272.3 kB / 1.142 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.076, allocations: 16.91 kB / 1.142 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/1.077, allocations: 78.31 kB / 1.142 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.077, allocations: 61.34 kB / 1.142 GB, free: 9.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/1.077, allocations: 31.14 kB / 1.142 GB, free: 9.039 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006691/1.078, allocations: 425.6 kB / 1.142 GB, free: 8.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/1.078, allocations: 0 / 1.142 GB, free: 8.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001077/1.079, allocations: 278.9 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.003997/1.083, allocations: 1.918 MB / 1.144 GB, free: 7.863 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002258/1.085, allocations: 0.806 MB / 1.145 GB, free: 7.617 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.085, allocations: 0 / 1.145 GB, free: 7.617 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/1.087, allocations: 0.5233 MB / 1.146 GB, free: 7.422 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.09, allocations: 246.7 kB / 1.146 GB, free: 7.355 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.103, allocations: 4.895 MB / 1.151 GB, free: 5.242 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/1.104, allocations: 1.021 MB / 1.152 GB, free: 4.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001222/1.105, allocations: 267.4 kB / 1.152 GB, free: 4.273 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/1.106, allocations: 372 kB / 1.152 GB, free: 4.227 MB / 0.698 GB Notification: Performance of SimCode: time 2.475e-06/1.106, allocations: 0 / 1.152 GB, free: 4.227 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/1.151, allocations: 20.01 MB / 1.172 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/1.151, allocations: 311.7 kB / 1.172 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.971, allocations: 0 / 1.172 GB, free: 10.21 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)