Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_9_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.001124/0.001124, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.001086/0.001086, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.199/1.199, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.994/1.994, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.757e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001506/0.001534, allocations: 0.7607 MB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.002877, allocations: 1.151 MB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.002929, allocations: 0 / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.002964, allocations: 7.875 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.00303, allocations: 11.92 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.003464, allocations: 139.6 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.003628, allocations: 135.8 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.003722, allocations: 24.17 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.003798, allocations: 47.84 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.003883, allocations: 51.81 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.003911, allocations: 12 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.003979, allocations: 31.97 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.396e-05/0.004079, allocations: 118.8 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.955e-05/0.004114, allocations: 59.12 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.004148, allocations: 15.94 kB / 0.9539 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.958e-06/0.004162, allocations: 0 / 0.9539 GB, free: 5.137 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0004941/0.004662, allocations: 0.4994 MB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 4.289e-05/0.00471, allocations: 19.89 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003452/0.005061, allocations: 376.1 kB / 0.9548 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simplify1: time 1.255e-05/0.005082, allocations: 11.97 kB / 0.9548 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of Alias: time 0.0004159/0.005503, allocations: 325.1 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of simplify2: time 9.117e-06/0.005521, allocations: 4 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of Detect States: time 0.000205/0.005731, allocations: 180 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of Events: time 0.0002668/0.006008, allocations: 203.8 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of Partitioning: time 5.814e-05/0.006076, allocations: 48.11 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002105/0.006292, allocations: 187.9 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002353/0.006535, allocations: 296.2 kB / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of Inline: time 0.0003737/0.006914, allocations: 440.2 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.077e-05/0.006943, allocations: 24 kB / 0.9564 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.405e-05/0.006962, allocations: 11.98 kB / 0.9565 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002928/0.007259, allocations: 267.9 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of Tearing: time 9.678e-06/0.007277, allocations: 4 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of Initialization: time 7.41e-07/0.007283, allocations: 4 kB / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of Tearing: time 1.192e-06/0.007288, allocations: 0 / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of Categorize: time 5.751e-06/0.007298, allocations: 0 / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of Solve: time 5.805e-05/0.00736, allocations: 35.95 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.725e-06/0.007368, allocations: 3.938 kB / 0.9568 GB, free: 1.949 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: .................... 3 (3) {triSam1.y, triSam.y, triSam.trigger} * 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: ............ 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: ........... 11 (scalar:11, 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 3.016e-05/0.007402, allocations: 19.38 kB / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005586/0.007965, allocations: 0.9502 MB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of Templates: time 0.003158/0.01113, allocations: 1.412 MB / 0.9591 GB, free: 15.56 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)