Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 186.4 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.341/2.341, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008859, allocations: 93.55 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006658/0.000666, allocations: 9 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2316, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.4604, allocations: 132.1 MB / 1.028 GB, free: 13.27 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/0.4608, allocations: 79.95 kB / 1.029 GB, free: 13.19 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.4793, allocations: 3.319 MB / 1.032 GB, free: 9.855 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4793, allocations: 0 / 1.032 GB, free: 9.855 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.4794, allocations: 0 / 1.032 GB, free: 9.855 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00157/0.4809, allocations: 0.5374 MB / 1.032 GB, free: 9.254 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.481, allocations: 12.03 kB / 1.032 GB, free: 9.242 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.4812, allocations: 32.75 kB / 1.032 GB, free: 9.211 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.4823, allocations: 260.3 kB / 1.033 GB, free: 8.918 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.4825, allocations: 32.23 kB / 1.033 GB, free: 8.887 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.4826, allocations: 28.38 kB / 1.033 GB, free: 8.859 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.4836, allocations: 255.5 kB / 1.033 GB, free: 8.594 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4836, allocations: 3.938 kB / 1.033 GB, free: 8.59 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.4837, allocations: 7.984 kB / 1.033 GB, free: 8.582 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.4837, allocations: 4 kB / 1.033 GB, free: 8.578 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.4842, allocations: 99.86 kB / 1.033 GB, free: 8.48 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.485, allocations: 387.7 kB / 1.033 GB, free: 8.043 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.4858, allocations: 242.8 kB / 1.034 GB, free: 7.77 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.4863, allocations: 127.4 kB / 1.034 GB, free: 7.633 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.4864, allocations: 7.938 kB / 1.034 GB, free: 7.625 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008471/0.4872, allocations: 274.4 kB / 1.034 GB, free: 7.332 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=24): time 4.078e-06/0.4873, allocations: 0 / 1.034 GB, free: 7.332 MB / 0.6824 GB Notification: Performance of matching and sorting (n=24): time 0.002146/0.4894, allocations: 0.5323 MB / 1.035 GB, free: 6.793 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.4896, allocations: 148.4 kB / 1.035 GB, free: 6.617 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.4899, allocations: 155.3 kB / 1.035 GB, free: 6.457 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.49, allocations: 41.7 kB / 1.035 GB, free: 6.41 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4901, allocations: 104.6 kB / 1.035 GB, free: 6.305 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.4902, allocations: 63.25 kB / 1.035 GB, free: 6.242 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.4903, allocations: 12 kB / 1.035 GB, free: 6.23 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4904, allocations: 339.1 kB / 1.035 GB, free: 5.891 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.491, allocations: 179.8 kB / 1.036 GB, free: 5.715 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.4915, allocations: 216.2 kB / 1.036 GB, free: 5.492 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.4921, allocations: 221.1 kB / 1.036 GB, free: 5.266 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4921, allocations: 0 / 1.036 GB, free: 5.266 MB / 0.6824 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001872/0.494, allocations: 0.7403 MB / 1.037 GB, free: 4.508 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.4941, allocations: 85.34 kB / 1.037 GB, free: 4.414 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4942, allocations: 4 kB / 1.037 GB, free: 4.41 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4942, allocations: 0 / 1.037 GB, free: 4.41 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.4944, allocations: 15.98 kB / 1.037 GB, free: 4.395 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.4944, allocations: 4 kB / 1.037 GB, free: 4.391 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.4951, allocations: 83.73 kB / 1.037 GB, free: 4.309 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.4952, allocations: 23.98 kB / 1.037 GB, free: 4.285 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0003182/0.4955, allocations: 152.4 kB / 1.037 GB, free: 4.129 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.4956, allocations: 19.84 kB / 1.037 GB, free: 4.109 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.4957, allocations: 20.7 kB / 1.037 GB, free: 4.086 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4957, allocations: 11.94 kB / 1.037 GB, free: 4.074 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4957, allocations: 0 / 1.037 GB, free: 4.074 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4957, allocations: 0 / 1.037 GB, free: 4.074 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.4961, allocations: 269.3 kB / 1.037 GB, free: 3.762 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4961, allocations: 0 / 1.037 GB, free: 3.762 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4963, allocations: 19.94 kB / 1.037 GB, free: 3.742 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.4963, allocations: 7.938 kB / 1.037 GB, free: 3.734 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.4963, allocations: 11.97 kB / 1.037 GB, free: 3.723 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.4964, allocations: 4 kB / 1.037 GB, free: 3.719 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4964, allocations: 0 / 1.037 GB, free: 3.719 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.4979, allocations: 475 kB / 1.038 GB, free: 3.227 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.498, allocations: 96.86 kB / 1.038 GB, free: 3.113 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4981, allocations: 15.98 kB / 1.038 GB, free: 3.098 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4984, allocations: 19.98 kB / 1.038 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.4985, allocations: 23.97 kB / 1.038 GB, free: 3.055 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.4985, allocations: 27.91 kB / 1.038 GB, free: 3.027 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001363/0.4987, allocations: 114.5 kB / 1.038 GB, free: 2.918 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4987, allocations: 0 / 1.038 GB, free: 2.918 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0005775/0.4993, allocations: 83.98 kB / 1.038 GB, free: 2.836 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003199/0.4996, allocations: 150.9 kB / 1.038 GB, free: 2.68 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.5013, allocations: 0.6899 MB / 1.039 GB, free: 1.965 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5013, allocations: 0 / 1.039 GB, free: 1.965 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.502, allocations: 163.8 kB / 1.039 GB, free: 1.805 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.5023, allocations: 21.89 kB / 1.039 GB, free: 1.785 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.5036, allocations: 413.5 kB / 1.04 GB, free: 1.34 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.5041, allocations: 0.7091 MB / 1.04 GB, free: 0.6055 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 6.944e-05/0.5042, allocations: 17.42 kB / 1.04 GB, free: 0.5898 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.5042, allocations: 11.44 kB / 1.04 GB, free: 0.5781 MB / 0.6824 GB Notification: Performance of SimCode: time 1.733e-06/0.5043, allocations: 4 kB / 1.04 GB, free: 0.5742 MB / 0.6824 GB Notification: Performance of Templates: time 0.01102/0.5153, allocations: 3.176 MB / 1.043 GB, free: 13.43 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)