Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 103.7 kB / 16.38 MB, free: 6.484 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.0009805/0.0009805, allocations: 190.5 kB / 17.31 MB, free: 5.797 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.437/1.437, 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.699/1.699, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.353e-05, allocations: 9.875 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002169/0.002222, allocations: 0.6622 MB / 0.6735 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003308, allocations: 0.8321 MB / 0.6743 GB, free: 4.375 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.003363, allocations: 0 / 0.6743 GB, free: 4.375 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.003472, allocations: 3.938 kB / 0.6743 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.484e-05/0.003505, allocations: 11.94 kB / 0.6743 GB, free: 4.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.003682, allocations: 15.98 kB / 0.6744 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003805, allocations: 39.89 kB / 0.6744 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.003924, allocations: 8 kB / 0.6744 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.003983, allocations: 19.92 kB / 0.6744 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.004051, allocations: 15.92 kB / 0.6744 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.00408, allocations: 4 kB / 0.6744 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.0041, allocations: 4 kB / 0.6744 GB, free: 4.254 MB / 0.545 GB Notification: Performance of combineBinaries: time 6.493e-05/0.004169, allocations: 47.47 kB / 0.6745 GB, free: 4.207 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.254e-05/0.004206, allocations: 35.5 kB / 0.6745 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.004236, allocations: 4 kB / 0.6745 GB, free: 4.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.591e-05/0.004256, allocations: 3.938 kB / 0.6745 GB, free: 4.164 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: 7 (5) * Number of variables: 7 (5) Notification: Performance of Bindings: time 0.0004866/0.004747, allocations: 256.7 kB / 0.6748 GB, free: 3.812 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.683e-05/0.00484, allocations: 23.92 kB / 0.6748 GB, free: 3.789 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001296/0.004978, allocations: 120.2 kB / 0.6749 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simplify1: time 3.157e-05/0.005016, allocations: 8 kB / 0.6749 GB, free: 3.637 MB / 0.545 GB Notification: Performance of Alias: time 0.0003928/0.005414, allocations: 153.2 kB / 0.6751 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simplify2: time 1.407e-05/0.005438, allocations: 11.98 kB / 0.6751 GB, free: 3.422 MB / 0.545 GB Notification: Performance of Events: time 9.157e-05/0.005535, allocations: 43.8 kB / 0.6751 GB, free: 3.379 MB / 0.545 GB Notification: Performance of Detect States: time 7.802e-05/0.005621, allocations: 51.5 kB / 0.6752 GB, free: 3.316 MB / 0.545 GB Notification: Performance of Partitioning: time 7.7e-05/0.005704, allocations: 48.12 kB / 0.6752 GB, free: 3.262 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency reaToInt.y could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) intRep.y = {reaToInt.y for $i1 in 1:3} ($RES_SIM_2) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (8/10) ************************* (1) [DISC] (1) Integer reaToInt.y (2) [DISC] (3) Integer[3] intRep.y (3) [ALGB] (1) Real $FUN_2 (4) [ALGB] (1) Real $FUN_1 (5) [DISC] (1) Boolean $SEV_0 (6) [ALGB] (1) Real ram.y (7) [DISC] (1) Boolean $TEV_1 (8) [DISC] (1) Boolean $TEV_0 System Equations (8/10) ************************* (1) [SCAL] (1) $TEV_1 = time < (ram.startTime + ram.duration) ($RES_EVT_8) (2) [SCAL] (1) $TEV_0 = time < ram.startTime ($RES_EVT_7) (3) [ARRY] (3) intRep.y = {reaToInt.y for $i1 in 1:3} ($RES_SIM_2) (4) [SCAL] (1) ram.y = ram.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (ram.height * (time - ram.startTime)) / ram.duration else ram.height) ($RES_SIM_1) (5) [SCAL] (1) reaToInt.y = if $SEV_0 then integer($FUN_1) else integer($FUN_2) ($RES_SIM_0) (6) [SCAL] (1) $FUN_2 = ceil((-0.5) + ram.y) ($RES_$AUX_5) (7) [SCAL] (1) $FUN_1 = floor(0.5 + ram.y) ($RES_$AUX_6) (8) [SCAL] (1) $SEV_0 = ram.y > 0.0 ($RES_EVT_9)