Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001192/0.001192, allocations: 106.5 kB / 16.37 MB, free: 5.891 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.001257/0.001257, allocations: 186.2 kB / 17.3 MB, free: 5.535 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.511/1.511, 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.914/1.914, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.165e-05, allocations: 5.938 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001986/0.002037, allocations: 0.6738 MB / 0.6735 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003323, allocations: 1.047 MB / 0.6745 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.00338, allocations: 0 / 0.6745 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.003418, allocations: 3.938 kB / 0.6745 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.003484, allocations: 7.922 kB / 0.6745 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.003761, allocations: 39.91 kB / 0.6746 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.003865, allocations: 51.77 kB / 0.6746 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.003962, allocations: 16 kB / 0.6747 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.004024, allocations: 15.98 kB / 0.6747 GB, free: 4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.004075, allocations: 23.86 kB / 0.6747 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.004093, allocations: 4 kB / 0.6747 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.004159, allocations: 19.98 kB / 0.6747 GB, free: 3.953 MB / 0.545 GB Notification: Performance of combineBinaries: time 6.508e-05/0.00423, allocations: 59.31 kB / 0.6748 GB, free: 3.895 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.958e-05/0.004255, allocations: 39.47 kB / 0.6748 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.004278, allocations: 3.938 kB / 0.6748 GB, free: 3.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.385e-05/0.004296, allocations: 4 kB / 0.6748 GB, free: 3.848 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.00035/0.004651, allocations: 304.1 kB / 0.6751 GB, free: 3.449 MB / 0.545 GB Notification: Performance of FunctionAlias: time 5.004e-05/0.004708, allocations: 23.92 kB / 0.6751 GB, free: 3.426 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0002048/0.00492, allocations: 168.2 kB / 0.6753 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simplify1: time 1.929e-05/0.004949, allocations: 19.98 kB / 0.6753 GB, free: 3.215 MB / 0.545 GB Notification: Performance of Alias: time 0.000284/0.005238, allocations: 165.2 kB / 0.6755 GB, free: 3 MB / 0.545 GB Notification: Performance of simplify2: time 1.842e-05/0.005265, allocations: 15.97 kB / 0.6755 GB, free: 2.984 MB / 0.545 GB Notification: Performance of Events: time 0.000136/0.005406, allocations: 79.67 kB / 0.6756 GB, free: 2.906 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001395/0.005553, allocations: 72.14 kB / 0.6756 GB, free: 2.82 MB / 0.545 GB Notification: Performance of Partitioning: time 7.751e-05/0.005638, allocations: 56.23 kB / 0.6757 GB, free: 2.75 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002597/0.005904, allocations: 232.2 kB / 0.6759 GB, free: 2.508 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001343/0.006047, allocations: 156.6 kB / 0.676 GB, free: 2.328 MB / 0.545 GB Notification: Performance of Inline: time 0.0002253/0.006279, allocations: 236.4 kB / 0.6763 GB, free: 2.062 MB / 0.545 GB Notification: Performance of Partitioning: time 1.901e-05/0.006306, allocations: 20.09 kB / 0.6763 GB, free: 2.035 MB / 0.545 GB Notification: Performance of Cleanup: time 1.547e-05/0.006326, allocations: 11.94 kB / 0.6763 GB, free: 2.023 MB / 0.545 GB Notification: Performance of Causalize: time 0.000446/0.00678, allocations: 465.1 kB / 0.6767 GB, free: 1.562 MB / 0.545 GB Notification: Performance of Tearing: time 6.832e-06/0.006796, allocations: 0 / 0.6767 GB, free: 1.562 MB / 0.545 GB Notification: Performance of Initialization: time 3.1e-07/0.006803, allocations: 4.031 kB / 0.6768 GB, free: 1.559 MB / 0.545 GB Notification: Performance of Tearing: time 8.51e-07/0.006808, allocations: 0 / 0.6768 GB, free: 1.559 MB / 0.545 GB Notification: Performance of Categorize: time 1.074e-05/0.006822, allocations: 7.938 kB / 0.6768 GB, free: 1.551 MB / 0.545 GB Notification: Performance of Solve: time 6.061e-05/0.006887, allocations: 31.97 kB / 0.6768 GB, free: 1.52 MB / 0.545 GB Notification: Performance of Jacobian: time 2.384e-06/0.006895, allocations: 0 / 0.6768 GB, free: 1.52 MB / 0.545 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: ......... 2 * 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: .................... 1 (1) {unitDelay1.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {unitDelay1.sampleTrigger, $SEV_0, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 11 (scalar:11, 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 4.206e-05/0.006941, allocations: 37.94 kB / 0.6768 GB, free: 1.492 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006072/0.007553, allocations: 0.8446 MB / 0.6777 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of Templates: time 0.003029/0.01059, allocations: 0.7104 MB / 0.6783 GB, free: 15.92 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe 2>&1)