Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.47/2.47, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001354/0.001353, allocations: 172.9 kB / 326.2 MB, free: 2.801 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.771/2.771, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0008568/0.0008566, allocations: 89.86 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005079, allocations: 15.38 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00557/0.2346, allocations: 3.607 MB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2111/0.4457, allocations: 136.5 MB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008412/0.4466, allocations: 11.94 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.4473, allocations: 126.9 kB / 1.036 GB, free: 4.801 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.001781/0.4491, allocations: 347 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.4519, allocations: 0.6207 MB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.454, allocations: 1.051 MB / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.4554, allocations: 0.6196 MB / 1.039 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/0.4562, allocations: 306.5 kB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.4568, allocations: 318.2 kB / 1.04 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.4569, allocations: 28 kB / 1.04 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000993/0.4579, allocations: 287.7 kB / 1.04 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.4582, allocations: 171.2 kB / 1.04 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.4585, allocations: 189.1 kB / 1.04 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.4606, allocations: 1.076 MB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4606, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4606, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.4606, allocations: 0 / 1.041 GB, free: 15.8 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003138/0.4638, allocations: 1.166 MB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4639, allocations: 8.031 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.4656, allocations: 215.4 kB / 1.043 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.4674, allocations: 0.696 MB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.4675, allocations: 62 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.4677, allocations: 84 kB / 1.044 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.4704, allocations: 0.934 MB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.4705, allocations: 3.938 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.4707, allocations: 40 kB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.4707, allocations: 20 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/0.4742, allocations: 1.112 MB / 1.046 GB, free: 11.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007172/0.4814, allocations: 2.55 MB / 1.048 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.484, allocations: 0.7413 MB / 1.049 GB, free: 7.961 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009341/0.4849, allocations: 286.7 kB / 1.049 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.486, allocations: 474.2 kB / 1.05 GB, free: 7.125 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.4873, allocations: 447.2 kB / 1.05 GB, free: 6.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.617e-06/0.4874, allocations: 0 / 1.05 GB, free: 6.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005144/0.4925, allocations: 1.116 MB / 1.051 GB, free: 5.527 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.4927, allocations: 192.6 kB / 1.051 GB, free: 5.293 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.4938, allocations: 0.5744 MB / 1.052 GB, free: 4.711 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.494, allocations: 41.7 kB / 1.052 GB, free: 4.664 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/0.4945, allocations: 400.1 kB / 1.052 GB, free: 4.266 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.4949, allocations: 244.4 kB / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.495, allocations: 16 kB / 1.052 GB, free: 4.008 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002291/0.4952, allocations: 378.8 kB / 1.053 GB, free: 3.629 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009322/0.4962, allocations: 245.9 kB / 1.053 GB, free: 3.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.4972, allocations: 343 kB / 1.053 GB, free: 3.039 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4983, allocations: 290.9 kB / 1.054 GB, free: 2.758 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4983, allocations: 0 / 1.054 GB, free: 2.758 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003356/0.5017, allocations: 0.8059 MB / 1.054 GB, free: 1.938 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.5017, allocations: 4 kB / 1.054 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5018, allocations: 0 / 1.054 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.5028, allocations: 84.8 kB / 1.055 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.5042, allocations: 155.8 kB / 1.055 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.5073, allocations: 1.512 MB / 1.056 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5844/1.092, allocations: 87.2 kB / 1.056 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.092, allocations: 33.25 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 (84): * Single equations (assignments): 83 * 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.000694/1.093, allocations: 257.9 kB / 1.056 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/1.093, allocations: 75.53 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/1.097, allocations: 1.033 MB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.097, allocations: 6.562 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.097, allocations: 2.562 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/1.098, allocations: 267.6 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/1.098, allocations: 16.7 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.099, allocations: 74.42 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.099, allocations: 62.62 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003207/1.102, allocations: 0.8976 MB / 1.059 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003512/1.106, allocations: 1.303 MB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000917/1.107, allocations: 337.3 kB / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007885/1.108, allocations: 422.7 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of Backend: time 5.71e-07/1.108, allocations: 1.312 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004393/1.112, allocations: 1.153 MB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of SimCode: time 0.004983/1.117, allocations: 2.34 MB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04419/1.161, allocations: 13.91 MB / 1.078 GB, free: 149.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)