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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 105.1 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 192.2 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.246/0.246, allocations: 54.96 MB / 325.5 MB, free: 4.859 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.444e-05, allocations: 6.219 kB / 456.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.001857/0.001879, allocations: 1.439 MB / 458.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.002475, allocations: 390.8 kB / 458.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.002522, allocations: 4 kB / 458.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.002583, allocations: 7.938 kB / 458.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.002725, allocations: 23.84 kB / 458.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.00322, allocations: 235 kB / 458.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.003547, allocations: 367.5 kB / 459.2 MB, free: 288 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.003591, allocations: 8.234 kB / 459.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.003749, allocations: 139.8 kB / 459.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.003894, allocations: 115.7 kB / 459.5 MB, free: 20 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.003953, allocations: 28.05 kB / 459.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.004045, allocations: 51.94 kB / 459.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001832/0.004234, allocations: 234.3 kB / 459.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.518e-05/0.004276, allocations: 82.77 kB / 459.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.004329, allocations: 39.94 kB / 459.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.209e-05/0.004346, allocations: 3.938 kB / 459.9 MB, free: 15.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 (4) * Number of variables: 20 (20) Notification: Performance of Bindings: time 0.0008268/0.005177, allocations: 0.8712 MB / 460.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.000197/0.005381, allocations: 190.1 kB / 461 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007012/0.00609, allocations: 0.7975 MB / 461.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simplify1: time 1.189e-05/0.006109, allocations: 11.98 kB / 461.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Alias: time 0.0001019/0.006215, allocations: 117.6 kB / 461.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplify2: time 8.727e-06/0.006229, allocations: 7.984 kB / 461.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Events: time 0.0003191/0.006552, allocations: 248 kB / 462.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Detect States: time 0.0005359/0.007096, allocations: 498 kB / 462.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001767/0.007281, allocations: 168.4 kB / 462.8 MB, free: 12.5 MB / 350.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [DISC] (1) protected Integer occSchDay.nexStoInd slice: {} [ALGB] (1) Real occSchDay.tNexNonOcc slice: {} [DISC] (1) protected Integer occSchDay.nexStaInd slice: {} [ALGB] (1) Real occSchDay.tNexOcc slice: {} (1|4) Unmatched Equations *************************** [ALGO] (9) ($RES_SIM_3) [----] when time >= $PRE.occSchDay.tOcc then [----] occSchDay.nexStaInd := occSchDay.nexStaInd + 2; [----] occSchDay.occupied := not occSchDay.occupied; [----] if occSchDay.nexStaInd > 2 then [----] occSchDay.nexStaInd := if occSchDay.firstEntryOccupied then 1 else 2; [----] occSchDay.iPerSta := occSchDay.iPerSta + 1; [----] end if; [----] occSchDay.tOcc := occSchDay.occupancy[occSchDay.nexStaInd] + occSchDay.iPerSta * occSchDay.period; [----] end when; [----] when time >= $PRE.occSchDay.tNonOcc then [----] occSchDay.nexStoInd := occSchDay.nexStoInd + 2; [----] occSchDay.occupied := not occSchDay.occupied; [----] if occSchDay.nexStoInd > 2 then [----] occSchDay.nexStoInd := if occSchDay.firstEntryOccupied then 2 else 1; [----] occSchDay.iPerSto := occSchDay.iPerSto + 1; [----] end if; [----] occSchDay.tNonOcc := occSchDay.occupancy[occSchDay.nexStoInd] + occSchDay.iPerSto * occSchDay.period; [----] end when; [----] occSchDay.tNexOcc := occSchDay.tOcc - time; [----] occSchDay.tNexNonOcc := occSchDay.tNonOcc - time; [----] assert(occSchDay.tNexOcc > (-0.001) and occSchDay.tNexOcc < (occSchDay.period + 0.001), "tNexOcc must be non-zero and smaller than period. Received tNexOcc = " + String(occSchDay.tNexOcc, 6, 0, true), AssertionLevel.error); [----] assert(occSchDay.tNexNonOcc > (-0.001) and occSchDay.tNexOcc < (occSchDay.period + 0.001), "tNexNonOcc must be non-zero and smaller than period. Received tNexNonOcc = " + String(occSchDay.tNexNonOcc, 6, 0, true), AssertionLevel.error); slice: {5, 6, 7, 8}