Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.4 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007648/0.0007647, allocations: 82.33 kB / 0.6822 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003471, allocations: 12.56 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004277/0.2549, allocations: 3.592 MB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1587/0.4137, allocations: 136.4 MB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.4146, allocations: 11.94 kB / 1.037 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.4151, allocations: 138.9 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001244/0.4164, allocations: 345 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.4181, allocations: 0.595 MB / 1.038 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.4193, allocations: 1.02 MB / 1.039 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007761/0.4201, allocations: 0.5063 MB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.4206, allocations: 298.5 kB / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.421, allocations: 322.2 kB / 1.04 GB, free: 112 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.4211, allocations: 20 kB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.4218, allocations: 275.8 kB / 1.04 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.422, allocations: 167.1 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4221, allocations: 189.1 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4233, allocations: 1.076 MB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4233, allocations: 0 / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4233, allocations: 0 / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.4233, allocations: 0 / 1.042 GB, free: 14.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.002128/0.4254, allocations: 1.147 MB / 1.043 GB, free: 13.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4255, allocations: 12.03 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.4257, allocations: 143.5 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.4272, allocations: 282.4 kB / 1.043 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.4283, allocations: 0.6953 MB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.4284, allocations: 66 kB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4285, allocations: 84 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.4303, allocations: 0.9691 MB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4303, allocations: 4 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.4304, allocations: 36 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.4305, allocations: 27.89 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.4326, allocations: 1.175 MB / 1.046 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.4371, allocations: 2.596 MB / 1.049 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.4396, allocations: 0.8729 MB / 1.05 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.4403, allocations: 318.5 kB / 1.05 GB, free: 5.758 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.046e-05/0.4403, allocations: 36.67 kB / 1.05 GB, free: 5.723 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000994/0.4413, allocations: 471.2 kB / 1.051 GB, free: 5.242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.836e-06/0.4414, allocations: 4 kB / 1.051 GB, free: 5.238 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003441/0.4448, allocations: 1.205 MB / 1.052 GB, free: 4.008 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.445, allocations: 188.6 kB / 1.052 GB, free: 3.781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.4458, allocations: 0.5666 MB / 1.052 GB, free: 3.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/0.4458, allocations: 41.7 kB / 1.053 GB, free: 3.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.4462, allocations: 400.1 kB / 1.053 GB, free: 2.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.4464, allocations: 248.5 kB / 1.053 GB, free: 2.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.4465, allocations: 19.94 kB / 1.053 GB, free: 2.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4467, allocations: 374.8 kB / 1.054 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/0.4473, allocations: 257.2 kB / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.448, allocations: 362.7 kB / 1.054 GB, free: 1.484 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.4487, allocations: 295.1 kB / 1.054 GB, free: 1.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4487, allocations: 0 / 1.054 GB, free: 1.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00203/0.4507, allocations: 0.8095 MB / 1.055 GB, free: 392 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4508, allocations: 4 kB / 1.055 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4508, allocations: 0 / 1.055 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/0.4514, allocations: 84.88 kB / 1.055 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.4521, allocations: 151.8 kB / 1.055 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5637/1.016, allocations: 1.516 MB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.017, allocations: 95.14 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.017, allocations: 28.72 kB / 1.057 GB, free: 153.2 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.000568/1.018, allocations: 254.3 kB / 1.057 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.018, allocations: 75.05 kB / 1.057 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/1.021, allocations: 1.103 MB / 1.058 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.021, allocations: 9.531 kB / 1.058 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.021, allocations: 6.141 kB / 1.058 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.021, allocations: 3.188 kB / 1.058 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/1.022, allocations: 0.8765 MB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.022, allocations: 1.375 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/1.023, allocations: 162.1 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005785/1.024, allocations: 85.5 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/1.024, allocations: 21.67 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/1.026, allocations: 1.549 MB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.026, allocations: 0.7969 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.028, allocations: 0.9149 MB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/1.028, allocations: 274.7 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.028, allocations: 17.33 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/1.029, allocations: 87.44 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/1.029, allocations: 60.58 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/1.029, allocations: 35.72 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006515/1.03, allocations: 426.4 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.03, allocations: 0 / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009571/1.031, allocations: 274.5 kB / 1.063 GB, free: 151.1 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.003516/1.035, allocations: 1.917 MB / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001972/1.037, allocations: 0.8036 MB / 1.066 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.037, allocations: 0 / 1.066 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.038, allocations: 0.5159 MB / 1.066 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.039, allocations: 251.3 kB / 1.066 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.052, allocations: 4.894 MB / 1.071 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/1.053, allocations: 1.015 MB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001278/1.055, allocations: 271.7 kB / 1.072 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.055, allocations: 368.9 kB / 1.073 GB, free: 147.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.765e-06/1.055, allocations: 0.7188 kB / 1.073 GB, free: 147.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04721/1.102, allocations: 20.01 MB / 1.092 GB, free: 136.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/1.103, allocations: 306.6 kB / 1.093 GB, free: 136.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/4.086, allocations: 2.672 kB / 1.093 GB, free: 136.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)