Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 308.1 MB, free: 4.355 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.001671/0.001671, allocations: 189.9 kB / 376.9 MB, free: 1.859 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.804/1.804, allocations: 205.1 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 97.73 kB / 0.748 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2825, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007721/0.2902, allocations: 4.188 MB / 0.9863 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7777/1.068, allocations: 147.9 MB / 1.131 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009766/1.069, allocations: 13.88 kB / 1.131 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005453/1.07, allocations: 133.9 kB / 1.131 GB, free: 7.121 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001321/1.071, allocations: 352.2 kB / 1.131 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/1.073, allocations: 0.6766 MB / 1.132 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009299/1.074, allocations: 1.106 MB / 1.133 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000848/1.075, allocations: 0.6526 MB / 1.134 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/1.075, allocations: 398 kB / 1.134 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/1.075, allocations: 446.3 kB / 1.134 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/1.076, allocations: 59.5 kB / 1.134 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/1.076, allocations: 330.6 kB / 1.135 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/1.077, allocations: 233.5 kB / 1.135 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/1.077, allocations: 482.7 kB / 1.135 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/1.078, allocations: 1.412 MB / 1.137 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.078, allocations: 0 / 1.137 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/1.078, allocations: 0 / 1.137 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.078, allocations: 0 / 1.137 GB, free: 4.172 MB / 0.7448 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.002252/1.08, allocations: 1.361 MB / 1.138 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.08, allocations: 6.25 kB / 1.138 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/1.082, allocations: 264.9 kB / 1.138 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.083, allocations: 0.7234 MB / 1.139 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/1.083, allocations: 72.44 kB / 1.139 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.083, allocations: 85.94 kB / 1.139 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.085, allocations: 0.9679 MB / 1.14 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/1.085, allocations: 4.656 kB / 1.14 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/1.085, allocations: 37.81 kB / 1.14 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/1.085, allocations: 19.62 kB / 1.14 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/1.087, allocations: 1.169 MB / 1.141 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/1.09, allocations: 2.563 MB / 1.144 GB, free: 500 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/1.093, allocations: 0.8618 MB / 1.145 GB, free: 200 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/1.093, allocations: 321.6 kB / 1.145 GB, free: 84 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.14e-05/1.093, allocations: 32.16 kB / 1.145 GB, free: 68 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009685/1.094, allocations: 476.7 kB / 1.146 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 3.347e-06/1.094, allocations: 0.5625 kB / 1.146 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.003325/1.098, allocations: 1.18 MB / 1.147 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.098, allocations: 195 kB / 1.147 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/1.098, allocations: 0.5813 MB / 1.147 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/1.099, allocations: 44.02 kB / 1.148 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/1.099, allocations: 395.7 kB / 1.148 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.099, allocations: 245.9 kB / 1.148 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.099, allocations: 148.8 kB / 1.148 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.1, allocations: 384.6 kB / 1.149 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/1.1, allocations: 279.1 kB / 1.149 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007785/1.101, allocations: 364.7 kB / 1.149 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/1.102, allocations: 0.6281 MB / 1.15 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.102, allocations: 0.8438 kB / 1.15 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002326/1.105, allocations: 0.8554 MB / 1.151 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/1.105, allocations: 6.688 kB / 1.151 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.105, allocations: 3.938 kB / 1.151 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/1.106, allocations: 83.89 kB / 1.151 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/1.106, allocations: 164.7 kB / 1.151 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.109, allocations: 1.521 MB / 1.152 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/1.109, allocations: 93 kB / 1.153 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/1.109, allocations: 35.3 kB / 1.153 GB, free: 11.59 MB / 0.7605 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.0005021/1.11, allocations: 257.8 kB / 1.153 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/1.11, allocations: 75.88 kB / 1.153 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/1.113, allocations: 1.086 MB / 1.154 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.113, allocations: 6.031 kB / 1.154 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.113, allocations: 3.281 kB / 1.154 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/1.113, allocations: 7.312 kB / 1.154 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/1.114, allocations: 0.8753 MB / 1.155 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.114, allocations: 0 / 1.155 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/1.115, allocations: 166.4 kB / 1.155 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005173/1.115, allocations: 90.23 kB / 1.155 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/1.115, allocations: 22.14 kB / 1.155 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/1.117, allocations: 1.534 MB / 1.157 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.117, allocations: 8.734 kB / 1.157 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/1.121, allocations: 1.95 MB / 1.158 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/1.121, allocations: 260.6 kB / 1.159 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.121, allocations: 22.86 kB / 1.159 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/1.122, allocations: 66.53 kB / 1.159 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.122, allocations: 68.19 kB / 1.159 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/1.122, allocations: 31.95 kB / 1.159 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006675/1.123, allocations: 427.5 kB / 1.159 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 1.125 kB / 1.159 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001157/1.124, allocations: 284 kB / 1.16 GB, free: 7.305 MB / 0.7605 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.001507/1.125, allocations: 0.5716 MB / 1.16 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.127, allocations: 0.8276 MB / 1.161 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.128, allocations: 0 / 1.161 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.129, allocations: 0.53 MB / 1.161 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.13, allocations: 261.5 kB / 1.162 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/1.135, allocations: 2.596 MB / 1.164 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/1.135, allocations: 1.037 MB / 1.165 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009708/1.136, allocations: 269.6 kB / 1.166 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/1.137, allocations: 103.4 kB / 1.166 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of SimCode: time 2.204e-06/1.137, allocations: 0 / 1.166 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of Templates: time 0.02855/1.165, allocations: 13.69 MB / 1.179 GB, free: 2.91 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)