Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 250.1 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.595/2.595, allocations: 496.2 MB / 0.7826 GB, free: 12.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/1.911e-05, allocations: 2.281 kB / 1.136 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002365/0.002384, allocations: 1.431 MB / 1.138 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.003273, allocations: 498.3 kB / 1.138 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.00331, allocations: 0 / 1.138 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 6.988e-05/0.00338, allocations: 11.92 kB / 1.138 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.003438, allocations: 11.92 kB / 1.138 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.004177, allocations: 243.2 kB / 1.139 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.004343, allocations: 111.7 kB / 1.139 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.004385, allocations: 4 kB / 1.139 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.004477, allocations: 51.89 kB / 1.139 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.004562, allocations: 35.84 kB / 1.139 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.004587, allocations: 8 kB / 1.139 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.004843, allocations: 171.8 kB / 1.139 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.0001271/0.00497, allocations: 122.9 kB / 1.139 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 3.734e-05/0.005007, allocations: 63.06 kB / 1.139 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.00504, allocations: 8 kB / 1.139 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.536e-05/0.005055, allocations: 3.938 kB / 1.139 GB, free: 7.723 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (6) * Number of variables: 12 (12) Notification: Performance of Bindings: time 0.0005963/0.005651, allocations: 444.3 kB / 1.14 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0001/0.005752, allocations: 48.02 kB / 1.14 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.000244/0.005995, allocations: 208.4 kB / 1.14 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of Simplify 1: time 0.0001021/0.006098, allocations: 72.38 kB / 1.14 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of Alias: time 0.0005784/0.006676, allocations: 325.6 kB / 1.14 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of Simplify 2: time 9.549e-05/0.006772, allocations: 84.48 kB / 1.14 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of Remove Stream: time 7.549e-05/0.006847, allocations: 64.39 kB / 1.14 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of Detect States: time 0.0002543/0.007101, allocations: 168.1 kB / 1.141 GB, free: 6 MB / 0.8731 GB Notification: Performance of Events: time 5.033e-05/0.007152, allocations: 19.98 kB / 1.141 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of Partitioning: time 8.755e-05/0.007239, allocations: 56.22 kB / 1.141 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of Causalize: time 0.0002199/0.007459, allocations: 156.4 kB / 1.141 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.0001525/0.007612, allocations: 139.8 kB / 1.141 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of Simplify: time 0.0001656/0.007777, allocations: 120.7 kB / 1.141 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of Inline: time 0.000114/0.007891, allocations: 107.9 kB / 1.141 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of Partitioning: time 1.568e-05/0.007907, allocations: 12.12 kB / 1.141 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of Cleanup: time 2.898e-05/0.007936, allocations: 27.97 kB / 1.141 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of Causalize: time 0.0005872/0.008523, allocations: 437.6 kB / 1.142 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of Tearing: time 8.126e-06/0.008531, allocations: 4 kB / 1.142 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of Initialization: time 5.51e-07/0.008532, allocations: 0 / 1.142 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of Remove Dummies: time 5.621e-06/0.008537, allocations: 4 kB / 1.142 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of Tearing: time 8.62e-07/0.008538, allocations: 0 / 1.142 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of Categorize: time 6.783e-06/0.008545, allocations: 0 / 1.142 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of Solve: time 7.725e-05/0.008622, allocations: 43.94 kB / 1.142 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of Jacobian: time 3.677e-06/0.008626, allocations: 0 / 1.142 GB, free: 4.797 MB / 0.8731 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {occSchDay.occupied, occSchDay.tNext, occSchWee.occupied, occSchWee.tNext, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.307e-05/0.008669, allocations: 35.84 kB / 1.142 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001087/0.009755, allocations: 1.155 MB / 1.143 GB, free: 3.582 MB / 0.8731 GB [CodegenCFunctions.tpl:3323:11-3323:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchWee.tNexNonOcc + time)). [CodegenCFunctions.tpl:3130:11-3130:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchWee.tNexOcc + time)). [CodegenCFunctions.tpl:3323:11-3323:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchDay.tNexNonOcc + time)). [CodegenCFunctions.tpl:3130:11-3130:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchDay.tNexOcc + time)). " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.351686374284327]