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.6158/0.6158, allocations: 94.77 MB / 102.2 MB, free: 10.15 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.001776/0.001776, allocations: 179.8 kB / 125.5 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.012/2.012, allocations: 170.6 MB / 319.4 MB, free: 9.328 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.002056/0.002056, allocations: 104 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.31e-05, allocations: 0 / 449.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 61.53 MB / 0.4987 GB, free: 4.148 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.642/0.8644, allocations: 93.33 MB / 0.5898 GB, free: 8.652 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004265/0.8649, allocations: 68.81 kB / 0.5899 GB, free: 8.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01427/0.8792, allocations: 3.365 MB / 0.5932 GB, free: 5.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.8793, allocations: 0 / 0.5932 GB, free: 5.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.8793, allocations: 0 / 0.5932 GB, free: 5.289 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.001188/0.8805, allocations: 0.5176 MB / 0.5937 GB, free: 4.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.496e-05/0.8806, allocations: 12.03 kB / 0.5937 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.8809, allocations: 27.81 kB / 0.5937 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.8818, allocations: 266.7 kB / 0.594 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.8818, allocations: 10.23 kB / 0.594 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.8819, allocations: 24 kB / 0.594 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002786/0.8822, allocations: 77 kB / 0.5941 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.8826, allocations: 174.2 kB / 0.5942 GB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8827, allocations: 2.062 kB / 0.5942 GB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.8827, allocations: 8 kB / 0.5942 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.8827, allocations: 1.125 kB / 0.5942 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.8833, allocations: 300.5 kB / 0.5945 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.8836, allocations: 230.6 kB / 0.5947 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.8839, allocations: 179.5 kB / 0.5949 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.8839, allocations: 0 / 0.5949 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.8844, allocations: 331.5 kB / 0.5952 GB, free: 2.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.8844, allocations: 0 / 0.5952 GB, free: 2.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.000677/0.8851, allocations: 273.4 kB / 0.5955 GB, free: 2.637 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/0.8853, allocations: 302.7 kB / 0.5958 GB, free: 2.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.8855, allocations: 141 kB / 0.5959 GB, free: 2.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/0.8856, allocations: 41.7 kB / 0.596 GB, free: 2.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.8857, allocations: 104.6 kB / 0.5961 GB, free: 1.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.8858, allocations: 63.2 kB / 0.5961 GB, free: 1.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.8859, allocations: 8 kB / 0.5961 GB, free: 1.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8861, allocations: 330.8 kB / 0.5964 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.8864, allocations: 168 kB / 0.5966 GB, free: 1.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.8867, allocations: 211.3 kB / 0.5968 GB, free: 1.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.8871, allocations: 149.9 kB / 0.5969 GB, free: 1.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8872, allocations: 0 / 0.5969 GB, free: 1.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001222/0.8884, allocations: 0.6518 MB / 0.5976 GB, free: 400 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.8885, allocations: 142.8 kB / 0.5977 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.8885, allocations: 0 / 0.5977 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.8886, allocations: 8.062 kB / 0.5977 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.8887, allocations: 7.938 kB / 0.5977 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.8887, allocations: 0 / 0.5977 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.8893, allocations: 112.5 kB / 0.5978 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.8894, allocations: 20.66 kB / 0.5979 GB, free: 84 kB / 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 () * 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.000302/0.8897, allocations: 220.9 kB / 0.5981 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.8897, allocations: 23.81 kB / 0.5981 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.8898, allocations: 8.625 kB / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.8898, allocations: 5.219 kB / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.8898, allocations: 0 / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8898, allocations: 4 kB / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.8901, allocations: 227.5 kB / 0.5983 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.8901, allocations: 1.625 kB / 0.5983 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.8902, allocations: 4 kB / 0.5983 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.8902, allocations: 7.953 kB / 0.5983 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.8902, allocations: 15.98 kB / 0.5984 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8902, allocations: 0 / 0.5984 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8902, allocations: 4 kB / 0.5984 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.8909, allocations: 398.5 kB / 0.5987 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.891, allocations: 96.84 kB / 0.5988 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.8911, allocations: 12 kB / 0.5988 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.8914, allocations: 47.95 kB / 0.5989 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.8915, allocations: 8 kB / 0.5989 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.8915, allocations: 17.64 kB / 0.5989 GB, free: 14.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.8916, allocations: 113.5 kB / 0.599 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8916, allocations: 0 / 0.599 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004738/0.8921, allocations: 97.8 kB / 0.5991 GB, free: 14.7 MB / 426.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) * 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.0003013/0.8924, allocations: 141.4 kB / 0.5992 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.8936, allocations: 0.8248 MB / 0.6001 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8936, allocations: 0 / 0.6001 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.8942, allocations: 0.5379 MB / 0.6006 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.8945, allocations: 17.09 kB / 0.6006 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.8953, allocations: 317.2 kB / 0.6009 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.8959, allocations: 0.7121 MB / 0.6016 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.8959, allocations: 8.656 kB / 0.6016 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.8959, allocations: 11.44 kB / 0.6016 GB, free: 12 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.896, allocations: 0 / 0.6016 GB, free: 12 MB / 426.7 MB Notification: Performance of Templates: time 0.009963/0.9059, allocations: 3.543 MB / 0.6051 GB, free: 8.664 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)