Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 96.42 kB / 19.71 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 210.7 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.248/1.248, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.703/2.703, allocations: 0.49 GB / 0.7958 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.187e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001655/0.001667, allocations: 1.428 MB / 1.156 GB, free: 24.26 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.002277, allocations: 453.8 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.002303, allocations: 0.625 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.002357, allocations: 9.562 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.002401, allocations: 8.859 kB / 1.157 GB, free: 23.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.002948, allocations: 239.5 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.003066, allocations: 116.7 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.003114, allocations: 7.625 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.003185, allocations: 45.77 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.003249, allocations: 36.81 kB / 1.157 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.003277, allocations: 11.73 kB / 1.157 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.0035, allocations: 194.2 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of combineBinaries: time 9.042e-05/0.003591, allocations: 140.1 kB / 1.158 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.407e-05/0.003615, allocations: 74.11 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.00364, allocations: 4.625 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.044e-05/0.00365, allocations: 5.031 kB / 1.158 GB, free: 23.57 MB / 0.9044 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 [SIM] Bindings: time 0.0004872/0.004137, allocations: 0.5258 MB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.979e-05/0.004217, allocations: 67.22 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000218/0.004435, allocations: 299.2 kB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.568e-05/0.004531, allocations: 117.9 kB / 1.159 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005093/0.00504, allocations: 411.8 kB / 1.159 GB, free: 22.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.66e-05/0.005107, allocations: 94.94 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.221e-05/0.005149, allocations: 66.47 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001394/0.005288, allocations: 169.7 kB / 1.159 GB, free: 22.16 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 3.676e-05/0.005325, allocations: 27.62 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.42e-05/0.005409, allocations: 71.69 kB / 1.159 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001488/0.005558, allocations: 110.1 kB / 1.16 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001741/0.005732, allocations: 238.7 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001367/0.005869, allocations: 164.6 kB / 1.16 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001091/0.005978, allocations: 177.7 kB / 1.16 GB, free: 21.68 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.252e-05/0.005991, allocations: 15.39 kB / 1.16 GB, free: 21.66 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.005e-05/0.006011, allocations: 28.41 kB / 1.16 GB, free: 21.65 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000435/0.006446, allocations: 366.8 kB / 1.16 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.808e-06/0.006455, allocations: 11.22 kB / 1.161 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.21e-07/0.006456, allocations: 3.938 kB / 1.161 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.146e-06/0.006459, allocations: 5.25 kB / 1.161 GB, free: 21.53 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.924e-06/0.006461, allocations: 1.156 kB / 1.161 GB, free: 21.53 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.572e-06/0.006467, allocations: 5.734 kB / 1.161 GB, free: 21.53 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001012/0.006569, allocations: 65.73 kB / 1.161 GB, free: 21.51 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 4.98e-06/0.006574, allocations: 1.125 kB / 1.161 GB, free: 21.51 MB / 0.9044 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 2.57e-05/0.006599, allocations: 29.08 kB / 1.161 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006718/0.007271, allocations: 0.5884 MB / 1.161 GB, free: 21.18 MB / 0.9044 GB [CodegenCFunctions.tpl:3323:11-3323:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -((-occSchWee.tNexNonOcc) - time). [CodegenCFunctions.tpl:3130:11-3130:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -((-occSchWee.tNexOcc) - time). [CodegenCFunctions.tpl:3323:11-3323:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -((-occSchDay.tNexNonOcc) - time). [CodegenCFunctions.tpl:3130:11-3130:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -((-occSchDay.tNexOcc) - time). " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.357192857656628] Failed to read output from testmodel.py, exit status != 0: 0.016924270894378424 0.026843479 0.021043390000000002 Calling exit ...