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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001177/0.001177, allocations: 193.5 kB / 326.5 MB, free: 2.664 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.537/1.537, allocations: 205 MB / 0.5767 GB, free: 20.94 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.0008265/0.0008265, allocations: 89.59 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8.719 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2283, allocations: 105.4 MB / 0.8967 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004615/0.233, allocations: 3.869 MB / 0.9005 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.3932, allocations: 147.9 MB / 1.045 GB, free: 11.78 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.3942, allocations: 19.88 kB / 1.045 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.395, allocations: 131 kB / 1.045 GB, free: 11.63 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.001735/0.3967, allocations: 364.8 kB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.3988, allocations: 0.6716 MB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.4003, allocations: 1.098 MB / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.4013, allocations: 0.626 MB / 1.048 GB, free: 8.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/0.402, allocations: 310.3 kB / 1.048 GB, free: 8.562 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.4026, allocations: 334 kB / 1.048 GB, free: 8.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.4027, allocations: 20 kB / 1.048 GB, free: 8.215 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007237/0.4034, allocations: 295.7 kB / 1.049 GB, free: 7.926 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.4037, allocations: 179.1 kB / 1.049 GB, free: 7.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.4041, allocations: 401.2 kB / 1.049 GB, free: 7.355 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.4055, allocations: 1.359 MB / 1.051 GB, free: 5.992 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4055, allocations: 0 / 1.051 GB, free: 5.992 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.346e-06/0.4055, allocations: 0 / 1.051 GB, free: 5.992 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.4055, allocations: 3.938 kB / 1.051 GB, free: 5.988 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.001897/0.4074, allocations: 1.139 MB / 1.052 GB, free: 4.797 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4075, allocations: 8.031 kB / 1.052 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.4089, allocations: 275.4 kB / 1.052 GB, free: 4.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.4098, allocations: 0.7188 MB / 1.053 GB, free: 3.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.4099, allocations: 70 kB / 1.053 GB, free: 3.691 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.41, allocations: 80 kB / 1.053 GB, free: 3.613 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.4116, allocations: 0.973 MB / 1.054 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4116, allocations: 3.984 kB / 1.054 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.4117, allocations: 44 kB / 1.054 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.4118, allocations: 20 kB / 1.054 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.4137, allocations: 1.182 MB / 1.055 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4521/0.8659, allocations: 2.597 MB / 1.058 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.8681, allocations: 0.8745 MB / 1.058 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.8687, allocations: 318.7 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.8688, allocations: 33.95 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008871/0.8697, allocations: 474.6 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.088e-06/0.8697, allocations: 3.844 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003224/0.873, allocations: 1.208 MB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.8731, allocations: 189.2 kB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007432/0.8738, allocations: 0.5835 MB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.8739, allocations: 41.61 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.8742, allocations: 400.9 kB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.8744, allocations: 239.7 kB / 1.062 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.8745, allocations: 63.17 kB / 1.062 GB, free: 158.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8746, allocations: 384.6 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.8752, allocations: 280.1 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.876, allocations: 369.2 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.8774, allocations: 0.631 MB / 1.063 GB, free: 157.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8774, allocations: 0.7031 kB / 1.063 GB, free: 157.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002413/0.8798, allocations: 0.8645 MB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.8799, allocations: 6.969 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.8799, allocations: 1 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.8805, allocations: 86.56 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.8813, allocations: 162.8 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.8833, allocations: 1.523 MB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/0.8841, allocations: 97.09 kB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.8842, allocations: 36.44 kB / 1.066 GB, free: 156.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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0004984/0.8847, allocations: 261.7 kB / 1.066 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.8848, allocations: 79.56 kB / 1.066 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.8877, allocations: 1.084 MB / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.8878, allocations: 10.69 kB / 1.068 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8878, allocations: 1.969 kB / 1.068 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.8881, allocations: 266 kB / 1.068 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.8883, allocations: 15.86 kB / 1.068 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.8889, allocations: 81.66 kB / 1.068 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.889, allocations: 60.05 kB / 1.068 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002351/0.8914, allocations: 0.9719 MB / 1.069 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002894/0.8943, allocations: 1.411 MB / 1.07 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007502/0.8951, allocations: 362.7 kB / 1.071 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006293/0.8957, allocations: 434.3 kB / 1.071 GB, free: 155.2 MB / 0.698 GB Notification: Performance of Backend: time 5.31e-07/0.8957, allocations: 0 / 1.071 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003225/0.8989, allocations: 1.167 MB / 1.072 GB, free: 154.8 MB / 0.698 GB Notification: Performance of SimCode: time 0.003271/0.9022, allocations: 2.399 MB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02443/0.9267, allocations: 14.51 MB / 1.089 GB, free: 145.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (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 & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)