Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5469/0.5469, allocations: 95.62 MB / 110.6 MB, free: 9.391 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001137/0.001137, allocations: 172.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.401/1.401, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001664/0.001664, allocations: 111.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 8 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1467, allocations: 61.54 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.5592, allocations: 94.08 MB / 0.6038 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5595, allocations: 73.95 kB / 0.6039 GB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.57, allocations: 3.387 MB / 0.6072 GB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.57, allocations: 4 kB / 0.6072 GB, free: 10.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.57, allocations: 4 kB / 0.6072 GB, free: 10.1 MB / 410.7 MB 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.000512/0.5705, allocations: 0.5463 MB / 0.6078 GB, free: 9.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5706, allocations: 11.98 kB / 0.6078 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.5706, allocations: 23.91 kB / 0.6078 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.5712, allocations: 262.2 kB / 0.608 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.5712, allocations: 15.25 kB / 0.6081 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.5713, allocations: 27.95 kB / 0.6081 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.5716, allocations: 187.1 kB / 0.6083 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5716, allocations: 0 / 0.6083 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.5716, allocations: 4 kB / 0.6083 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5717, allocations: 0 / 0.6083 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.5718, allocations: 93.95 kB / 0.6084 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.5722, allocations: 338.2 kB / 0.6087 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5724, allocations: 242.9 kB / 0.6089 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.5725, allocations: 4.078 kB / 0.6089 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.5728, allocations: 333 kB / 0.6092 GB, free: 8.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.183e-06/0.5729, allocations: 0 / 0.6092 GB, free: 8.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008776/0.5737, allocations: 0.625 MB / 0.6098 GB, free: 7.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.5739, allocations: 310.6 kB / 0.6101 GB, free: 7.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.5741, allocations: 145.2 kB / 0.6103 GB, free: 6.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.5741, allocations: 41.58 kB / 0.6103 GB, free: 6.938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.5742, allocations: 107.4 kB / 0.6104 GB, free: 6.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.5743, allocations: 66.31 kB / 0.6105 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.5743, allocations: 11 kB / 0.6105 GB, free: 6.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5745, allocations: 330.4 kB / 0.6108 GB, free: 6.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.5748, allocations: 187.9 kB / 0.611 GB, free: 6.324 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.5751, allocations: 237.6 kB / 0.6112 GB, free: 6.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.5754, allocations: 289.1 kB / 0.6115 GB, free: 5.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5754, allocations: 0 / 0.6115 GB, free: 5.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001099/0.5766, allocations: 0.8182 MB / 0.6123 GB, free: 5.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.5767, allocations: 141.6 kB / 0.6124 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.5767, allocations: 64 / 0.6124 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5767, allocations: 8 kB / 0.6124 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.5768, allocations: 7.438 kB / 0.6124 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5768, allocations: 3.938 kB / 0.6124 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.5774, allocations: 103.8 kB / 0.6125 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.5774, allocations: 27.36 kB / 0.6126 GB, free: 4.922 MB / 410.7 MB 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.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,$whenCondition1,$whenCondition2,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002494/0.5777, allocations: 226 kB / 0.6128 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.5777, allocations: 27.8 kB / 0.6128 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.5778, allocations: 12.47 kB / 0.6128 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5778, allocations: 4 kB / 0.6128 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5778, allocations: 8 kB / 0.6128 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5778, allocations: 0 / 0.6128 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.5781, allocations: 266.5 kB / 0.6131 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5781, allocations: 0 / 0.6131 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.5781, allocations: 7.938 kB / 0.6131 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5781, allocations: 0 / 0.6131 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.5782, allocations: 19.42 kB / 0.6131 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5782, allocations: 0 / 0.6131 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5782, allocations: 4 kB / 0.6131 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.5788, allocations: 0.4943 MB / 0.6136 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.5789, allocations: 88.92 kB / 0.6137 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.5789, allocations: 19.84 kB / 0.6137 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.5792, allocations: 44.14 kB / 0.6138 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.5793, allocations: 19.69 kB / 0.6138 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.5793, allocations: 23.61 kB / 0.6138 GB, free: 3.691 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.368e-05/0.5794, allocations: 112.8 kB / 0.6139 GB, free: 3.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5794, allocations: 0 / 0.6139 GB, free: 3.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.5798, allocations: 94.94 kB / 0.614 GB, free: 3.504 MB / 410.7 MB 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,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002009/0.58, allocations: 142.4 kB / 0.6141 GB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.5809, allocations: 0.8537 MB / 0.615 GB, free: 2.754 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5809, allocations: 4 kB / 0.615 GB, free: 2.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.5814, allocations: 0.5562 MB / 0.6155 GB, free: 2.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.5815, allocations: 15.94 kB / 0.6155 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.5822, allocations: 433 kB / 0.6159 GB, free: 2.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.5825, allocations: 0.7163 MB / 0.6166 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.5826, allocations: 8.656 kB / 0.6166 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.5826, allocations: 11.44 kB / 0.6167 GB, free: 1.266 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5826, allocations: 0 / 0.6167 GB, free: 1.266 MB / 410.7 MB Notification: Performance of Templates: time 0.006881/0.5895, allocations: 3.655 MB / 0.6202 GB, free: 13.66 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)