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.2805/0.2805, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.001316/0.001317, allocations: 181.3 kB / 80.71 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.797/1.797, allocations: 194.2 MB / 288.6 MB, free: 15 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.001642/0.001642, allocations: 108 kB / 346.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.576e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5216/0.6606, allocations: 85.73 MB / 0.5427 GB, free: 4.758 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.661, allocations: 67.95 kB / 0.5428 GB, free: 4.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01115/0.6722, allocations: 3.389 MB / 0.5461 GB, free: 1.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6722, allocations: 4 kB / 0.5461 GB, free: 1.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.6723, allocations: 0 / 0.5461 GB, free: 1.301 MB / 378.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.0006882/0.673, allocations: 0.5248 MB / 0.5466 GB, free: 0.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.673, allocations: 12.03 kB / 0.5466 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.6732, allocations: 23.91 kB / 0.5466 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.6738, allocations: 262.7 kB / 0.5469 GB, free: 384 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.6738, allocations: 12 kB / 0.5469 GB, free: 372 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.6739, allocations: 31.95 kB / 0.5469 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.6742, allocations: 188.9 kB / 0.5471 GB, free: 132 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6743, allocations: 0 / 0.5471 GB, free: 132 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.6743, allocations: 4 kB / 0.5471 GB, free: 128 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6743, allocations: 0 / 0.5471 GB, free: 128 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.6745, allocations: 91.92 kB / 0.5472 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.6749, allocations: 335.9 kB / 0.5475 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.6752, allocations: 234.6 kB / 0.5478 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.6754, allocations: 183.5 kB / 0.5479 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.6754, allocations: 8.031 kB / 0.5479 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.6758, allocations: 329.3 kB / 0.5483 GB, free: 14.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.6759, allocations: 0 / 0.5483 GB, free: 14.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006772/0.6765, allocations: 368.6 kB / 0.5486 GB, free: 14.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001957/0.6767, allocations: 318.8 kB / 0.5489 GB, free: 14.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.6769, allocations: 133 kB / 0.549 GB, free: 13.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.677, allocations: 41.7 kB / 0.5491 GB, free: 13.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.6771, allocations: 112.5 kB / 0.5492 GB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.6772, allocations: 59.25 kB / 0.5492 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.6772, allocations: 16 kB / 0.5493 GB, free: 13.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6774, allocations: 330.8 kB / 0.5496 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.6778, allocations: 187.9 kB / 0.5497 GB, free: 13.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.6781, allocations: 223.3 kB / 0.55 GB, free: 12.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.6785, allocations: 291.6 kB / 0.5502 GB, free: 12.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6785, allocations: 0 / 0.5502 GB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001208/0.6798, allocations: 0.8012 MB / 0.551 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.6799, allocations: 142.7 kB / 0.5512 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6799, allocations: 4 kB / 0.5512 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.6799, allocations: 0 / 0.5512 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.6801, allocations: 8 kB / 0.5512 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6801, allocations: 3.984 kB / 0.5512 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.6806, allocations: 111.7 kB / 0.5513 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.6807, allocations: 23.98 kB / 0.5513 GB, free: 11.49 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.0002379/0.681, allocations: 216.9 kB / 0.5515 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.681, allocations: 31.81 kB / 0.5515 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.6811, allocations: 8.625 kB / 0.5515 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.652e-05/0.6811, allocations: 7.984 kB / 0.5516 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6811, allocations: 0 / 0.5516 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6811, allocations: 0 / 0.5516 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.6814, allocations: 261.4 kB / 0.5518 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6814, allocations: 0 / 0.5518 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.6815, allocations: 7.984 kB / 0.5518 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.6815, allocations: 4 kB / 0.5518 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.6815, allocations: 12 kB / 0.5518 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.6815, allocations: 4.781 kB / 0.5518 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6815, allocations: 7.984 kB / 0.5518 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.6822, allocations: 491.9 kB / 0.5523 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.6823, allocations: 92.86 kB / 0.5524 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.6824, allocations: 16 kB / 0.5524 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.6826, allocations: 39.95 kB / 0.5525 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.6827, allocations: 15.94 kB / 0.5525 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.6828, allocations: 16 kB / 0.5525 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.6829, allocations: 115.2 kB / 0.5526 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6829, allocations: 0 / 0.5526 GB, free: 10.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.6832, allocations: 99.92 kB / 0.5527 GB, free: 9.926 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.0002371/0.6835, allocations: 147 kB / 0.5528 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.6845, allocations: 0.8569 MB / 0.5537 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6845, allocations: 0 / 0.5537 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.685, allocations: 0.5575 MB / 0.5542 GB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.6852, allocations: 12 kB / 0.5542 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000666/0.6859, allocations: 321.6 kB / 0.5545 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.6863, allocations: 0.7204 MB / 0.5552 GB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.805e-05/0.6863, allocations: 12.66 kB / 0.5552 GB, free: 7.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.6863, allocations: 7.438 kB / 0.5552 GB, free: 7.156 MB / 394.7 MB Notification: Performance of SimCode: time 2.494e-06/0.6863, allocations: 4 kB / 0.5553 GB, free: 7.152 MB / 394.7 MB Notification: Performance of Templates: time 0.007494/0.6938, allocations: 3.662 MB / 0.5588 GB, free: 3.52 MB / 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)