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.TriggeredSampler.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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 105.6 kB / 16.42 MB, free: 6.031 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.001393/0.001393, allocations: 186 kB / 17.35 MB, free: 5.602 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.41/1.41, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.097e-05, allocations: 5.656 kB / 0.7264 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002481/0.002527, allocations: 1.486 MB / 0.7278 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005163/0.003055, allocations: 237.3 kB / 0.728 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.003114, allocations: 0 / 0.728 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.003153, allocations: 7.938 kB / 0.728 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.68e-05/0.003244, allocations: 15.86 kB / 0.7281 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.003458, allocations: 27.91 kB / 0.7281 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.003603, allocations: 71.83 kB / 0.7282 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.003775, allocations: 24.17 kB / 0.7282 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.794e-05/0.003859, allocations: 27.86 kB / 0.7282 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.003933, allocations: 27.91 kB / 0.7282 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.003958, allocations: 4 kB / 0.7282 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.003978, allocations: 8 kB / 0.7282 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001085/0.00409, allocations: 98.84 kB / 0.7283 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.588e-05/0.004131, allocations: 55.12 kB / 0.7284 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.004169, allocations: 11.94 kB / 0.7284 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-05/0.004192, allocations: 7.938 kB / 0.7284 GB, free: 2.609 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.0005127/0.004709, allocations: 411.5 kB / 0.7288 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.382e-05/0.004768, allocations: 15.95 kB / 0.7288 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001704/0.004944, allocations: 188.2 kB / 0.729 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of simplify1: time 2.254e-05/0.004972, allocations: 11.98 kB / 0.729 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of Alias: time 0.0003774/0.005354, allocations: 241.4 kB / 0.7292 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simplify2: time 1.324e-05/0.005376, allocations: 11.97 kB / 0.7293 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of Events: time 9.359e-05/0.00548, allocations: 52.12 kB / 0.7293 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001591/0.005646, allocations: 88.12 kB / 0.7294 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of Partitioning: time 8.114e-05/0.005736, allocations: 64.03 kB / 0.7294 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0003277/0.006071, allocations: 272.3 kB / 0.7297 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001578/0.006236, allocations: 180.5 kB / 0.7299 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of Inline: time 0.0002772/0.006519, allocations: 260.3 kB / 0.7301 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of Partitioning: time 3.214e-05/0.006559, allocations: 24.05 kB / 0.7301 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of Cleanup: time 1.662e-05/0.006582, allocations: 15.98 kB / 0.7302 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0004291/0.007016, allocations: 380.7 kB / 0.7305 GB, free: 148 kB / 0.5606 GB Notification: Performance of Tearing: time 7.785e-06/0.007034, allocations: 0 / 0.7305 GB, free: 148 kB / 0.5606 GB Notification: Performance of Initialization: time 3.31e-07/0.007041, allocations: 4.594 kB / 0.7305 GB, free: 144 kB / 0.5606 GB Notification: Performance of Tearing: time 2.725e-06/0.007048, allocations: 0 / 0.7305 GB, free: 144 kB / 0.5606 GB Notification: Performance of Categorize: time 9.788e-06/0.007063, allocations: 3.938 kB / 0.7305 GB, free: 140 kB / 0.5606 GB Notification: Performance of Solve: time 7.881e-05/0.007146, allocations: 31.97 kB / 0.7306 GB, free: 108 kB / 0.5606 GB Notification: Performance of Jacobian: time 6.452e-06/0.007159, allocations: 3.938 kB / 0.7306 GB, free: 104 kB / 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: .................... 3 (3) {triSam1.y, triSam.y, booPul.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {triSam.trigger, $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: ............ 3 (algorithm:0, when:3, 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: ........... 14 (scalar:14, 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 5.503e-05/0.007218, allocations: 30.31 kB / 0.7306 GB, free: 88 kB / 0.5606 GB Notification: Performance of SimCode: time 0.0008775/0.008101, allocations: 0.8914 MB / 0.7315 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.002911/0.01102, allocations: 0.6132 MB / 0.7321 GB, free: 14.56 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)