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.000955/0.0009551, allocations: 99.55 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.0009315/0.0009317, allocations: 177.3 kB / 15.94 MB, free: 228 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.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.679/1.679, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005256/0.0005256, allocations: 18.7 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.252, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001527/0.2536, allocations: 1.12 MB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007967/0.2544, allocations: 444 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.2544, allocations: 4 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.76e-05/0.2545, allocations: 3.938 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.2546, allocations: 15.97 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.2552, allocations: 180.6 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.2553, allocations: 91.83 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.2554, allocations: 7.984 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.2555, allocations: 47.91 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.2555, allocations: 43.83 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2556, allocations: 8 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.2558, allocations: 139.8 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.2558, allocations: 31.91 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.2559, allocations: 45.64 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.2561, allocations: 167.9 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.2561, allocations: 0 / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2561, allocations: 0 / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2561, allocations: 0 / 0.7894 GB, free: 9.629 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.0004933/0.2566, allocations: 422.9 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2567, allocations: 12.03 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2567, allocations: 15.81 kB / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.2569, allocations: 198.9 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.257, allocations: 15.98 kB / 0.79 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.257, allocations: 8 kB / 0.79 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2572, allocations: 83.33 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2572, allocations: 0 / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2572, allocations: 4 kB / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2572, allocations: 0 / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.2573, allocations: 39.98 kB / 0.7901 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.2575, allocations: 238.3 kB / 0.7904 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.2576, allocations: 81.14 kB / 0.7904 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.2576, allocations: 4.078 kB / 0.7905 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.2579, allocations: 113.9 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.2579, allocations: 0 / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003913/0.2583, allocations: 339.7 kB / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.2583, allocations: 89.03 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2584, allocations: 160.4 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.2585, allocations: 33.7 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.2585, allocations: 96.52 kB / 0.7912 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.2586, allocations: 47.53 kB / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.2586, allocations: 0 / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2587, allocations: 330.8 kB / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.2588, allocations: 44.16 kB / 0.7916 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.259, allocations: 198.4 kB / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.839e-05/0.2591, allocations: 51.94 kB / 0.7919 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2591, allocations: 0 / 0.7919 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002052/0.2593, allocations: 165.3 kB / 0.792 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.2593, allocations: 8 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.2593, allocations: 0 / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2593, allocations: 4 kB / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.2594, allocations: 8 kB / 0.7921 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2594, allocations: 0 / 0.7921 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.2597, allocations: 91.83 kB / 0.7922 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2597, allocations: 7.938 kB / 0.7922 GB, free: 6.438 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.2598, allocations: 141.8 kB / 0.7923 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.2599, allocations: 11.81 kB / 0.7923 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.2599, allocations: 16.7 kB / 0.7923 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2599, allocations: 0 / 0.7923 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2599, allocations: 4 kB / 0.7923 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2599, allocations: 0 / 0.7923 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.2601, allocations: 201.6 kB / 0.7925 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2601, allocations: 0 / 0.7925 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.2601, allocations: 8 kB / 0.7925 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2601, allocations: 7.938 kB / 0.7925 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2601, allocations: 0 / 0.7925 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2602, allocations: 4 kB / 0.7925 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2602, allocations: 3.938 kB / 0.7925 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.2604, allocations: 195 kB / 0.7927 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.2604, allocations: 92.94 kB / 0.7928 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2605, allocations: 8 kB / 0.7928 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.2605, allocations: 4 kB / 0.7928 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.2606, allocations: 7.984 kB / 0.7928 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2606, allocations: 4 kB / 0.7928 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.2606, allocations: 121.8 kB / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2606, allocations: 0 / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002686/0.2609, allocations: 68 kB / 0.793 GB, free: 5.453 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 (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.0002047/0.2611, allocations: 163.1 kB / 0.7932 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.2614, allocations: 163.3 kB / 0.7933 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2614, allocations: 0 / 0.7933 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.2615, allocations: 47.92 kB / 0.7934 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.2616, allocations: 3.938 kB / 0.7934 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.262, allocations: 242.6 kB / 0.7936 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2623, allocations: 0.7121 MB / 0.7943 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.2623, allocations: 8.672 kB / 0.7943 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.2623, allocations: 11.44 kB / 0.7943 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2623, allocations: 3.938 kB / 0.7943 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.004652/0.267, allocations: 2.325 MB / 0.7966 GB, free: 1.723 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: