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.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 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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001358/0.001358, allocations: 108.8 kB / 16.42 MB, free: 6.512 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.001277/0.001277, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.409/1.409, allocations: 251.7 MB / 0.51 GB, free: 428 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/2.866e-05, allocations: 6.219 kB / 0.7264 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002213/0.002252, allocations: 1.334 MB / 0.7277 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000306/0.002569, allocations: 100.6 kB / 0.7278 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.002627, allocations: 4 kB / 0.7278 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.002749, allocations: 7.922 kB / 0.7278 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.926e-05/0.002773, allocations: 7.922 kB / 0.7278 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.002891, allocations: 4 kB / 0.7278 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.002992, allocations: 27.97 kB / 0.7278 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.00311, allocations: 12 kB / 0.7278 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.003161, allocations: 15.88 kB / 0.7278 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.003208, allocations: 7.922 kB / 0.7278 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.003228, allocations: 4 kB / 0.7278 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.003243, allocations: 0 / 0.7278 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of combineBinaries: time 6.295e-05/0.00331, allocations: 43.56 kB / 0.7279 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.799e-05/0.003343, allocations: 19.66 kB / 0.7279 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.003364, allocations: 8 kB / 0.7279 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.39e-05/0.003383, allocations: 3.938 kB / 0.7279 GB, free: 3.168 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: 5 (3) * Number of variables: 5 (3) Notification: Performance of Bindings: time 0.0003518/0.003739, allocations: 232.7 kB / 0.7281 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 1.984e-05/0.003764, allocations: 7.953 kB / 0.7281 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001014/0.00387, allocations: 88.34 kB / 0.7282 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simplify1: time 2.27e-05/0.0039, allocations: 7.984 kB / 0.7282 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of Alias: time 0.0002361/0.00414, allocations: 100.9 kB / 0.7283 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of simplify2: time 7.634e-06/0.004158, allocations: 8 kB / 0.7283 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of Events: time 7.131e-05/0.004234, allocations: 31.86 kB / 0.7284 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001318/0.004371, allocations: 48.02 kB / 0.7284 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.949e-05/0.004426, allocations: 28.11 kB / 0.7284 GB, free: 2.434 MB / 0.5606 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency ram.y could not be divided 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)