Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4128/0.4128, allocations: 54.42 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 180.1 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.691/1.691, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001739/0.001738, allocations: 118.9 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.31e-05, allocations: 4.219 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4298, allocations: 57.65 MB / 463.1 MB, free: 51.72 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5774, allocations: 85.07 MB / 0.5354 GB, free: 112 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/0.5779, allocations: 67.97 kB / 0.5354 GB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.5897, allocations: 3.365 MB / 0.5387 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5898, allocations: 0 / 0.5387 GB, free: 12.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.5898, allocations: 0 / 0.5387 GB, free: 12.74 MB / 394.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.0007803/0.5906, allocations: 0.5209 MB / 0.5392 GB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.527e-05/0.5907, allocations: 16.02 kB / 0.5392 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5908, allocations: 23.91 kB / 0.5393 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.5915, allocations: 260.2 kB / 0.5395 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.5915, allocations: 8 kB / 0.5395 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.5916, allocations: 27.95 kB / 0.5395 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00022/0.5918, allocations: 83.91 kB / 0.5396 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.5922, allocations: 163.6 kB / 0.5398 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5922, allocations: 3.984 kB / 0.5398 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.5922, allocations: 8 kB / 0.5398 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.5922, allocations: 0 / 0.5398 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.5927, allocations: 300.5 kB / 0.5401 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.5931, allocations: 234.4 kB / 0.5403 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.5934, allocations: 185.1 kB / 0.5405 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.5934, allocations: 3.938 kB / 0.5405 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004169/0.5938, allocations: 325.3 kB / 0.5408 GB, free: 10.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.5938, allocations: 0 / 0.5408 GB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006021/0.5944, allocations: 277.4 kB / 0.5411 GB, free: 10.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002748/0.5947, allocations: 306.7 kB / 0.5414 GB, free: 9.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.5949, allocations: 135.4 kB / 0.5415 GB, free: 9.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.988e-05/0.595, allocations: 41.7 kB / 0.5415 GB, free: 9.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5951, allocations: 100.6 kB / 0.5416 GB, free: 9.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.5952, allocations: 63.2 kB / 0.5417 GB, free: 9.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.5952, allocations: 8 kB / 0.5417 GB, free: 9.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.5955, allocations: 334.9 kB / 0.542 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.5958, allocations: 168 kB / 0.5422 GB, free: 8.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.5962, allocations: 203.4 kB / 0.5424 GB, free: 8.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.5967, allocations: 155.7 kB / 0.5425 GB, free: 8.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5967, allocations: 4 kB / 0.5425 GB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001147/0.5979, allocations: 0.6508 MB / 0.5431 GB, free: 7.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.598, allocations: 142.8 kB / 0.5433 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.598, allocations: 0 / 0.5433 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.5981, allocations: 4 kB / 0.5433 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5982, allocations: 7.938 kB / 0.5433 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5982, allocations: 0.5625 kB / 0.5433 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.5987, allocations: 107.8 kB / 0.5434 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.5988, allocations: 23.98 kB / 0.5434 GB, free: 7.52 MB / 394.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.0002614/0.5991, allocations: 215.4 kB / 0.5436 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.5991, allocations: 23.81 kB / 0.5436 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.5992, allocations: 12.62 kB / 0.5437 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.5992, allocations: 6.719 kB / 0.5437 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.5992, allocations: 1.125 kB / 0.5437 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5992, allocations: 3.984 kB / 0.5437 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.5995, allocations: 225.9 kB / 0.5439 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5995, allocations: 3.938 kB / 0.5439 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.5996, allocations: 4 kB / 0.5439 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.5996, allocations: 7.953 kB / 0.5439 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.5996, allocations: 19.98 kB / 0.5439 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.5997, allocations: 7.188 kB / 0.5439 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5997, allocations: 0 / 0.5439 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.6003, allocations: 396.6 kB / 0.5443 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.6005, allocations: 88.92 kB / 0.5444 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.6005, allocations: 19.94 kB / 0.5444 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.6008, allocations: 39.95 kB / 0.5444 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.6009, allocations: 15.98 kB / 0.5445 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.6009, allocations: 12 kB / 0.5445 GB, free: 6.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.6011, allocations: 111.2 kB / 0.5446 GB, free: 6.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6011, allocations: 0 / 0.5446 GB, free: 6.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.6014, allocations: 99.86 kB / 0.5447 GB, free: 6.117 MB / 394.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.0002896/0.6017, allocations: 131.2 kB / 0.5448 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.6029, allocations: 0.8178 MB / 0.5456 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6029, allocations: 4.125 kB / 0.5456 GB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.6035, allocations: 0.5417 MB / 0.5461 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.6037, allocations: 16.09 kB / 0.5461 GB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.6045, allocations: 315.7 kB / 0.5464 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.6051, allocations: 0.7202 MB / 0.5472 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.37e-05/0.6051, allocations: 8.656 kB / 0.5472 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.6052, allocations: 15.44 kB / 0.5472 GB, free: 3.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6052, allocations: 3.938 kB / 0.5472 GB, free: 3.414 MB / 394.7 MB Notification: Performance of Templates: time 0.00779/0.613, allocations: 3.539 MB / 0.5506 GB, free: 24 kB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)