Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.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 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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009516, allocations: 107.4 kB / 16.42 MB, free: 6.5 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.000902/0.000902, allocations: 189.6 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.126/1.126, 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.204/1.204, allocations: 251.7 MB / 0.51 GB, free: 440 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.053e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002319/0.002337, allocations: 1.785 MB / 0.7281 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003641, allocations: 0.945 MB / 0.729 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.00372, allocations: 0 / 0.729 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.004214, allocations: 163.5 kB / 0.7292 GB, free: 1.824 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.00447, allocations: 111.6 kB / 0.7293 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.004818, allocations: 142.6 kB / 0.7294 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.00502, allocations: 179.5 kB / 0.7296 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.005127, allocations: 25.11 kB / 0.7296 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005238, allocations: 79.69 kB / 0.7297 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.157e-05/0.005336, allocations: 67.75 kB / 0.7298 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.005362, allocations: 8 kB / 0.7298 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.005477, allocations: 63.89 kB / 0.7298 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001538/0.005638, allocations: 186 kB / 0.73 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 7.177e-05/0.005716, allocations: 126.2 kB / 0.7301 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.005752, allocations: 15.94 kB / 0.7302 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.056e-05/0.005779, allocations: 7.938 kB / 0.7302 GB, free: 0.8281 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: 12 (9) * Number of variables: 12 (9) Notification: Performance of Bindings: time 0.0005696/0.006354, allocations: 0.5622 MB / 0.7307 GB, free: 168 kB / 0.5606 GB Notification: Performance of FunctionAlias: time 2.167e-05/0.006382, allocations: 15.94 kB / 0.7307 GB, free: 152 kB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001786/0.006566, allocations: 184.2 kB / 0.7309 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simplify1: time 1.843e-05/0.006592, allocations: 7.984 kB / 0.7309 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of Alias: time 0.0003033/0.0069, allocations: 230.2 kB / 0.7311 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simplify2: time 1.155e-05/0.006921, allocations: 19.92 kB / 0.7312 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of Events: time 7.336e-05/0.006999, allocations: 35.91 kB / 0.7312 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001317/0.007137, allocations: 98.11 kB / 0.7313 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of Partitioning: time 7.688e-05/0.007222, allocations: 68.17 kB / 0.7313 GB, free: 15.41 MB / 0.5762 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency booRep.u could not be divided by the body size 4 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) booRep.y = fill(booRep.u, 4) ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (9/12) ************************* (1) [DISC] (1) Boolean booRep.u (2) [DISS] (1) protected discrete Real booTab.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (3) [ALGB] (1) Real[1] booTab.combiTimeTable.y (4) [ALGB] (1) Real booTab.realToBoolean.u (5) [DISC] (1) Boolean $SEV_2 (6) [DISC] (1) Boolean $SEV_1 (7) [DISS] (1) protected discrete Real booTab.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (8) [DISC] (4) Boolean[4] booRep.y (9) [DISC] (1) Boolean $TEV_0 System Equations (9/12) ************************* (1) [SCAL] (1) booTab.combiTimeTable.y[1] = booTab.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(booTab.combiTimeTable.tableID, 1, time, booTab.combiTimeTable.nextTimeEventScaled, $TEV_0) ($RES_SIM_4) (2) [SCAL] (1) $SEV_1 = booTab.realToBoolean.u >= booTab.realToBoolean.threshold ($RES_EVT_13) (3) [SCAL] (1) booRep.u = $SEV_1 ($RES_SIM_3) (4) [SCAL] (1) $SEV_2 = time >= $PRE.booTab.combiTimeTable.nextTimeEvent ($RES_EVT_14) (5) [ARRY] (4) booRep.y = fill(booRep.u, 4) ($RES_SIM_1) (6) [WHEN] (1)when {$SEV_2, initial()} then (6) [----] booTab.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(booTab.combiTimeTable.tableID, time) (6) [----] end when; (7) [SCAL] (1) $TEV_0 = $PRE.booTab.combiTimeTable.nextTimeEventScaled ($RES_EVT_11) (8) [SCAL] (1) booTab.combiTimeTable.y[1] = booTab.realToBoolean.u ($RES_SIM_10) (9) [WHEN] (1)when {$SEV_2, initial()} then (9) [----] booTab.combiTimeTable.nextTimeEvent := if booTab.combiTimeTable.nextTimeEventScaled < 1e60 then booTab.combiTimeTable.nextTimeEventScaled else 1e60 (9) [----] end when;