Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 109.3 kB / 16.42 MB, free: 6.523 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.001372/0.001372, allocations: 187.2 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.966/1.966, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.69e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001402/0.00143, allocations: 0.7307 MB / 0.9522 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.002925, allocations: 1.187 MB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.00298, allocations: 0 / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.003022, allocations: 11.94 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.003095, allocations: 7.938 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.003608, allocations: 147.4 kB / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.003791, allocations: 127.8 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003908, allocations: 15.98 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.003996, allocations: 43.91 kB / 0.9537 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.004087, allocations: 47.86 kB / 0.9537 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.004116, allocations: 12 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.557e-05/0.004186, allocations: 23.98 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.556e-05/0.004289, allocations: 107.1 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.969e-05/0.004324, allocations: 47.31 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.004359, allocations: 11.94 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.13e-05/0.004375, allocations: 0 / 0.9539 GB, free: 5.219 MB / 0.7325 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.0004746/0.004854, allocations: 443.8 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 4.199e-05/0.004902, allocations: 15.94 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003576/0.005265, allocations: 344.1 kB / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simplify1: time 1.195e-05/0.005285, allocations: 7.984 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003671/0.005656, allocations: 277.3 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of simplify2: time 9.087e-06/0.005674, allocations: 3.984 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0002099/0.00589, allocations: 178.3 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of Events: time 0.0002713/0.006169, allocations: 203.6 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.132e-05/0.006239, allocations: 40.12 kB / 0.9553 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001866/0.006432, allocations: 156 kB / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002384/0.006678, allocations: 288.2 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of Inline: time 0.0003836/0.007067, allocations: 426.1 kB / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.831e-05/0.007093, allocations: 16.12 kB / 0.9562 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.441e-05/0.007112, allocations: 11.98 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002728/0.00739, allocations: 240.3 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of Tearing: time 8.125e-06/0.007408, allocations: 4 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of Initialization: time 3.51e-07/0.007413, allocations: 0 / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of Tearing: time 2.374e-06/0.007419, allocations: 0 / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of Categorize: time 5.45e-06/0.007428, allocations: 3.938 kB / 0.9564 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of Solve: time 5.768e-05/0.00749, allocations: 23.97 kB / 0.9565 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.414e-06/0.007498, allocations: 0 / 0.9565 GB, free: 2.301 MB / 0.7325 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) {booPul.y, triggeredMax.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$TEV_15, $TEV_14, $TEV_13, $TEV_12} * 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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 2.869e-05/0.00753, allocations: 22.7 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006266/0.008162, allocations: 0.9154 MB / 0.9574 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of Templates: time 0.003263/0.01144, allocations: 1.364 MB / 0.9587 GB, free: 15.98 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)