Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 84.22 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008039/0.000804, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000516/0.000516, allocations: 14.53 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2279, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004782/0.2327, allocations: 3.6 MB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6217/0.8544, allocations: 136.5 MB / 0.9241 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.855, allocations: 17.31 kB / 0.9241 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.8554, allocations: 128.6 kB / 0.9242 GB, free: 5.527 MB / 0.7169 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.001075/0.8565, allocations: 355.3 kB / 0.9246 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.8583, allocations: 0.6026 MB / 0.9252 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.8594, allocations: 1.024 MB / 0.9262 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.86, allocations: 0.509 MB / 0.9267 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.8605, allocations: 302.7 kB / 0.9269 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.8609, allocations: 320.1 kB / 0.9273 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.8609, allocations: 22.44 kB / 0.9273 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006816/0.8616, allocations: 291.9 kB / 0.9276 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.8618, allocations: 165.8 kB / 0.9277 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.8622, allocations: 187.1 kB / 0.9279 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.8633, allocations: 1.083 MB / 0.9289 GB, free: 21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8634, allocations: 4 kB / 0.9289 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.644e-06/0.8634, allocations: 0 / 0.9289 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.8634, allocations: 0 / 0.9289 GB, free: 20.99 MB / 0.7325 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.001792/0.8652, allocations: 1.155 MB / 0.9301 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8652, allocations: 11.53 kB / 0.9301 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8662, allocations: 220.6 kB / 0.9303 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.8673, allocations: 0.6893 MB / 0.931 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.8674, allocations: 71.8 kB / 0.931 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.8675, allocations: 84.09 kB / 0.9311 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.869, allocations: 0.9277 MB / 0.932 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.869, allocations: 0 / 0.932 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/0.8691, allocations: 37.78 kB / 0.9321 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.8691, allocations: 25.19 kB / 0.9321 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.8708, allocations: 1.119 MB / 0.9332 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.8743, allocations: 2.544 MB / 0.9357 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.8759, allocations: 0.7512 MB / 0.9364 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.8764, allocations: 286.8 kB / 0.9367 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/0.877, allocations: 468 kB / 0.9371 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008002/0.8778, allocations: 452.5 kB / 0.9375 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/0.8778, allocations: 0 / 0.9375 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002714/0.8805, allocations: 1.117 MB / 0.9386 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.8807, allocations: 191.6 kB / 0.9388 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/0.8815, allocations: 0.5803 MB / 0.9394 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.8816, allocations: 41.33 kB / 0.9394 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.8819, allocations: 395 kB / 0.9398 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.8821, allocations: 242.9 kB / 0.94 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.8821, allocations: 18.62 kB / 0.9401 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.8823, allocations: 378.9 kB / 0.9404 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.8829, allocations: 244.3 kB / 0.9406 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.8835, allocations: 341.2 kB / 0.941 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.8842, allocations: 291.6 kB / 0.9413 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8842, allocations: 5.125 kB / 0.9413 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001626/0.8858, allocations: 0.7992 MB / 0.942 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.8858, allocations: 6.188 kB / 0.942 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8859, allocations: 1.75 kB / 0.942 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.8864, allocations: 90.84 kB / 0.9421 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.887, allocations: 151.9 kB / 0.9423 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.8889, allocations: 1.521 MB / 0.9438 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/0.8895, allocations: 92.42 kB / 0.9438 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.8895, allocations: 34.61 kB / 0.9439 GB, free: 15.48 MB / 0.7325 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.0004328/0.89, allocations: 255.4 kB / 0.9441 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.8901, allocations: 79.61 kB / 0.9442 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.8922, allocations: 1.026 MB / 0.9452 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.8922, allocations: 9.625 kB / 0.9452 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.8922, allocations: 0 / 0.9452 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.8922, allocations: 3 kB / 0.9452 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008793/0.8931, allocations: 0.8758 MB / 0.9461 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8931, allocations: 1.094 kB / 0.9461 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.8937, allocations: 145 kB / 0.9462 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.8941, allocations: 86.5 kB / 0.9463 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.8942, allocations: 19.28 kB / 0.9463 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.8957, allocations: 1.555 MB / 0.9478 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8958, allocations: 0 / 0.9478 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.8974, allocations: 0.8593 MB / 0.9487 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.8977, allocations: 267.4 kB / 0.9489 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.8978, allocations: 23.91 kB / 0.9489 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.8983, allocations: 69.36 kB / 0.949 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.8984, allocations: 59.31 kB / 0.9491 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.8985, allocations: 33.84 kB / 0.9491 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004974/0.899, allocations: 423.3 kB / 0.9495 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.899, allocations: 0 / 0.9495 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008695/0.8999, allocations: 296.5 kB / 0.9498 GB, free: 13.14 MB / 0.7325 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 (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/0.901, allocations: 0.5762 MB / 0.9504 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.9025, allocations: 0.7798 MB / 0.9511 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.9025, allocations: 0 / 0.9511 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007863/0.9033, allocations: 497.6 kB / 0.9516 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.9043, allocations: 248.4 kB / 0.9518 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.9078, allocations: 2.129 MB / 0.9539 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.9083, allocations: 1.015 MB / 0.9549 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008281/0.9092, allocations: 269.6 kB / 0.9552 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.9094, allocations: 98.47 kB / 0.9552 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.9094, allocations: 0 / 0.9552 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.02011/0.9295, allocations: 12.94 MB / 0.9679 GB, free: 6.082 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) Environment - environmentSimulation: