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.00146/0.00146, 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.002339/0.002339, allocations: 193 kB / 16.14 MB, free: 6.703 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.683/1.683, allocations: 205.1 MB / 222 MB, free: 4.781 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 2.013/2.013, allocations: 292.2 MB / 0.5484 GB, free: 13.72 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.001456/0.001456, allocations: 62.78 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3636, allocations: 114.5 MB / 0.7827 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003105/0.3668, allocations: 1.485 MB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3679, allocations: 0.5189 MB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.3679, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3681, allocations: 15.92 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.3681, allocations: 3.938 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008179/0.369, allocations: 206.2 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.3692, allocations: 135.8 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.3693, allocations: 4 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.3694, allocations: 51.91 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.3695, allocations: 43.81 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3695, allocations: 12 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.3698, allocations: 159.8 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3699, allocations: 31.91 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.37, allocations: 55.7 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.3703, allocations: 223.7 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3704, allocations: 0 / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3704, allocations: 0 / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.557e-06/0.3704, allocations: 4 kB / 0.7855 GB, free: 11.12 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.0006922/0.3711, allocations: 451 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.3711, allocations: 16.02 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.3712, allocations: 12.84 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3715, allocations: 200.1 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3715, allocations: 8.375 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.3715, allocations: 8.375 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3717, allocations: 87.83 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3718, allocations: 192 / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3718, allocations: 11.92 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.3718, allocations: 4 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.3719, allocations: 31.98 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.3722, allocations: 234.5 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.3723, allocations: 81.19 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.3724, allocations: 53.81 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3725, allocations: 4 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.3727, allocations: 123.5 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3727, allocations: 0 / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000397/0.3731, allocations: 189.5 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.3732, allocations: 85.05 kB / 0.787 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3734, allocations: 156.6 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.3734, allocations: 33.7 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.3735, allocations: 100.5 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.3736, allocations: 39.55 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.3737, allocations: 49.69 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3738, allocations: 322.8 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.3739, allocations: 39.98 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3741, allocations: 199.3 kB / 0.7879 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3743, allocations: 97.58 kB / 0.788 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3743, allocations: 8 kB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002412/0.3745, allocations: 169.3 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3746, allocations: 4 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.3746, allocations: 4 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3746, allocations: 0 / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.3747, allocations: 8 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.3747, allocations: 0.625 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.375, allocations: 75.75 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.375, allocations: 4 kB / 0.7883 GB, free: 7.949 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.0001548/0.3751, allocations: 146.4 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.3752, allocations: 11.84 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.3752, allocations: 20.7 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3752, allocations: 0 / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3752, allocations: 0 / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3753, allocations: 4 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3754, allocations: 193.5 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3755, allocations: 3.938 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.3755, allocations: 8 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3755, allocations: 0 / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3755, allocations: 4 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3755, allocations: 0 / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3755, allocations: 4 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3758, allocations: 189.7 kB / 0.7889 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.3758, allocations: 96.8 kB / 0.789 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3759, allocations: 7.984 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.3759, allocations: 0 / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.376, allocations: 7.984 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.376, allocations: 8 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.3761, allocations: 115.2 kB / 0.7891 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3761, allocations: 3.938 kB / 0.7891 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000357/0.3765, allocations: 68 kB / 0.7892 GB, free: 6.973 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.0003041/0.3768, allocations: 166 kB / 0.7893 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.3771, allocations: 163.3 kB / 0.7895 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3771, allocations: 0 / 0.7895 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.3772, allocations: 47.92 kB / 0.7895 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.3774, allocations: 15.94 kB / 0.7895 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.3779, allocations: 249.1 kB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.3783, allocations: 0.7043 MB / 0.7905 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.022e-05/0.3783, allocations: 16.92 kB / 0.7905 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.3784, allocations: 11.44 kB / 0.7905 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.3784, allocations: 0 / 0.7905 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.005979/0.3844, allocations: 2.411 MB / 0.7928 GB, free: 3.152 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)