Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001214/0.001214, allocations: 108 kB / 16.42 MB, free: 6.527 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.001266/0.001266, allocations: 189.5 kB / 17.36 MB, free: 5.723 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.764e-05/3.788e-05, allocations: 4.672 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001971/0.002024, allocations: 0.7292 MB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.003866, allocations: 1.196 MB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.003949, allocations: 0 / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.003993, allocations: 3.938 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.656e-05/0.004085, allocations: 7.875 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.004765, allocations: 140.8 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.005009, allocations: 127.8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.005135, allocations: 19.98 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.005275, allocations: 55.77 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.005394, allocations: 43.83 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.005434, allocations: 12 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.005522, allocations: 23.98 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001101/0.005638, allocations: 103.1 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.528e-05/0.005671, allocations: 47.31 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.005718, allocations: 8 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.947e-05/0.005743, allocations: 0 / 1.022 GB, free: 6.965 MB / 0.795 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.000595/0.006342, allocations: 443.8 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of FunctionAlias: time 5.918e-05/0.006409, allocations: 15.88 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0004618/0.006881, allocations: 356.1 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of simplify1: time 1.58e-05/0.006906, allocations: 8 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of Alias: time 0.0004911/0.007405, allocations: 265.4 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of simplify2: time 1.297e-05/0.007428, allocations: 11.98 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of Detect States: time 0.0002624/0.007696, allocations: 156.1 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of Events: time 0.0003407/0.00805, allocations: 211.5 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of Partitioning: time 7.544e-05/0.008137, allocations: 56.09 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002331/0.008379, allocations: 148 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0002663/0.008655, allocations: 292.2 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of Inline: time 0.0004549/0.009117, allocations: 420.8 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of Partitioning: time 3.461e-05/0.009161, allocations: 16.12 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of Cleanup: time 2.318e-05/0.00919, allocations: 11.98 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003389/0.009534, allocations: 236.9 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of Tearing: time 1.358e-05/0.009557, allocations: 3.984 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of Initialization: time 8.92e-07/0.009563, allocations: 0 / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of Tearing: time 2.575e-06/0.009572, allocations: 4 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of Categorize: time 8.957e-06/0.009587, allocations: 4 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of Solve: time 6.36e-05/0.009655, allocations: 23.92 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of Jacobian: time 3.567e-06/0.009666, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 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 4.429e-05/0.009715, allocations: 14.67 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of SimCode: time 0.0008986/0.01062, allocations: 0.9257 MB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of Templates: time 0.004654/0.01528, allocations: 1.371 MB / 1.026 GB, free: 1.723 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)