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.416/1.416, allocations: 252 MB / 267.3 MB, free: 10.82 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.001084/0.001084, allocations: 170.6 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008617/0.0008616, allocations: 93.69 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 12.36 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004807/0.2999, allocations: 3.772 MB / 0.9046 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1824/0.4823, allocations: 146.3 MB / 1.047 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.484, allocations: 15.94 kB / 1.047 GB, free: 8.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.485, allocations: 135 kB / 1.048 GB, free: 8.598 MB / 0.698 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.00233/0.4874, allocations: 371 kB / 1.048 GB, free: 8.238 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.4898, allocations: 0.6708 MB / 1.049 GB, free: 7.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.4914, allocations: 1.094 MB / 1.05 GB, free: 6.473 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.4924, allocations: 0.6263 MB / 1.05 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.4929, allocations: 302.4 kB / 1.051 GB, free: 5.535 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.4934, allocations: 353.9 kB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.4935, allocations: 20 kB / 1.051 GB, free: 5.168 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008643/0.4943, allocations: 295.7 kB / 1.051 GB, free: 4.879 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.4946, allocations: 175.2 kB / 1.051 GB, free: 4.707 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.495, allocations: 430.9 kB / 1.052 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.4964, allocations: 1.359 MB / 1.053 GB, free: 2.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4964, allocations: 3.938 kB / 1.053 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4964, allocations: 0 / 1.053 GB, free: 2.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4964, allocations: 0 / 1.053 GB, free: 2.91 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.002041/0.4985, allocations: 1.143 MB / 1.054 GB, free: 1.715 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4985, allocations: 8.031 kB / 1.054 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.4987, allocations: 139.7 kB / 1.054 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.5001, allocations: 271.3 kB / 1.055 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5011, allocations: 0.7265 MB / 1.055 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.5012, allocations: 66 kB / 1.055 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5013, allocations: 84 kB / 1.056 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5517/1.053, allocations: 0.9696 MB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.053, allocations: 3.875 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/1.053, allocations: 38.86 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.053, allocations: 22.45 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/1.055, allocations: 1.184 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/1.06, allocations: 2.593 MB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/1.063, allocations: 0.8742 MB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/1.063, allocations: 321.5 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/1.063, allocations: 32.59 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.064, allocations: 479.4 kB / 1.062 GB, free: 154.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.657e-06/1.064, allocations: 5.016 kB / 1.062 GB, free: 154.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003465/1.068, allocations: 1.197 MB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/1.068, allocations: 193.5 kB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/1.069, allocations: 0.5854 MB / 1.064 GB, free: 154.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/1.069, allocations: 36.42 kB / 1.064 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/1.069, allocations: 398.9 kB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/1.07, allocations: 247.7 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/1.07, allocations: 18.59 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.07, allocations: 378.2 kB / 1.065 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/1.07, allocations: 256.8 kB / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/1.071, allocations: 364.4 kB / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/1.073, allocations: 0.6061 MB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.073, allocations: 0.9375 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002546/1.075, allocations: 0.8098 MB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.075, allocations: 4.781 kB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.075, allocations: 5.703 kB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006672/1.076, allocations: 83.14 kB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/1.077, allocations: 154.2 kB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/1.079, allocations: 1.519 MB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/1.08, allocations: 98.19 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/1.08, allocations: 32.3 kB / 1.069 GB, free: 151.8 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005746/1.08, allocations: 253.6 kB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.081, allocations: 72.14 kB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/1.084, allocations: 1.095 MB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.084, allocations: 9.703 kB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/1.084, allocations: 0 / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/1.084, allocations: 3.844 kB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/1.085, allocations: 0.8857 MB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.085, allocations: 1.156 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/1.086, allocations: 161.9 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/1.087, allocations: 86.48 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/1.087, allocations: 28.94 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/1.089, allocations: 1.545 MB / 1.073 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.089, allocations: 0.7188 kB / 1.073 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.092, allocations: 0.9215 MB / 1.074 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/1.092, allocations: 271.5 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/1.093, allocations: 16.97 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/1.093, allocations: 86.77 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/1.094, allocations: 64.7 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.094, allocations: 35.17 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001082/1.095, allocations: 429.2 kB / 1.074 GB, free: 149.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.074 GB, free: 149.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001412/1.096, allocations: 278.4 kB / 1.075 GB, free: 149.6 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00447/1.101, allocations: 1.943 MB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002363/1.103, allocations: 0.8105 MB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.103, allocations: 0.9375 kB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.104, allocations: 0.5176 MB / 1.078 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.106, allocations: 252.9 kB / 1.078 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1.122, allocations: 6.75 MB / 1.085 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/1.122, allocations: 1.012 MB / 1.086 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001261/1.124, allocations: 264.8 kB / 1.086 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006746/1.124, allocations: 370.3 kB / 1.086 GB, free: 143.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.034e-06/1.124, allocations: 0 / 1.086 GB, free: 143.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/1.17, allocations: 18.9 MB / 1.105 GB, free: 126.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/1.17, allocations: 329.2 kB / 1.105 GB, free: 126.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/4.281, allocations: 0 / 1.105 GB, free: 126.3 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)