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.3096/0.3096, allocations: 55.01 MB / 69.96 MB, free: 8.66 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.001273/0.001273, allocations: 183.8 kB / 83.98 MB, free: 10.85 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.828/1.828, allocations: 194.4 MB / 292.3 MB, free: 3.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 119.8 kB / 350.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004061, allocations: 8 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4229/0.5607, allocations: 85.82 MB / 0.5491 GB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.561, allocations: 70.28 kB / 0.5492 GB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009169/0.5702, allocations: 3.398 MB / 0.5525 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5702, allocations: 0 / 0.5525 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.5702, allocations: 4 kB / 0.5525 GB, free: 500 kB / 362.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.0003933/0.5706, allocations: 0.5375 MB / 0.5531 GB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5706, allocations: 16.03 kB / 0.5531 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.5707, allocations: 27.81 kB / 0.5531 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.5712, allocations: 263.9 kB / 0.5534 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.5713, allocations: 12 kB / 0.5534 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.5713, allocations: 31.77 kB / 0.5534 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.5716, allocations: 178 kB / 0.5536 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5716, allocations: 4 kB / 0.5536 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.5717, allocations: 8 kB / 0.5536 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5717, allocations: 0 / 0.5536 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.5718, allocations: 88.95 kB / 0.5537 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.5722, allocations: 338.3 kB / 0.554 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.5724, allocations: 245.4 kB / 0.5542 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.5724, allocations: 4.094 kB / 0.5542 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.5728, allocations: 337.3 kB / 0.5545 GB, free: 14.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.5728, allocations: 0 / 0.5545 GB, free: 14.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008092/0.5736, allocations: 0.6254 MB / 0.5552 GB, free: 13.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.5738, allocations: 311.6 kB / 0.5555 GB, free: 13.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.5739, allocations: 136.8 kB / 0.5556 GB, free: 13.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.574, allocations: 44.83 kB / 0.5556 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.5741, allocations: 110.3 kB / 0.5557 GB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.5742, allocations: 60.19 kB / 0.5558 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.5742, allocations: 15 kB / 0.5558 GB, free: 13.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5743, allocations: 330 kB / 0.5561 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.5746, allocations: 184.1 kB / 0.5563 GB, free: 12.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.5749, allocations: 234.5 kB / 0.5565 GB, free: 12.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.5752, allocations: 296 kB / 0.5568 GB, free: 12.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5753, allocations: 0 / 0.5568 GB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001069/0.5763, allocations: 0.8191 MB / 0.5576 GB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5764, allocations: 139 kB / 0.5577 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5765, allocations: 8 kB / 0.5577 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5765, allocations: 0 / 0.5577 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5766, allocations: 11.98 kB / 0.5578 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5766, allocations: 4.062 kB / 0.5578 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.5771, allocations: 107.2 kB / 0.5579 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.5772, allocations: 23.67 kB / 0.5579 GB, free: 11.31 MB / 378.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.0002299/0.5774, allocations: 235.5 kB / 0.5581 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.5775, allocations: 26.06 kB / 0.5581 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.5775, allocations: 12.16 kB / 0.5581 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5775, allocations: 0 / 0.5581 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5776, allocations: 4 kB / 0.5581 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5776, allocations: 0 / 0.5581 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.5778, allocations: 258.8 kB / 0.5584 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5778, allocations: 8 kB / 0.5584 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.5778, allocations: 4 kB / 0.5584 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5778, allocations: 0 / 0.5584 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.5779, allocations: 19.23 kB / 0.5584 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.5779, allocations: 0 / 0.5584 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5779, allocations: 3.938 kB / 0.5584 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.5785, allocations: 0.4968 MB / 0.5589 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.5786, allocations: 96.84 kB / 0.559 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.5786, allocations: 12 kB / 0.559 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.5789, allocations: 43.66 kB / 0.5591 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.579, allocations: 15.62 kB / 0.5591 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.579, allocations: 15.98 kB / 0.5591 GB, free: 10.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.94e-05/0.5791, allocations: 114.9 kB / 0.5592 GB, free: 9.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5791, allocations: 0 / 0.5592 GB, free: 9.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.5794, allocations: 91.69 kB / 0.5593 GB, free: 9.902 MB / 378.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.0001905/0.5796, allocations: 158.1 kB / 0.5594 GB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009133/0.5806, allocations: 0.8548 MB / 0.5603 GB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5806, allocations: 0 / 0.5603 GB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.581, allocations: 0.5574 MB / 0.5608 GB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.5812, allocations: 18.47 kB / 0.5608 GB, free: 8.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.5819, allocations: 420.6 kB / 0.5612 GB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.5822, allocations: 0.7202 MB / 0.5619 GB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.827e-05/0.5822, allocations: 8.656 kB / 0.5619 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.5822, allocations: 11.44 kB / 0.562 GB, free: 7.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.074e-06/0.5822, allocations: 0 / 0.562 GB, free: 7.66 MB / 378.7 MB Notification: Performance of Templates: time 0.007387/0.5896, allocations: 3.653 MB / 0.5655 GB, free: 4.051 MB / 378.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)