Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 106.5 kB / 16.37 MB, free: 6.355 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.001197/0.001197, allocations: 190.8 kB / 17.3 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.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.32 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.658/1.658, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.506e-05/3.507e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002166/0.002222, allocations: 0.6425 MB / 0.6735 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003341, allocations: 0.801 MB / 0.6743 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.003407, allocations: 0 / 0.6743 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.003527, allocations: 0 / 0.6743 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.266e-05/0.003555, allocations: 3.938 kB / 0.6743 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.003693, allocations: 11.98 kB / 0.6743 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.003796, allocations: 27.92 kB / 0.6743 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.00392, allocations: 11.98 kB / 0.6743 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.003978, allocations: 7.938 kB / 0.6743 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.004033, allocations: 11.98 kB / 0.6743 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.004059, allocations: 3.938 kB / 0.6743 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.004077, allocations: 4 kB / 0.6743 GB, free: 4.387 MB / 0.545 GB Notification: Performance of combineBinaries: time 6.668e-05/0.004148, allocations: 35.58 kB / 0.6744 GB, free: 4.352 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.596e-05/0.004178, allocations: 23.66 kB / 0.6744 GB, free: 4.328 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.004203, allocations: 7.938 kB / 0.6744 GB, free: 4.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.491e-05/0.004221, allocations: 3.984 kB / 0.6744 GB, free: 4.316 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: 5 (3) * Number of variables: 5 (3) Notification: Performance of Bindings: time 0.0003697/0.004595, allocations: 228.7 kB / 0.6746 GB, free: 3.992 MB / 0.545 GB Notification: Performance of FunctionAlias: time 2.883e-05/0.004633, allocations: 23.86 kB / 0.6747 GB, free: 3.969 MB / 0.545 GB Notification: Performance of Early Inline: time 9.823e-05/0.004736, allocations: 80.41 kB / 0.6747 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simplify1: time 3.162e-05/0.004774, allocations: 7.984 kB / 0.6747 GB, free: 3.855 MB / 0.545 GB Notification: Performance of Alias: time 0.0002638/0.005042, allocations: 104.9 kB / 0.6748 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simplify2: time 7.133e-06/0.005057, allocations: 3.984 kB / 0.6748 GB, free: 3.703 MB / 0.545 GB Notification: Performance of Events: time 8.292e-05/0.005145, allocations: 35.86 kB / 0.6749 GB, free: 3.668 MB / 0.545 GB Notification: Performance of Detect States: time 7.195e-05/0.005223, allocations: 36.23 kB / 0.6749 GB, free: 3.617 MB / 0.545 GB Notification: Performance of Partitioning: time 5.862e-05/0.005287, allocations: 28.12 kB / 0.6749 GB, free: 3.582 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency ram.y could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) reaRep.y = {ram.y for $i1 in 1:3} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (4/6) ************************ (1) [ALGB] (3) Real[3] reaRep.y (2) [ALGB] (1) Real ram.y (3) [DISC] (1) Boolean $TEV_1 (4) [DISC] (1) Boolean $TEV_0 System Equations (4/6) ************************ (1) [ARRY] (3) reaRep.y = {ram.y for $i1 in 1:3} ($RES_SIM_1) (2) [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_0) (3) [SCAL] (1) $TEV_1 = time < (ram.startTime + ram.duration) ($RES_EVT_4) (4) [SCAL] (1) $TEV_0 = time < ram.startTime ($RES_EVT_3)