Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.233/2.233, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001326/0.001326, allocations: 169.7 kB / 326.2 MB, free: 2.859 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.743/2.743, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.001329/0.001328, allocations: 95.95 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004564, allocations: 13.31 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2029, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005476/0.2084, allocations: 3.584 MB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2592/0.4677, allocations: 136.5 MB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.4689, allocations: 19.88 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.4699, allocations: 119 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.002797/0.4727, allocations: 355 kB / 1.037 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.477, allocations: 0.5989 MB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.4799, allocations: 1.047 MB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.482, allocations: 0.6234 MB / 1.039 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.4832, allocations: 294.6 kB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009624/0.4842, allocations: 322.2 kB / 1.04 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.4844, allocations: 20 kB / 1.04 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.4859, allocations: 275.7 kB / 1.04 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.4863, allocations: 159.3 kB / 1.04 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004333/0.4868, allocations: 193.1 kB / 1.04 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.4897, allocations: 1.08 MB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4898, allocations: 0 / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.627e-06/0.4898, allocations: 0 / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.173e-05/0.4898, allocations: 0 / 1.041 GB, free: 15.95 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.004946/0.4948, allocations: 1.143 MB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 9.739e-05/0.495, allocations: 12.03 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/0.4994, allocations: 275.3 kB / 1.043 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.5022, allocations: 0.6998 MB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.5024, allocations: 66 kB / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.5028, allocations: 84 kB / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.5076, allocations: 0.9691 MB / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.5077, allocations: 3.938 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.5079, allocations: 36 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.5079, allocations: 24 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/0.5118, allocations: 1.171 MB / 1.046 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007413/0.5193, allocations: 2.591 MB / 1.048 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/0.5236, allocations: 0.8665 MB / 1.049 GB, free: 7.809 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.5249, allocations: 318.6 kB / 1.049 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.5251, allocations: 32.67 kB / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.5267, allocations: 475.1 kB / 1.05 GB, free: 6.977 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.369e-06/0.5268, allocations: 0 / 1.05 GB, free: 6.977 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.00591/0.5327, allocations: 1.198 MB / 1.051 GB, free: 5.754 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5329, allocations: 188.6 kB / 1.051 GB, free: 5.527 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.534, allocations: 0.5821 MB / 1.052 GB, free: 4.938 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.5342, allocations: 37.7 kB / 1.052 GB, free: 4.895 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/0.5348, allocations: 396.2 kB / 1.052 GB, free: 4.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.5352, allocations: 244.5 kB / 1.052 GB, free: 4.258 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.5353, allocations: 16 kB / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000287/0.5356, allocations: 378.8 kB / 1.053 GB, free: 3.863 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.5368, allocations: 285.8 kB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.5382, allocations: 367 kB / 1.053 GB, free: 3.211 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.5395, allocations: 314.9 kB / 1.054 GB, free: 2.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.5396, allocations: 0 / 1.054 GB, free: 2.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00386/0.5435, allocations: 0.8644 MB / 1.054 GB, free: 2.027 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5435, allocations: 4 kB / 1.054 GB, free: 2.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5435, allocations: 0 / 1.054 GB, free: 2.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009986/0.5446, allocations: 84.84 kB / 1.055 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.5461, allocations: 175.8 kB / 1.055 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.5493, allocations: 1.516 MB / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.5508, allocations: 92.52 kB / 1.056 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.6371/1.188, allocations: 39.77 kB / 1.056 GB, free: 156 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.001012/1.189, allocations: 258.3 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/1.189, allocations: 74.55 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005931/1.195, allocations: 1.091 MB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/1.195, allocations: 3.234 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/1.195, allocations: 6.844 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/1.196, allocations: 271.5 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/1.197, allocations: 18.34 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.198, allocations: 84.64 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/1.198, allocations: 58.52 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005033/1.203, allocations: 0.9722 MB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005996/1.21, allocations: 1.401 MB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001704/1.211, allocations: 361.4 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001068/1.212, allocations: 418.8 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of Backend: time 1.102e-06/1.212, allocations: 0 / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005962/1.218, allocations: 1.177 MB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of SimCode: time 0.005975/1.224, allocations: 2.33 MB / 1.065 GB, free: 153.5 MB / 0.698 GB Notification: Performance of Templates: time 0.06161/1.286, allocations: 14.14 MB / 1.078 GB, free: 149.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)