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.00148/0.00148, allocations: 103.3 kB / 16.29 MB, free: 6.074 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.001552/0.001552, allocations: 179.5 kB / 17.22 MB, free: 5.695 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.763/1.763, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.085/2.085, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001515/0.001516, allocations: 67.89 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3414, allocations: 114.6 MB / 0.7841 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003376/0.3448, allocations: 1.421 MB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3458, allocations: 0.4905 MB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3459, allocations: 0 / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.346, allocations: 7.938 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.3461, allocations: 11.86 kB / 0.786 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.3469, allocations: 231.1 kB / 0.7862 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3472, allocations: 155.8 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.3473, allocations: 4 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.3474, allocations: 55.84 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.883e-05/0.3474, allocations: 39.89 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.3475, allocations: 8 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.3478, allocations: 167.8 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.3479, allocations: 39.91 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.348, allocations: 59.7 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.3483, allocations: 239.7 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3483, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.367e-06/0.3483, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3484, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 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.0006612/0.349, allocations: 447 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3491, allocations: 8.031 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.3492, allocations: 16.83 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.3494, allocations: 208 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3495, allocations: 8.375 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.3495, allocations: 16.38 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3497, allocations: 83.89 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3497, allocations: 192 / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3497, allocations: 3.938 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3498, allocations: 7.969 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.618e-05/0.3498, allocations: 35.98 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6686/1.018, allocations: 227.8 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/1.019, allocations: 79.47 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/1.019, allocations: 61.91 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/1.019, allocations: 0 / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/1.019, allocations: 104.2 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/1.019, allocations: 2.875 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003968/1.02, allocations: 191.8 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.02, allocations: 88.17 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.02, allocations: 149.3 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/1.02, allocations: 34.92 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/1.02, allocations: 104.6 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/1.02, allocations: 45.52 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/1.02, allocations: 45.41 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.957e-05/1.02, allocations: 325 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/1.02, allocations: 41.31 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/1.02, allocations: 205.4 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.02, allocations: 95.16 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.02, allocations: 0.5 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002217/1.021, allocations: 166.8 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.021, allocations: 5.25 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.021, allocations: 6.562 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.021, allocations: 6.453 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.021, allocations: 9.797 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.021, allocations: 2.625 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/1.021, allocations: 72.16 kB / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/1.021, allocations: 5.25 kB / 0.7897 GB, free: 47.61 MB / 0.6544 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.0001184/1.021, allocations: 141.8 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/1.021, allocations: 9.156 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/1.021, allocations: 18.34 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.021, allocations: 0 / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.021, allocations: 4.281 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.021, allocations: 0.6562 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/1.022, allocations: 195.2 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.022, allocations: 0.5 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/1.022, allocations: 8.984 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.022, allocations: 0 / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/1.022, allocations: 9.906 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.022, allocations: 3.844 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.022, allocations: 5.156 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/1.022, allocations: 180 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/1.022, allocations: 85.61 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/1.022, allocations: 6.25 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/1.022, allocations: 7.266 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/1.022, allocations: 5.75 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/1.022, allocations: 9.328 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.565e-05/1.022, allocations: 114.5 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.022, allocations: 0 / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003372/1.023, allocations: 71.62 kB / 0.7905 GB, free: 47.04 MB / 0.6544 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.0002766/1.023, allocations: 175.3 kB / 0.7907 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002601/1.023, allocations: 158.3 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.023, allocations: 2.625 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/1.023, allocations: 45.72 kB / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/1.023, allocations: 9.109 kB / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/1.024, allocations: 216.3 kB / 0.7911 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/1.024, allocations: 0.7069 MB / 0.7918 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.356e-05/1.024, allocations: 12.06 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/1.024, allocations: 12.69 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/1.024, allocations: 0.8438 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.006022/1.03, allocations: 2.529 MB / 0.7943 GB, free: 45.93 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)