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.0008823/0.0008823, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008971/0.0008972, allocations: 177.3 kB / 15.95 MB, free: 216 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.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.5679/0.5679, allocations: 95.58 MB / 366 MB, free: 10.41 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.0005471/0.0005472, allocations: 12 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2715, allocations: 70.34 MB / 0.505 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.001699/0.2732, allocations: 1.289 MB / 0.5063 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2745, allocations: 1.236 MB / 0.5075 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.2746, allocations: 0 / 0.5075 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.2747, allocations: 19.91 kB / 0.5075 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.2749, allocations: 43.83 kB / 0.5075 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.2752, allocations: 127.6 kB / 0.5077 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2754, allocations: 137.8 kB / 0.5078 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.2754, allocations: 15.98 kB / 0.5078 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.2755, allocations: 67.83 kB / 0.5079 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.2756, allocations: 51.83 kB / 0.5079 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2756, allocations: 11.98 kB / 0.5079 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.2758, allocations: 151.7 kB / 0.5081 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.2759, allocations: 63.81 kB / 0.5081 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.276, allocations: 53.58 kB / 0.5082 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.2762, allocations: 229.6 kB / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2762, allocations: 0 / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2762, allocations: 0 / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2762, allocations: 0 / 0.5084 GB, free: 13.12 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.0005456/0.2767, allocations: 0.5312 MB / 0.5089 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.2768, allocations: 11.98 kB / 0.5089 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.2768, allocations: 27.62 kB / 0.509 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.2771, allocations: 251.7 kB / 0.5092 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2771, allocations: 23.94 kB / 0.5092 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.2771, allocations: 15.98 kB / 0.5092 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.2774, allocations: 195 kB / 0.5094 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2774, allocations: 3.938 kB / 0.5094 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.2774, allocations: 4 kB / 0.5094 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2775, allocations: 4 kB / 0.5094 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.2781, allocations: 0.7334 MB / 0.5101 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.2788, allocations: 0.5628 MB / 0.5107 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.2791, allocations: 303.6 kB / 0.511 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.2792, allocations: 20.25 kB / 0.511 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2794, allocations: 167.3 kB / 0.5112 GB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.2794, allocations: 4 kB / 0.5112 GB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0004818/0.2799, allocations: 364.9 kB / 0.5115 GB, free: 9.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2799, allocations: 81.11 kB / 0.5116 GB, free: 9.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.2801, allocations: 301 kB / 0.5119 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2802, allocations: 37.7 kB / 0.5119 GB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.2802, allocations: 120.7 kB / 0.512 GB, free: 9.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.2803, allocations: 122.2 kB / 0.5121 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.2803, allocations: 8 kB / 0.5122 GB, free: 9.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.2804, allocations: 342.8 kB / 0.5125 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2805, allocations: 75.95 kB / 0.5126 GB, free: 8.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.2806, allocations: 110.7 kB / 0.5127 GB, free: 8.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.2807, allocations: 137.5 kB / 0.5128 GB, free: 8.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2807, allocations: 0 / 0.5128 GB, free: 8.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003248/0.2811, allocations: 306.8 kB / 0.5131 GB, free: 8.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2811, allocations: 29.7 kB / 0.5131 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2811, allocations: 0 / 0.5131 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2811, allocations: 7.984 kB / 0.5131 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2813, allocations: 59.91 kB / 0.5132 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2813, allocations: 4 kB / 0.5132 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.2814, allocations: 15.84 kB / 0.5132 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2815, allocations: 16 kB / 0.5132 GB, free: 7.918 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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.2816, allocations: 165.7 kB / 0.5134 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.2816, allocations: 23.72 kB / 0.5134 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005247/0.2821, allocations: 397.1 kB / 0.5138 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2822, allocations: 8 kB / 0.5138 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2822, allocations: 0 / 0.5138 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2822, allocations: 3.984 kB / 0.5138 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.2824, allocations: 333.2 kB / 0.5141 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2824, allocations: 0 / 0.5141 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.2826, allocations: 59.91 kB / 0.5142 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2826, allocations: 7.984 kB / 0.5142 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2826, allocations: 8 kB / 0.5142 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2826, allocations: 0 / 0.5142 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2826, allocations: 0 / 0.5142 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.2829, allocations: 341.2 kB / 0.5145 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.283, allocations: 144.7 kB / 0.5146 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.2831, allocations: 12 kB / 0.5146 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.2832, allocations: 11.98 kB / 0.5147 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.2832, allocations: 19.97 kB / 0.5147 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2832, allocations: 16 kB / 0.5147 GB, free: 6.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.2834, allocations: 232.4 kB / 0.5149 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2834, allocations: 4 kB / 0.5149 GB, free: 6.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.2837, allocations: 75.92 kB / 0.515 GB, free: 5.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008311/0.2845, allocations: 411.6 kB / 0.5154 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.2848, allocations: 288.2 kB / 0.5157 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2848, allocations: 0 / 0.5157 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.285, allocations: 127.8 kB / 0.5158 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.2852, allocations: 32.61 kB / 0.5158 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.2858, allocations: 0.587 MB / 0.5164 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.286, allocations: 0.7688 MB / 0.5171 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.2863, allocations: 150.8 kB / 0.5173 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.2864, allocations: 43.42 kB / 0.5173 GB, free: 3.684 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2864, allocations: 0 / 0.5173 GB, free: 3.684 MB / 382.1 MB Notification: Performance of Templates: time 0.005344/0.2917, allocations: 2.758 MB / 0.52 GB, free: 0.9336 MB / 382.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: