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.Sampler.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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001376, allocations: 106 kB / 16.42 MB, free: 6.52 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.001453/0.001453, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.634/1.634, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.439/1.439, allocations: 251.7 MB / 0.51 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.312e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler): time 0.002944/0.002992, allocations: 1.388 MB / 0.7277 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.003576, allocations: 221.4 kB / 0.7279 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.003643, allocations: 0 / 0.7279 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.003687, allocations: 3.938 kB / 0.7279 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.003784, allocations: 3.938 kB / 0.7279 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.004025, allocations: 31.89 kB / 0.728 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.004169, allocations: 51.84 kB / 0.728 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.004303, allocations: 8 kB / 0.728 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.004385, allocations: 19.92 kB / 0.728 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.004445, allocations: 15.92 kB / 0.7281 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.004472, allocations: 4 kB / 0.7281 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.004489, allocations: 4 kB / 0.7281 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001029/0.004597, allocations: 67.3 kB / 0.7281 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.939e-05/0.004634, allocations: 47.41 kB / 0.7282 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.00467, allocations: 7.938 kB / 0.7282 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.779e-05/0.004693, allocations: 3.938 kB / 0.7282 GB, free: 2.828 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0005261/0.005223, allocations: 308.2 kB / 0.7285 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 6.557e-05/0.005295, allocations: 15.95 kB / 0.7285 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001635/0.005465, allocations: 136.3 kB / 0.7286 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simplify1: time 2.516e-05/0.005496, allocations: 7.984 kB / 0.7286 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of Alias: time 0.0004738/0.005975, allocations: 173.2 kB / 0.7288 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simplify2: time 1.997e-05/0.006006, allocations: 7.969 kB / 0.7288 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of Events: time 0.0001189/0.00613, allocations: 43.81 kB / 0.7289 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001686/0.006306, allocations: 71 kB / 0.7289 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of Partitioning: time 9.453e-05/0.006408, allocations: 52.09 kB / 0.729 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0003122/0.006728, allocations: 220.1 kB / 0.7292 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001574/0.006894, allocations: 152.2 kB / 0.7293 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of Inline: time 0.0003718/0.007272, allocations: 212.7 kB / 0.7295 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of Partitioning: time 2.206e-05/0.007302, allocations: 16.12 kB / 0.7295 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of Cleanup: time 2.299e-05/0.007332, allocations: 11.98 kB / 0.7296 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0005561/0.007893, allocations: 424.8 kB / 0.73 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Tearing: time 8.115e-06/0.007911, allocations: 0 / 0.73 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Initialization: time 7.81e-07/0.007917, allocations: 0 / 0.73 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Tearing: time 2.184e-06/0.007924, allocations: 0 / 0.73 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Categorize: time 8.877e-06/0.007937, allocations: 0 / 0.73 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Solve: time 7.405e-05/0.008015, allocations: 23.92 kB / 0.73 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.296e-06/0.008026, allocations: 0.75 kB / 0.73 GB, free: 0.7109 MB / 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: .................... 2 (2) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {sampler1.sampleTrigger, $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: ........... 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: ........... 10 (scalar:10, 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 5.567e-05/0.008086, allocations: 30.86 kB / 0.73 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of SimCode: time 0.000956/0.009047, allocations: 0.8407 MB / 0.7308 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.002915/0.01197, allocations: 0.493 MB / 0.7313 GB, free: 15.34 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe 2>&1)