Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00109/0.00109, allocations: 107.5 kB / 16.42 MB, free: 6.469 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.001033/0.001033, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.25 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.223/1.223, allocations: 251.7 MB / 0.51 GB, free: 400 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.545e-05, allocations: 6.219 kB / 0.7264 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002354/0.002377, allocations: 1.778 MB / 0.7281 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003741, allocations: 1.027 MB / 0.7291 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.003816, allocations: 0 / 0.7291 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.004074, allocations: 63.67 kB / 0.7292 GB, free: 1.859 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.0001868/0.004271, allocations: 75.67 kB / 0.7292 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.004734, allocations: 198.8 kB / 0.7294 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.004921, allocations: 159.6 kB / 0.7296 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005029, allocations: 29.09 kB / 0.7296 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.005121, allocations: 63.7 kB / 0.7297 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.005213, allocations: 59.7 kB / 0.7297 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.005238, allocations: 8 kB / 0.7297 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.005361, allocations: 75.94 kB / 0.7298 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001186/0.005486, allocations: 166 kB / 0.73 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 5.843e-05/0.005551, allocations: 110.4 kB / 0.7301 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.005583, allocations: 19.94 kB / 0.7301 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.241e-05/0.0056, allocations: 0 / 0.7301 GB, free: 0.9102 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: 10 (9) * Number of variables: 10 (9) Notification: Performance of Bindings: time 0.0005239/0.006128, allocations: 0.5466 MB / 0.7306 GB, free: 268 kB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.895e-05/0.006192, allocations: 27.81 kB / 0.7307 GB, free: 240 kB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001764/0.006375, allocations: 208.2 kB / 0.7309 GB, free: 4 kB / 0.5606 GB Notification: Performance of simplify1: time 3.026e-05/0.006413, allocations: 11.92 kB / 0.7309 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of Alias: time 0.0002913/0.00671, allocations: 242.2 kB / 0.7311 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simplify2: time 1.366e-05/0.006733, allocations: 8 kB / 0.7311 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of Events: time 7.846e-05/0.006817, allocations: 55.83 kB / 0.7312 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001316/0.006955, allocations: 93 kB / 0.7312 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Partitioning: time 9.394e-05/0.007057, allocations: 92.34 kB / 0.7313 GB, free: 15.42 MB / 0.5762 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency intRep.u could not be divided 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)