Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 103.4 kB / 16.37 MB, free: 6.352 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.001185/0.001185, allocations: 196.2 kB / 17.31 MB, free: 5.898 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.404/1.404, 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.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.429e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001701/0.001743, allocations: 0.6383 MB / 0.6735 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003122, allocations: 1.117 MB / 0.6746 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.003178, allocations: 0 / 0.6746 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.003291, allocations: 7.938 kB / 0.6746 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.003382, allocations: 11.92 kB / 0.6746 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.003782, allocations: 118.6 kB / 0.6747 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.004094, allocations: 227.6 kB / 0.6749 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.004197, allocations: 19.98 kB / 0.6749 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.004271, allocations: 51.95 kB / 0.675 GB, free: 3.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.004398, allocations: 51.86 kB / 0.675 GB, free: 3.664 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.004431, allocations: 12 kB / 0.675 GB, free: 3.652 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.004496, allocations: 16 kB / 0.6751 GB, free: 3.637 MB / 0.545 GB Notification: Performance of combineBinaries: time 9.713e-05/0.004599, allocations: 103.3 kB / 0.6752 GB, free: 3.535 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.614e-05/0.004631, allocations: 39.55 kB / 0.6752 GB, free: 3.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.004665, allocations: 12 kB / 0.6752 GB, free: 3.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.638e-06/0.00468, allocations: 0 / 0.6752 GB, free: 3.484 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.0005182/0.005202, allocations: 436.4 kB / 0.6756 GB, free: 2.957 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.264e-05/0.00529, allocations: 51.91 kB / 0.6757 GB, free: 2.906 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0003284/0.005625, allocations: 328.1 kB / 0.676 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simplify1: time 7.214e-06/0.005641, allocations: 3.984 kB / 0.676 GB, free: 2.555 MB / 0.545 GB Notification: Performance of Alias: time 6.147e-05/0.005707, allocations: 64.62 kB / 0.6761 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simplify2: time 4.328e-06/0.005717, allocations: 3.984 kB / 0.6761 GB, free: 2.449 MB / 0.545 GB Notification: Performance of Events: time 0.000203/0.005924, allocations: 143.8 kB / 0.6762 GB, free: 2.309 MB / 0.545 GB Notification: Performance of Detect States: time 0.0002286/0.00616, allocations: 195 kB / 0.6764 GB, free: 2.105 MB / 0.545 GB Notification: Performance of Partitioning: time 6.478e-05/0.006233, allocations: 40.09 kB / 0.6764 GB, free: 2.059 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 2 for dependency booRep.u could not be devided by the body size 6 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (6) booRep.y = {booRep.u for $i1 in 1:3} ($RES_SIM_3) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (5/14) ************************* (1) [DISC] (2) Boolean[2] booRep.u (2) [DISS] (2) Boolean[2] booPul.y (3) [DISC] (6) Boolean[3, 2] booRep.y (4) [DISC] (2) Boolean[2] $SEV_14[$i1] (5) [DISC] (2) Boolean[2] $SEV_13[$i1] System Equations (5/14) ************************* (1) [ARRY] (2) booPul.y = booRep.u ($RES_SIM_4) (2) [FOR-] (2) ($RES_EVT_8) (2) [----] for $i1 in 1:2 loop (2) [----] [SCAL] (1) $SEV_14[$i1] = sample(2, booPul[$i1].t0, booPul[$i1].period) ($RES_EVT_9) (2) [----] end for; (3) [ARRY] (6) booRep.y = {booRep.u for $i1 in 1:3} ($RES_SIM_3) (4) [FOR-] (2) ($RES_EVT_6) (4) [----] for $i1 in 1:2 loop (4) [----] [SCAL] (1) $SEV_13[$i1] = sample(1, booPul[$i1].t1, booPul[$i1].period) ($RES_EVT_7) (4) [----] end for; (5) [FOR-] (2) ($RES_SIM_1) (5) [----] for $i1 in 1:2 loop (5) [----] [WHEN] (1)when $SEV_13[$i1] then (5) [----] [----] booPul[$i1].y := false (5) [----] [----] else when $SEV_14[$i1] then (5) [----] [----] booPul[$i1].y := true (5) [----] [----] end when; (5) [----] end for;