Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108.4 kB / 16.38 MB, free: 6.387 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.001065/0.001064, allocations: 195.6 kB / 17.32 MB, free: 5.766 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.136/1.136, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.529/1.529, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.79e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002509/0.00254, allocations: 1.777 MB / 0.6746 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003881, allocations: 1.034 MB / 0.6756 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.003952, allocations: 3.938 kB / 0.6756 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.004188, allocations: 59.73 kB / 0.6757 GB, free: 3.039 MB / 0.545 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.0001866/0.004389, allocations: 71.67 kB / 0.6757 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.004836, allocations: 203 kB / 0.6759 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.005019, allocations: 155.6 kB / 0.6761 GB, free: 2.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.005118, allocations: 29.11 kB / 0.6761 GB, free: 2.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.005209, allocations: 67.69 kB / 0.6762 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.005291, allocations: 55.77 kB / 0.6762 GB, free: 2.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.005315, allocations: 8 kB / 0.6762 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.005439, allocations: 79.88 kB / 0.6763 GB, free: 2.383 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001111/0.005558, allocations: 162.1 kB / 0.6764 GB, free: 2.223 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 6.191e-05/0.005625, allocations: 106.3 kB / 0.6765 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.005661, allocations: 15.94 kB / 0.6766 GB, free: 2.102 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.277e-05/0.005679, allocations: 3.938 kB / 0.6766 GB, free: 2.098 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 (9) * Number of variables: 10 (9) Notification: Performance of Bindings: time 0.0005137/0.006198, allocations: 0.5467 MB / 0.6771 GB, free: 1.449 MB / 0.545 GB Notification: Performance of FunctionAlias: time 5.563e-05/0.006259, allocations: 31.86 kB / 0.6771 GB, free: 1.418 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001751/0.00644, allocations: 196.2 kB / 0.6773 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simplify1: time 2.251e-05/0.006469, allocations: 15.95 kB / 0.6773 GB, free: 1.184 MB / 0.545 GB Notification: Performance of Alias: time 0.0002849/0.006759, allocations: 246.2 kB / 0.6776 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of simplify2: time 1.405e-05/0.006781, allocations: 11.98 kB / 0.6776 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of Events: time 7.485e-05/0.006861, allocations: 43.91 kB / 0.6776 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001361/0.007005, allocations: 114.3 kB / 0.6777 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of Partitioning: time 9.202e-05/0.007104, allocations: 92.23 kB / 0.6778 GB, free: 0.6016 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency intRep.u could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (11/12) ************************** (1) [ALGB] (1) Real[1] intTab.combiTimeTable.y (2) [DISC] (2) Integer[2] intRep.y (3) [DISC] (1) Boolean $SEV_3 (4) [ALGB] (1) Real $FUN_2 (5) [DISC] (1) Boolean $SEV_2 (6) [ALGB] (1) Real $FUN_1 (7) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (8) [DISC] (1) Integer intRep.u (9) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (10) [ALGB] (1) Real intTab.realToInteger.u (11) [DISC] (1) Boolean $TEV_0 System Equations (11/12) ************************** (1) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.realToInteger.u ($RES_SIM_11) (2) [SCAL] (1) intRep.u = if $SEV_2 then integer($FUN_1) else integer($FUN_2) ($RES_SIM_4) (3) [SCAL] (1) $TEV_0 = $PRE.intTab.combiTimeTable.nextTimeEventScaled ($RES_EVT_14) (4) [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) (5) [SCAL] (1) $SEV_2 = intTab.realToInteger.u > 0.0 ($RES_EVT_17) (6) [SCAL] (1) $SEV_3 = time >= $PRE.intTab.combiTimeTable.nextTimeEvent ($RES_EVT_18) (7) [SCAL] (1) $FUN_2 = ceil((-0.5) + intTab.realToInteger.u) ($RES_$AUX_12) (8) [SCAL] (1) $FUN_1 = floor(0.5 + intTab.realToInteger.u) ($RES_$AUX_13) (9) [WHEN] (1)when {$SEV_3, initial()} then (9) [----] intTab.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(intTab.combiTimeTable.tableID, time) (9) [----] end when; (10) [WHEN] (1)when {$SEV_3, initial()} then (10) [----] intTab.combiTimeTable.nextTimeEvent := if intTab.combiTimeTable.nextTimeEventScaled < 1e60 then intTab.combiTimeTable.nextTimeEventScaled else 1e60 (10) [----] end when; (11) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(intTab.combiTimeTable.tableID, 1, time, intTab.combiTimeTable.nextTimeEventScaled, $TEV_0) ($RES_SIM_5)