Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.72/1.72, allocations: 287.4 MB / 303.2 MB, free: 8.234 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.001004/0.001004, allocations: 168.5 kB / 371.8 MB, free: 10.83 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.574/1.574, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009368/0.0009366, allocations: 93.28 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 9.906 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.003574/0.1933, allocations: 3.581 MB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5413/0.7346, allocations: 136.4 MB / 1.116 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006834/0.7353, allocations: 16.28 kB / 1.116 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.7358, allocations: 127.9 kB / 1.116 GB, free: 1.652 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.001276/0.7371, allocations: 348.1 kB / 1.116 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.7392, allocations: 0.5954 MB / 1.117 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.7406, allocations: 1.043 MB / 1.118 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008954/0.7415, allocations: 0.6141 MB / 1.119 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006134/0.7422, allocations: 306.3 kB / 1.119 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.7426, allocations: 324.3 kB / 1.119 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.7427, allocations: 21.78 kB / 1.119 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008248/0.7435, allocations: 269.7 kB / 1.12 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.7438, allocations: 166.3 kB / 1.12 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.744, allocations: 184.7 kB / 1.12 GB, free: 16.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.7456, allocations: 1.077 MB / 1.121 GB, free: 16.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.7456, allocations: 1.219 kB / 1.121 GB, free: 16.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7456, allocations: 4 kB / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.7456, allocations: 0 / 1.121 GB, free: 16.82 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.002164/0.7478, allocations: 1.137 MB / 1.122 GB, free: 16.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.7479, allocations: 11.36 kB / 1.122 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.7493, allocations: 274.7 kB / 1.122 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.7503, allocations: 0.727 MB / 1.123 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.7504, allocations: 70.97 kB / 1.123 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.7505, allocations: 82.97 kB / 1.123 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.7523, allocations: 0.962 MB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.7524, allocations: 0 / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/0.7525, allocations: 42.39 kB / 1.124 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.7525, allocations: 26.25 kB / 1.124 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.7547, allocations: 1.174 MB / 1.125 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.7596, allocations: 2.594 MB / 1.128 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.762, allocations: 0.8666 MB / 1.129 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.7627, allocations: 317.1 kB / 1.129 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.7628, allocations: 34.45 kB / 1.129 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/0.7636, allocations: 478.1 kB / 1.13 GB, free: 14.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.697e-06/0.7637, allocations: 0 / 1.13 GB, free: 14.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003153/0.7668, allocations: 1.2 MB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.7669, allocations: 194 kB / 1.131 GB, free: 14.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.7676, allocations: 0.5823 MB / 1.131 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.7677, allocations: 36.55 kB / 1.131 GB, free: 13.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.768, allocations: 398.3 kB / 1.132 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.7682, allocations: 241.4 kB / 1.132 GB, free: 13.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.7682, allocations: 13 kB / 1.132 GB, free: 13.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7684, allocations: 377.5 kB / 1.132 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.769, allocations: 282.6 kB / 1.133 GB, free: 13.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.7697, allocations: 367.6 kB / 1.133 GB, free: 13.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.771, allocations: 0.6301 MB / 1.134 GB, free: 13.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.771, allocations: 0 / 1.134 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002105/0.7731, allocations: 0.8678 MB / 1.135 GB, free: 13.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.7731, allocations: 6.344 kB / 1.135 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.7732, allocations: 1.156 kB / 1.135 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.7738, allocations: 86.41 kB / 1.135 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.7745, allocations: 166.6 kB / 1.135 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.7765, allocations: 1.517 MB / 1.136 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.7773, allocations: 99.64 kB / 1.136 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.7774, allocations: 35.67 kB / 1.136 GB, free: 11.66 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.0005427/0.7779, allocations: 266.8 kB / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.7781, allocations: 74.66 kB / 1.137 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.7806, allocations: 1.087 MB / 1.138 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.7806, allocations: 5.766 kB / 1.138 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7807, allocations: 1.75 kB / 1.138 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.7811, allocations: 266.9 kB / 1.138 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.7812, allocations: 24.34 kB / 1.138 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.7819, allocations: 78.34 kB / 1.138 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.782, allocations: 63.88 kB / 1.138 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002219/0.7842, allocations: 0.9673 MB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00255/0.7868, allocations: 1.391 MB / 1.141 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006944/0.7875, allocations: 371.1 kB / 1.141 GB, free: 10.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005956/0.7881, allocations: 416.7 kB / 1.141 GB, free: 10.31 MB / 0.698 GB Notification: Performance of Backend: time 5.91e-07/0.7881, allocations: 4.531 kB / 1.141 GB, free: 10.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003169/0.7913, allocations: 1.171 MB / 1.142 GB, free: 9.863 MB / 0.698 GB Notification: Performance of SimCode: time 0.003433/0.7948, allocations: 2.334 MB / 1.145 GB, free: 8.254 MB / 0.698 GB Notification: Performance of Templates: time 0.0267/0.8215, allocations: 14.17 MB / 1.159 GB, free: 1.137 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)