Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.691/1.691, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.942/1.942, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00154/0.00154, allocations: 65.58 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3771, allocations: 114.5 MB / 0.7834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003725/0.3809, allocations: 1.417 MB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3822, allocations: 0.4944 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.3823, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3825, allocations: 7.922 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.3826, allocations: 15.92 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.3836, allocations: 242.6 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3839, allocations: 135.8 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.384, allocations: 4 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3841, allocations: 59.83 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3842, allocations: 39.84 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.3843, allocations: 8 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.3846, allocations: 175.8 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.954e-05/0.3848, allocations: 39.89 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3849, allocations: 55.72 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.3853, allocations: 231.7 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3853, allocations: 0 / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.544e-06/0.3853, allocations: 3.938 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3853, allocations: 0 / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007942/0.3861, allocations: 443 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.3862, allocations: 12.03 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.3863, allocations: 16.83 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.3866, allocations: 204.1 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.3867, allocations: 20.3 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.3867, allocations: 12.38 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.3869, allocations: 79.95 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.387, allocations: 192 / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.387, allocations: 3.938 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.387, allocations: 7.984 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3871, allocations: 39.92 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.3875, allocations: 234.5 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.3877, allocations: 73.25 kB / 0.7873 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.3878, allocations: 57.75 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.3879, allocations: 4 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.3883, allocations: 120.9 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3883, allocations: 0 / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004655/0.3887, allocations: 185.4 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3889, allocations: 85.11 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.389, allocations: 148.6 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.3891, allocations: 37.7 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3892, allocations: 108.5 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.3893, allocations: 27.56 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.3894, allocations: 57.69 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3896, allocations: 322.8 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.3897, allocations: 39.98 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.3899, allocations: 205.7 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.3901, allocations: 93.64 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3901, allocations: 0 / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002589/0.3904, allocations: 173.3 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3904, allocations: 8 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.3904, allocations: 0 / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.3905, allocations: 4 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3906, allocations: 4 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3906, allocations: 7.938 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.3909, allocations: 75.75 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3909, allocations: 4 kB / 0.789 GB, free: 7.434 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001612/0.3911, allocations: 134.4 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.3911, allocations: 15.84 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.3912, allocations: 16.7 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3912, allocations: 12.03 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3912, allocations: 3.984 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3912, allocations: 0 / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3915, allocations: 193.5 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.3915, allocations: 7.938 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.3915, allocations: 4 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3915, allocations: 0 / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3916, allocations: 4 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3916, allocations: 3.938 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3916, allocations: 0 / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3919, allocations: 185.9 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.392, allocations: 96.8 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.392, allocations: 7.984 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.3921, allocations: 4 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.3921, allocations: 0 / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.3922, allocations: 11.92 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.643e-05/0.3923, allocations: 117.7 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3923, allocations: 4 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004184/0.3927, allocations: 68 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003543/0.3931, allocations: 171.1 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.3934, allocations: 167.3 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3934, allocations: 0 / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.3935, allocations: 43.98 kB / 0.7902 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.3937, allocations: 14.59 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.3943, allocations: 231.3 kB / 0.7904 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.3947, allocations: 0.7041 MB / 0.7911 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.656e-05/0.3948, allocations: 8.656 kB / 0.7911 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.3948, allocations: 15.44 kB / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3948, allocations: 0 / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.006959/0.4018, allocations: 2.516 MB / 0.7936 GB, free: 2.555 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)