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.FirstOrderHold.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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 103.6 kB / 16.42 MB, free: 6.516 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.002022/0.002022, allocations: 187.2 kB / 17.35 MB, free: 5.758 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.573/1.573, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.343/1.343, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.094e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.002496/0.002539, allocations: 1.396 MB / 0.7277 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005757/0.003126, allocations: 241.4 kB / 0.728 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.003193, allocations: 3.938 kB / 0.728 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.003236, allocations: 7.922 kB / 0.728 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.003311, allocations: 7.875 kB / 0.728 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.003549, allocations: 31.89 kB / 0.728 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.003706, allocations: 71.89 kB / 0.7281 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.003848, allocations: 15.98 kB / 0.7281 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.003934, allocations: 27.91 kB / 0.7281 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.004, allocations: 27.91 kB / 0.7281 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.004028, allocations: 11.94 kB / 0.7282 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.004046, allocations: 4 kB / 0.7282 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of combineBinaries: time 9.692e-05/0.004148, allocations: 87.14 kB / 0.7282 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 4.04e-05/0.004194, allocations: 51.22 kB / 0.7283 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.004226, allocations: 4 kB / 0.7283 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.988e-05/0.004252, allocations: 11.94 kB / 0.7283 GB, free: 2.746 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of Bindings: time 0.0005324/0.004791, allocations: 399.7 kB / 0.7287 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.979e-05/0.004856, allocations: 19.94 kB / 0.7287 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0002069/0.00507, allocations: 208.2 kB / 0.7289 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of simplify1: time 2.647e-05/0.005102, allocations: 11.98 kB / 0.7289 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of Alias: time 0.0003588/0.005466, allocations: 205.2 kB / 0.7291 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simplify2: time 1.446e-05/0.005489, allocations: 15.92 kB / 0.7291 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of Events: time 0.0001132/0.005609, allocations: 67.83 kB / 0.7292 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001892/0.005805, allocations: 124.6 kB / 0.7293 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.000121/0.005933, allocations: 92.03 kB / 0.7294 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0004884/0.006429, allocations: 442.5 kB / 0.7298 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0002217/0.00666, allocations: 252.2 kB / 0.7301 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of Inline: time 0.0003565/0.007023, allocations: 356.6 kB / 0.7304 GB, free: 344 kB / 0.5606 GB Notification: Performance of Partitioning: time 3.091e-05/0.007062, allocations: 28.11 kB / 0.7304 GB, free: 308 kB / 0.5606 GB Notification: Performance of Cleanup: time 2.932e-05/0.007096, allocations: 19.97 kB / 0.7305 GB, free: 288 kB / 0.5606 GB Notification: Performance of Causalize: time 0.0005448/0.007646, allocations: 0.532 MB / 0.731 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of Tearing: time 6.642e-06/0.007661, allocations: 0 / 0.731 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of Initialization: time 3.01e-07/0.007668, allocations: 0 / 0.731 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of Tearing: time 4.338e-06/0.007676, allocations: 7.984 kB / 0.731 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of Categorize: time 7.444e-06/0.007689, allocations: 0 / 0.731 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of Solve: time 0.0001074/0.0078, allocations: 64.48 kB / 0.731 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.756e-06/0.00781, allocations: 0 / 0.731 GB, free: 15.67 MB / 0.5762 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: .................... 5 (5) {firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.c, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {firOrdHol.sampleTrigger, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 22 (scalar:22, 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 8.095e-05/0.007895, allocations: 32.05 kB / 0.7311 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0006699/0.008572, allocations: 0.9113 MB / 0.732 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.003152/0.01173, allocations: 0.7889 MB / 0.7327 GB, free: 13.93 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe 2>&1)