Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009428/0.009428, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.601/0.601, allocations: 95.62 MB / 366.4 MB, free: 10.24 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007004/0.0007006, allocations: 20.56 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4018, allocations: 70.32 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.00219/0.4041, allocations: 1.308 MB / 0.5069 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.4063, allocations: 1.313 MB / 0.5082 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.4064, allocations: 0 / 0.5082 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.4068, allocations: 23.92 kB / 0.5082 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.4071, allocations: 39.83 kB / 0.5083 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.4075, allocations: 139 kB / 0.5084 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.4079, allocations: 197.6 kB / 0.5086 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.408, allocations: 25.97 kB / 0.5086 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.4081, allocations: 63.77 kB / 0.5087 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.4083, allocations: 79.72 kB / 0.5088 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.4084, allocations: 4 kB / 0.5088 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.4087, allocations: 179.8 kB / 0.5089 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.4088, allocations: 67.83 kB / 0.509 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.4089, allocations: 113 kB / 0.5091 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.4092, allocations: 307.1 kB / 0.5094 GB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4093, allocations: 4 kB / 0.5094 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4093, allocations: 0 / 0.5094 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4093, allocations: 0 / 0.5094 GB, free: 12.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008918/0.4102, allocations: 0.5275 MB / 0.5099 GB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4102, allocations: 11.98 kB / 0.5099 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.4103, allocations: 36.56 kB / 0.51 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4106, allocations: 260 kB / 0.5102 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.4106, allocations: 19.98 kB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.4107, allocations: 16 kB / 0.5103 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.411, allocations: 203.5 kB / 0.5105 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.411, allocations: 0 / 0.5105 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.411, allocations: 4 kB / 0.5105 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.411, allocations: 4 kB / 0.5105 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006871/0.4117, allocations: 0.7449 MB / 0.5112 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.4124, allocations: 0.5512 MB / 0.5117 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.4128, allocations: 299.6 kB / 0.512 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.4129, allocations: 109.4 kB / 0.5121 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.413, allocations: 24.25 kB / 0.5121 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.4133, allocations: 179.2 kB / 0.5123 GB, free: 9.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.413e-06/0.4133, allocations: 0 / 0.5123 GB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005218/0.4138, allocations: 368.9 kB / 0.5127 GB, free: 8.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.4139, allocations: 81.11 kB / 0.5127 GB, free: 8.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.4141, allocations: 305 kB / 0.513 GB, free: 8.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4141, allocations: 29.7 kB / 0.5131 GB, free: 8.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.4142, allocations: 120.8 kB / 0.5132 GB, free: 8.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.4143, allocations: 126.2 kB / 0.5133 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.4143, allocations: 29.7 kB / 0.5133 GB, free: 8.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.4144, allocations: 334.8 kB / 0.5136 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4145, allocations: 79.95 kB / 0.5137 GB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4147, allocations: 114.7 kB / 0.5138 GB, free: 7.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.4149, allocations: 238.3 kB / 0.5141 GB, free: 7.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4149, allocations: 0 / 0.5141 GB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003461/0.4153, allocations: 311.4 kB / 0.5143 GB, free: 7.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.4153, allocations: 36.14 kB / 0.5144 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4153, allocations: 0 / 0.5144 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4154, allocations: 4 kB / 0.5144 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.4156, allocations: 63.91 kB / 0.5144 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4156, allocations: 7.969 kB / 0.5145 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.4157, allocations: 23.75 kB / 0.5145 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.4157, allocations: 12 kB / 0.5145 GB, free: 7.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.4158, allocations: 165.7 kB / 0.5146 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.4159, allocations: 27.66 kB / 0.5147 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006118/0.4165, allocations: 388.9 kB / 0.515 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4165, allocations: 4 kB / 0.515 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4165, allocations: 0 / 0.515 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4165, allocations: 11.98 kB / 0.5151 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.4168, allocations: 329.2 kB / 0.5154 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4168, allocations: 0 / 0.5154 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.417, allocations: 59.91 kB / 0.5154 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.417, allocations: 3.938 kB / 0.5154 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.417, allocations: 19.98 kB / 0.5155 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.417, allocations: 3.938 kB / 0.5155 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.417, allocations: 3.938 kB / 0.5155 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.4174, allocations: 333.4 kB / 0.5158 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.4175, allocations: 148.6 kB / 0.5159 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.4175, allocations: 7.938 kB / 0.5159 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.4176, allocations: 11.98 kB / 0.5159 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.4177, allocations: 27.97 kB / 0.516 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4177, allocations: 8 kB / 0.516 GB, free: 5.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.4179, allocations: 236.4 kB / 0.5162 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.4179, allocations: 0 / 0.5162 GB, free: 5.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.4182, allocations: 71.92 kB / 0.5163 GB, free: 5.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.4192, allocations: 422.5 kB / 0.5167 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.4196, allocations: 286.8 kB / 0.5169 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4196, allocations: 0 / 0.5169 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4198, allocations: 135.8 kB / 0.5171 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.42, allocations: 32.66 kB / 0.5171 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.4209, allocations: 0.6095 MB / 0.5177 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4211, allocations: 0.7688 MB / 0.5185 GB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.4214, allocations: 134.9 kB / 0.5186 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.4215, allocations: 47.41 kB / 0.5186 GB, free: 2.742 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4215, allocations: 4 kB / 0.5186 GB, free: 2.738 MB / 382.1 MB Notification: Performance of Templates: time 0.00585/0.4273, allocations: 2.824 MB / 0.5214 GB, free: 15.92 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1) Environment - environmentSimulation: