Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 102.9 kB / 16.37 MB, free: 6.359 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.001379/0.001379, allocations: 188.1 kB / 17.3 MB, free: 5.914 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/2.986e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001804/0.001849, allocations: 0.6738 MB / 0.6735 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.002797, allocations: 0.8282 MB / 0.6743 GB, free: 4.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002857, allocations: 4 kB / 0.6743 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.818e-05/0.002951, allocations: 7.938 kB / 0.6743 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.003038, allocations: 3.938 kB / 0.6743 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.003158, allocations: 23.95 kB / 0.6744 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.003368, allocations: 107.8 kB / 0.6745 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003481, allocations: 15.98 kB / 0.6745 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.003536, allocations: 19.97 kB / 0.6745 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.003617, allocations: 27.92 kB / 0.6745 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.003642, allocations: 7.938 kB / 0.6745 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.003659, allocations: 8 kB / 0.6745 GB, free: 4.207 MB / 0.545 GB Notification: Performance of combineBinaries: time 6.985e-05/0.003733, allocations: 59.41 kB / 0.6746 GB, free: 4.148 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 5.607e-05/0.003794, allocations: 39.45 kB / 0.6746 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.003814, allocations: 7.938 kB / 0.6746 GB, free: 4.102 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-05/0.003835, allocations: 7.984 kB / 0.6747 GB, free: 4.094 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (5) * Number of variables: 14 (5) Notification: Performance of Bindings: time 0.0003984/0.004238, allocations: 320.5 kB / 0.675 GB, free: 3.68 MB / 0.545 GB Notification: Performance of FunctionAlias: time 9.327e-05/0.004337, allocations: 39.94 kB / 0.675 GB, free: 3.641 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001465/0.004491, allocations: 164.2 kB / 0.6752 GB, free: 3.453 MB / 0.545 GB Notification: Performance of simplify1: time 7.284e-06/0.004504, allocations: 3.984 kB / 0.6752 GB, free: 3.449 MB / 0.545 GB Notification: Performance of Alias: time 6.77e-05/0.00458, allocations: 80.61 kB / 0.6752 GB, free: 3.332 MB / 0.545 GB Notification: Performance of simplify2: time 3.587e-06/0.004589, allocations: 3.984 kB / 0.6752 GB, free: 3.328 MB / 0.545 GB Notification: Performance of Events: time 8.582e-05/0.004679, allocations: 51.84 kB / 0.6753 GB, free: 3.277 MB / 0.545 GB Notification: Performance of Detect States: time 9.389e-05/0.00478, allocations: 87.88 kB / 0.6754 GB, free: 3.18 MB / 0.545 GB Notification: Performance of Partitioning: time 8.252e-05/0.004869, allocations: 63.98 kB / 0.6754 GB, free: 3.109 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 2 for dependency intRep.u could not be devided by the body size 6 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (6) intRep.y = {intRep.u for $i1 in 1:3} ($RES_SIM_4) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (10/24) ************************** (1) [DISC] (2) Integer[2] reaToInt.y (2) [DISC] (2) Boolean[2] $SEV_1[$i1] (3) [DISC] (6) Integer[3, 2] intRep.y (4) [DISC] (2) Boolean[2] $SEV_0[$i1] (5) [ALGB] (2) Real[2] $FUN_2 (6) [ALGB] (2) Real[2] reaToInt.u (7) [ALGB] (2) Real[2] $FUN_1 (8) [DISC] (2) Integer[2] intRep.u (9) [ALGB] (2) Real[2] ram.y (10) [DISC] (2) Boolean[2] $SEV_2[$i1] System Equations (10/24) ************************** (1) [ARRY] (6) intRep.y = {intRep.u for $i1 in 1:3} ($RES_SIM_4) (2) [FOR-] (2) ($RES_EVT_13) (2) [----] for $i1 in 1:2 loop (2) [----] [SCAL] (1) $SEV_1[$i1] = time < ram[$i1].startTime ($RES_EVT_14) (2) [----] end for; (3) [FOR-] (2) ($RES_SIM_2) (3) [----] for $i1 in 1:2 loop (3) [----] [SCAL] (1) ram[$i1].y = ram[$i1].offset + (if $SEV_1[$i1] then 0.0 else if $SEV_2[$i1] then (ram[$i1].height * (time - ram[$i1].startTime)) / ram[$i1].duration else ram[$i1].height) ($RES_SIM_3) (3) [----] end for; (4) [FOR-] (2) ($RES_EVT_15) (4) [----] for $i1 in 1:2 loop (4) [----] [SCAL] (1) $SEV_2[$i1] = time < (ram[$i1].startTime + ram[$i1].duration) ($RES_EVT_16) (4) [----] end for; (5) [FOR-] (2) ($RES_SIM_0) (5) [----] for $i1 in 1:2 loop (5) [----] [SCAL] (1) reaToInt[$i1].y = if $SEV_0[$i1] then integer($FUN_1[$i1]) else integer($FUN_2[$i1]) ($RES_SIM_1) (5) [----] end for; (6) [FOR-] (2) ($RES_$AUX_7) (6) [----] for $i1 in 1:2 loop (6) [----] [SCAL] (1) $FUN_2[$i1] = ceil(reaToInt[$i1].u - 0.5) ($RES_$AUX_8) (6) [----] end for; (7) [FOR-] (2) ($RES_$AUX_9) (7) [----] for $i1 in 1:2 loop (7) [----] [SCAL] (1) $FUN_1[$i1] = floor(reaToInt[$i1].u + 0.5) ($RES_$AUX_10) (7) [----] end for; (8) [ARRY] (2) ram.y = reaToInt.u ($RES_SIM_6) (9) [FOR-] (2) ($RES_EVT_11) (9) [----] for $i1 in 1:2 loop (9) [----] [SCAL] (1) $SEV_0[$i1] = reaToInt[$i1].u > 0.0 ($RES_EVT_12) (9) [----] end for; (10) [ARRY] (2) reaToInt.y = intRep.u ($RES_SIM_5)