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.001543/0.001543, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001607/0.001607, allocations: 192.5 kB / 16.13 MB, free: 6.656 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.762 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.6271/0.6271, allocations: 95.47 MB / 364.8 MB, free: 10.11 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.001882/0.001882, allocations: 68.56 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3632, allocations: 69.08 MB / 0.5017 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003161/0.3664, allocations: 1.659 MB / 0.5033 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3684, allocations: 1.317 MB / 0.5046 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.3685, allocations: 4 kB / 0.5046 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.3688, allocations: 19.92 kB / 0.5046 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.369, allocations: 39.84 kB / 0.5047 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.3695, allocations: 143.7 kB / 0.5048 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.3697, allocations: 201.6 kB / 0.505 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3699, allocations: 22.08 kB / 0.505 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.37, allocations: 71.77 kB / 0.5051 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3701, allocations: 79.73 kB / 0.5052 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.3702, allocations: 8 kB / 0.5052 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.3705, allocations: 175.8 kB / 0.5053 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.3706, allocations: 63.81 kB / 0.5054 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.3707, allocations: 99.28 kB / 0.5055 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.3711, allocations: 307.2 kB / 0.5058 GB, free: 13.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3711, allocations: 0 / 0.5058 GB, free: 13.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3711, allocations: 0 / 0.5058 GB, free: 13.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3711, allocations: 0 / 0.5058 GB, free: 13.67 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.0008128/0.3719, allocations: 0.582 MB / 0.5064 GB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.372, allocations: 11.98 kB / 0.5064 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.3721, allocations: 28.56 kB / 0.5064 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.3723, allocations: 260.1 kB / 0.5066 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3724, allocations: 16 kB / 0.5067 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.3724, allocations: 12 kB / 0.5067 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.3728, allocations: 195.6 kB / 0.5069 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3728, allocations: 3.938 kB / 0.5069 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3728, allocations: 12 kB / 0.5069 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3729, allocations: 4 kB / 0.5069 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.3738, allocations: 0.7371 MB / 0.5076 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.3747, allocations: 0.5628 MB / 0.5081 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.3753, allocations: 303.6 kB / 0.5084 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.3755, allocations: 109.4 kB / 0.5085 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.3755, allocations: 24.23 kB / 0.5086 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.3759, allocations: 171.3 kB / 0.5087 GB, free: 10.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.376, allocations: 4 kB / 0.5087 GB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007884/0.3767, allocations: 368.8 kB / 0.5091 GB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3768, allocations: 81.11 kB / 0.5092 GB, free: 10.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3771, allocations: 309 kB / 0.5095 GB, free: 9.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3771, allocations: 33.7 kB / 0.5095 GB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.3772, allocations: 116.8 kB / 0.5096 GB, free: 9.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.3773, allocations: 126.2 kB / 0.5097 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3774, allocations: 61.59 kB / 0.5098 GB, free: 9.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.3775, allocations: 338.8 kB / 0.5101 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3776, allocations: 79.95 kB / 0.5102 GB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.3779, allocations: 118.7 kB / 0.5103 GB, free: 8.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.3783, allocations: 226.4 kB / 0.5105 GB, free: 8.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3783, allocations: 4 kB / 0.5105 GB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000563/0.3789, allocations: 319.2 kB / 0.5108 GB, free: 8.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.3789, allocations: 35.67 kB / 0.5109 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3789, allocations: 4 kB / 0.5109 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3789, allocations: 0 / 0.5109 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.3792, allocations: 59.91 kB / 0.5109 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3792, allocations: 0 / 0.5109 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3794, allocations: 23.83 kB / 0.5109 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.3794, allocations: 16.03 kB / 0.5109 GB, free: 8.109 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.0001539/0.3796, allocations: 161.8 kB / 0.5111 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.3796, allocations: 31.64 kB / 0.5111 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/0.3805, allocations: 392.8 kB / 0.5115 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3805, allocations: 4 kB / 0.5115 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3805, allocations: 0 / 0.5115 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3805, allocations: 3.984 kB / 0.5115 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.3809, allocations: 329.3 kB / 0.5118 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3809, allocations: 0 / 0.5118 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.3811, allocations: 63.91 kB / 0.5119 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.3811, allocations: 3.938 kB / 0.5119 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3812, allocations: 11.98 kB / 0.5119 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3812, allocations: 4 kB / 0.5119 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3812, allocations: 0 / 0.5119 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.3817, allocations: 337.4 kB / 0.5122 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.3818, allocations: 148.6 kB / 0.5124 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3818, allocations: 7.938 kB / 0.5124 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.3819, allocations: 8 kB / 0.5124 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.382, allocations: 23.97 kB / 0.5124 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.382, allocations: 15.98 kB / 0.5124 GB, free: 6.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3821, allocations: 232.4 kB / 0.5126 GB, free: 6.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.82e-07/0.3821, allocations: 4 kB / 0.5127 GB, free: 6.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3824, allocations: 71.94 kB / 0.5127 GB, free: 6.195 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.0008211/0.3832, allocations: 418.5 kB / 0.5131 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.3836, allocations: 282.8 kB / 0.5134 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3836, allocations: 0 / 0.5134 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.3838, allocations: 135.8 kB / 0.5135 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.384, allocations: 32.66 kB / 0.5136 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.3847, allocations: 0.6059 MB / 0.5141 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3848, allocations: 0.7611 MB / 0.5149 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.3851, allocations: 138.9 kB / 0.515 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.3852, allocations: 47.41 kB / 0.5151 GB, free: 3.863 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3852, allocations: 3.938 kB / 0.5151 GB, free: 3.859 MB / 382.1 MB Notification: Performance of Templates: time 0.005202/0.3904, allocations: 2.867 MB / 0.5179 GB, free: 1.004 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (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)