Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 104.4 kB / 16.37 MB, free: 6.371 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.001225/0.001225, allocations: 191.4 kB / 17.31 MB, free: 5.91 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.455/1.455, 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 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.763e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.00181/0.001853, allocations: 0.6504 MB / 0.6735 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.002801, allocations: 0.7971 MB / 0.6743 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.002853, allocations: 3.938 kB / 0.6743 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.997e-05/0.002961, allocations: 7.984 kB / 0.6743 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.003057, allocations: 11.92 kB / 0.6743 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.535e-05/0.003125, allocations: 4 kB / 0.6743 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.003317, allocations: 75.86 kB / 0.6744 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003432, allocations: 11.98 kB / 0.6744 GB, free: 4.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.003489, allocations: 19.92 kB / 0.6744 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.003561, allocations: 27.91 kB / 0.6744 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.003586, allocations: 4 kB / 0.6744 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.003604, allocations: 4 kB / 0.6744 GB, free: 4.254 MB / 0.545 GB Notification: Performance of combineBinaries: time 6.455e-05/0.003672, allocations: 39.58 kB / 0.6745 GB, free: 4.215 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.199e-05/0.003699, allocations: 35.55 kB / 0.6745 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.00372, allocations: 4 kB / 0.6745 GB, free: 4.176 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.626e-05/0.00374, allocations: 3.938 kB / 0.6745 GB, free: 4.172 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: 10 (3) * Number of variables: 10 (3) Notification: Performance of Bindings: time 0.0004023/0.004146, allocations: 284.5 kB / 0.6748 GB, free: 3.793 MB / 0.545 GB Notification: Performance of FunctionAlias: time 2.639e-05/0.004179, allocations: 15.94 kB / 0.6748 GB, free: 3.777 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001039/0.004288, allocations: 112.2 kB / 0.6749 GB, free: 3.641 MB / 0.545 GB Notification: Performance of simplify1: time 5.43e-06/0.0043, allocations: 0 / 0.6749 GB, free: 3.641 MB / 0.545 GB Notification: Performance of Alias: time 7.088e-05/0.004375, allocations: 64.61 kB / 0.675 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simplify2: time 1.833e-06/0.004382, allocations: 0 / 0.675 GB, free: 3.539 MB / 0.545 GB Notification: Performance of Events: time 7.217e-05/0.004459, allocations: 23.98 kB / 0.675 GB, free: 3.516 MB / 0.545 GB Notification: Performance of Detect States: time 7.418e-05/0.00454, allocations: 63.22 kB / 0.675 GB, free: 3.441 MB / 0.545 GB Notification: Performance of Partitioning: time 7.424e-05/0.00462, allocations: 44.11 kB / 0.6751 GB, free: 3.391 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 2 for dependency reaRep.u could not be devided by the body size 6 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (6) reaRep.y = {reaRep.u for $i1 in 1:3} ($RES_SIM_2) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (5/14) ************************* (1) [DISC] (2) Boolean[2] $SEV_1[$i1] (2) [DISC] (2) Boolean[2] $SEV_0[$i1] (3) [ALGB] (6) Real[3, 2] reaRep.y (4) [ALGB] (2) Real[2] ram.y (5) [ALGB] (2) Real[2] reaRep.u System Equations (5/14) ************************* (1) [ARRY] (2) ram.y = reaRep.u ($RES_SIM_3) (2) [ARRY] (6) reaRep.y = {reaRep.u for $i1 in 1:3} ($RES_SIM_2) (3) [FOR-] (2) ($RES_EVT_6) (3) [----] for $i1 in 1:2 loop (3) [----] [SCAL] (1) $SEV_1[$i1] = time < (ram[$i1].startTime + ram[$i1].duration) ($RES_EVT_7) (3) [----] end for; (4) [FOR-] (2) ($RES_SIM_0) (4) [----] for $i1 in 1:2 loop (4) [----] [SCAL] (1) ram[$i1].y = ram[$i1].offset + (if $SEV_0[$i1] then 0.0 else if $SEV_1[$i1] then (ram[$i1].height * (time - ram[$i1].startTime)) / ram[$i1].duration else ram[$i1].height) ($RES_SIM_1) (4) [----] end for; (5) [FOR-] (2) ($RES_EVT_4) (5) [----] for $i1 in 1:2 loop (5) [----] [SCAL] (1) $SEV_0[$i1] = time < ram[$i1].startTime ($RES_EVT_5) (5) [----] end for;