Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 107.5 kB / 16.42 MB, free: 6.516 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.001331/0.001331, allocations: 188.3 kB / 17.35 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.548/1.548, 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.587e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002315/0.002355, allocations: 1.349 MB / 0.7277 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000381/0.002749, allocations: 156.3 kB / 0.7278 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.00281, allocations: 0 / 0.7278 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.457e-05/0.002912, allocations: 0 / 0.7278 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.605e-05/0.002943, allocations: 11.92 kB / 0.7278 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.00312, allocations: 15.92 kB / 0.7279 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.003225, allocations: 35.97 kB / 0.7279 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.003342, allocations: 8 kB / 0.7279 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.00341, allocations: 23.86 kB / 0.7279 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.003468, allocations: 19.91 kB / 0.7279 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.003494, allocations: 4 kB / 0.7279 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.00351, allocations: 4 kB / 0.7279 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of combineBinaries: time 8.199e-05/0.003596, allocations: 47.42 kB / 0.728 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.457e-05/0.003626, allocations: 27.56 kB / 0.728 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.00365, allocations: 4 kB / 0.728 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.345e-05/0.003667, allocations: 0 / 0.728 GB, free: 3.035 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (5) * Number of variables: 7 (5) Notification: Performance of Bindings: time 0.0003932/0.004064, allocations: 260.7 kB / 0.7283 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 7.336e-05/0.004144, allocations: 19.94 kB / 0.7283 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001177/0.004267, allocations: 120.3 kB / 0.7284 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simplify1: time 3.555e-05/0.00431, allocations: 19.97 kB / 0.7284 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of Alias: time 0.0003017/0.004617, allocations: 154.4 kB / 0.7286 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simplify2: time 1.341e-05/0.00464, allocations: 12 kB / 0.7286 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of Events: time 7.232e-05/0.004717, allocations: 27.88 kB / 0.7286 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of Detect States: time 9.523e-05/0.004821, allocations: 60.19 kB / 0.7287 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of Partitioning: time 7.091e-05/0.004898, allocations: 44.11 kB / 0.7287 GB, free: 2.129 MB / 0.5606 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency reaToInt.y could not be divided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) intRep.y = {reaToInt.y for $i1 in 1:3} ($RES_SIM_2) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (8/10) ************************* (1) [DISC] (1) Integer reaToInt.y (2) [DISC] (3) Integer[3] intRep.y (3) [ALGB] (1) Real $FUN_2 (4) [ALGB] (1) Real $FUN_1 (5) [DISC] (1) Boolean $SEV_0 (6) [ALGB] (1) Real ram.y (7) [DISC] (1) Boolean $TEV_1 (8) [DISC] (1) Boolean $TEV_0 System Equations (8/10) ************************* (1) [SCAL] (1) $TEV_1 = time < (ram.startTime + ram.duration) ($RES_EVT_8) (2) [SCAL] (1) $TEV_0 = time < ram.startTime ($RES_EVT_7) (3) [ARRY] (3) intRep.y = {reaToInt.y for $i1 in 1:3} ($RES_SIM_2) (4) [SCAL] (1) ram.y = ram.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (ram.height * (time - ram.startTime)) / ram.duration else ram.height) ($RES_SIM_1) (5) [SCAL] (1) reaToInt.y = if $SEV_0 then integer($FUN_1) else integer($FUN_2) ($RES_SIM_0) (6) [SCAL] (1) $FUN_2 = ceil((-0.5) + ram.y) ($RES_$AUX_5) (7) [SCAL] (1) $FUN_1 = floor(0.5 + ram.y) ($RES_$AUX_6) (8) [SCAL] (1) $SEV_0 = ram.y > 0.0 ($RES_EVT_9)