Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.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.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 108.6 kB / 16.42 MB, free: 6.512 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.001152/0.001152, allocations: 187.2 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.535/1.535, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.371/1.371, allocations: 251.7 MB / 0.51 GB, free: 428 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.234e-05, allocations: 5.656 kB / 0.7264 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.002643/0.002689, allocations: 1.384 MB / 0.7277 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005548/0.003257, allocations: 229.4 kB / 0.7279 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.003323, allocations: 0 / 0.7279 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.003382, allocations: 7.938 kB / 0.7279 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.464e-05/0.003471, allocations: 3.938 kB / 0.7279 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.003682, allocations: 27.91 kB / 0.728 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.003834, allocations: 59.72 kB / 0.728 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.00398, allocations: 11.98 kB / 0.728 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.004061, allocations: 19.92 kB / 0.7281 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.004122, allocations: 19.92 kB / 0.7281 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.004145, allocations: 4 kB / 0.7281 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.004164, allocations: 4 kB / 0.7281 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001018/0.004272, allocations: 67.31 kB / 0.7282 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.88e-05/0.004306, allocations: 43.31 kB / 0.7282 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.004343, allocations: 8 kB / 0.7282 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.665e-05/0.004365, allocations: 3.938 kB / 0.7282 GB, free: 2.848 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0004446/0.004813, allocations: 316.3 kB / 0.7285 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.972e-05/0.004879, allocations: 15.88 kB / 0.7285 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001484/0.005033, allocations: 140.3 kB / 0.7287 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simplify1: time 2.104e-05/0.005061, allocations: 11.98 kB / 0.7287 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of Alias: time 0.0003455/0.005411, allocations: 173.1 kB / 0.7288 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simplify2: time 2.947e-05/0.005449, allocations: 8 kB / 0.7288 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of Events: time 9.002e-05/0.005544, allocations: 43.84 kB / 0.7289 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001504/0.005701, allocations: 72.19 kB / 0.729 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of Partitioning: time 7.371e-05/0.005781, allocations: 52.11 kB / 0.729 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0003111/0.006098, allocations: 220.1 kB / 0.7292 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001583/0.006265, allocations: 152.2 kB / 0.7294 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of Inline: time 0.0002988/0.00657, allocations: 223.2 kB / 0.7296 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of Partitioning: time 2.772e-05/0.006606, allocations: 20.12 kB / 0.7296 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of Cleanup: time 2.267e-05/0.006633, allocations: 11.92 kB / 0.7296 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of Causalize: time 0.000543/0.007182, allocations: 442.2 kB / 0.73 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of Tearing: time 9.067e-06/0.007203, allocations: 4.031 kB / 0.73 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of Initialization: time 9.42e-07/0.007208, allocations: 480 / 0.73 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of Tearing: time 1.804e-06/0.007217, allocations: 4 kB / 0.73 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of Categorize: time 1.251e-05/0.007233, allocations: 4.406 kB / 0.73 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of Solve: time 7.357e-05/0.007312, allocations: 27.97 kB / 0.7301 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.998e-06/0.007324, allocations: 4 kB / 0.7301 GB, free: 0.6641 MB / 0.5606 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {unitDelay1.y, unitDelay1.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {unitDelay1.sampleTrigger, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.637e-05/0.007396, allocations: 29.81 kB / 0.7301 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0007277/0.008129, allocations: 0.8447 MB / 0.7309 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.003151/0.01129, allocations: 0.5016 MB / 0.7314 GB, free: 15.28 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe 2>&1)