Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 105.2 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.001228/0.001228, allocations: 190.1 kB / 17.3 MB, free: 5.906 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.005e-05, allocations: 5.797 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001815/0.001862, allocations: 0.6193 MB / 0.6735 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.003358, allocations: 1.117 MB / 0.6746 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.003436, allocations: 3.938 kB / 0.6746 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.003553, allocations: 3.938 kB / 0.6746 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.529e-05/0.003584, allocations: 7.922 kB / 0.6746 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.004092, allocations: 123.1 kB / 0.6747 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004254, allocations: 95.89 kB / 0.6748 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.004355, allocations: 11.97 kB / 0.6748 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.004413, allocations: 35.92 kB / 0.6748 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.00451, allocations: 35.89 kB / 0.6749 GB, free: 3.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.004545, allocations: 8 kB / 0.6749 GB, free: 3.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.004616, allocations: 23.97 kB / 0.6749 GB, free: 3.77 MB / 0.545 GB Notification: Performance of combineBinaries: time 7.608e-05/0.004699, allocations: 63.55 kB / 0.6749 GB, free: 3.707 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.114e-05/0.004726, allocations: 31.5 kB / 0.675 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.004756, allocations: 8 kB / 0.675 GB, free: 3.668 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.018e-05/0.004771, allocations: 3.938 kB / 0.675 GB, free: 3.664 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.0004222/0.005197, allocations: 328.8 kB / 0.6753 GB, free: 3.242 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.23e-05/0.005285, allocations: 51.89 kB / 0.6754 GB, free: 3.191 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0003008/0.005593, allocations: 260.1 kB / 0.6756 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simplify1: time 1.297e-05/0.005618, allocations: 4 kB / 0.6756 GB, free: 2.906 MB / 0.545 GB Notification: Performance of Alias: time 0.0002406/0.005864, allocations: 156.8 kB / 0.6758 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simplify2: time 5.841e-06/0.005878, allocations: 3.984 kB / 0.6758 GB, free: 2.703 MB / 0.545 GB Notification: Performance of Events: time 0.0002273/0.00611, allocations: 155.7 kB / 0.6759 GB, free: 2.551 MB / 0.545 GB Notification: Performance of Detect States: time 0.0002133/0.006333, allocations: 151.1 kB / 0.676 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Partitioning: time 4.015e-05/0.006385, allocations: 24.12 kB / 0.6761 GB, free: 2.359 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency booPul.y could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) booRep.y = {booPul.y for $i1 in 1:3} ($RES_SIM_2) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (4/6) ************************ (1) [DISS] (1) Boolean booPul.y (2) [DISC] (3) Boolean[3] booRep.y (3) [DISC] (1) Boolean $TEV_13 (4) [DISC] (1) Boolean $TEV_12 System Equations (4/6) ************************ (1) [ARRY] (3) booRep.y = {booPul.y for $i1 in 1:3} ($RES_SIM_2) (2) [SCAL] (1) $TEV_13 = sample(4, booPul.t0, booPul.period) ($RES_EVT_6) (3) [WHEN] (1)when $TEV_12 then (3) [----] booPul.y := false (3) [----] else when $TEV_13 then (3) [----] booPul.y := true (3) [----] end when; (4) [SCAL] (1) $TEV_12 = sample(3, booPul.t1, booPul.period) ($RES_EVT_5)