Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001202/0.001202, allocations: 105 kB / 16.37 MB, free: 6.371 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.001503/0.001503, allocations: 192.1 kB / 17.31 MB, free: 5.91 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.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.942/1.942, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.107e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler): time 0.002013/0.002058, allocations: 0.6738 MB / 0.6735 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.003457, allocations: 1.051 MB / 0.6745 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.003507, allocations: 0 / 0.6745 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.003543, allocations: 3.938 kB / 0.6745 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.003615, allocations: 7.922 kB / 0.6745 GB, free: 4.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.003899, allocations: 43.83 kB / 0.6746 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.004001, allocations: 51.84 kB / 0.6746 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004124, allocations: 19.98 kB / 0.6747 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.004194, allocations: 15.98 kB / 0.6747 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.004251, allocations: 23.86 kB / 0.6747 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.004272, allocations: 4 kB / 0.6747 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.004353, allocations: 15.98 kB / 0.6747 GB, free: 3.996 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.559e-05/0.004444, allocations: 67.3 kB / 0.6748 GB, free: 3.93 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.488e-05/0.004475, allocations: 39.47 kB / 0.6748 GB, free: 3.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.004502, allocations: 3.938 kB / 0.6748 GB, free: 3.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.406e-05/0.004521, allocations: 7.938 kB / 0.6748 GB, free: 3.879 MB / 0.545 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.0004386/0.004964, allocations: 296.3 kB / 0.6751 GB, free: 3.488 MB / 0.545 GB Notification: Performance of FunctionAlias: time 5.548e-05/0.005025, allocations: 19.92 kB / 0.6751 GB, free: 3.469 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0002392/0.005271, allocations: 196.2 kB / 0.6753 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simplify1: time 2.129e-05/0.0053, allocations: 15.98 kB / 0.6753 GB, free: 3.234 MB / 0.545 GB Notification: Performance of Alias: time 0.0002883/0.005594, allocations: 177.1 kB / 0.6755 GB, free: 3.008 MB / 0.545 GB Notification: Performance of simplify2: time 2.076e-05/0.005626, allocations: 19.97 kB / 0.6755 GB, free: 2.988 MB / 0.545 GB Notification: Performance of Events: time 0.0001637/0.005798, allocations: 59.8 kB / 0.6756 GB, free: 2.93 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001716/0.005981, allocations: 94.77 kB / 0.6757 GB, free: 2.828 MB / 0.545 GB Notification: Performance of Partitioning: time 7.658e-05/0.006068, allocations: 60.23 kB / 0.6757 GB, free: 2.754 MB / 0.545 GB Notification: Performance of Causalize: time 0.000305/0.00638, allocations: 268.1 kB / 0.676 GB, free: 2.477 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001638/0.006553, allocations: 184.6 kB / 0.6762 GB, free: 2.27 MB / 0.545 GB Notification: Performance of Inline: time 0.0002903/0.00685, allocations: 268.2 kB / 0.6764 GB, free: 1.973 MB / 0.545 GB Notification: Performance of Partitioning: time 2.527e-05/0.006884, allocations: 20.89 kB / 0.6764 GB, free: 1.945 MB / 0.545 GB Notification: Performance of Cleanup: time 2.553e-05/0.006915, allocations: 15.92 kB / 0.6764 GB, free: 1.93 MB / 0.545 GB Notification: Performance of Causalize: time 0.0005657/0.007486, allocations: 0.497 MB / 0.6769 GB, free: 1.434 MB / 0.545 GB Notification: Performance of Tearing: time 1.041e-05/0.007509, allocations: 64 / 0.6769 GB, free: 1.434 MB / 0.545 GB Notification: Performance of Initialization: time 4.71e-07/0.007518, allocations: 3.938 kB / 0.6769 GB, free: 1.43 MB / 0.545 GB Notification: Performance of Tearing: time 5.37e-06/0.007531, allocations: 4 kB / 0.6769 GB, free: 1.426 MB / 0.545 GB Notification: Performance of Categorize: time 1.186e-05/0.007552, allocations: 4 kB / 0.6769 GB, free: 1.422 MB / 0.545 GB Notification: Performance of Solve: time 9.71e-05/0.007657, allocations: 39.94 kB / 0.677 GB, free: 1.383 MB / 0.545 GB Notification: Performance of Jacobian: time 3.467e-06/0.00767, allocations: 0 / 0.677 GB, free: 1.383 MB / 0.545 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: ......... 2 * 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: ................. 5 (5) {sampler1.sampleTrigger, $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: ............ 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: ........... 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 5.152e-05/0.007728, allocations: 24.03 kB / 0.677 GB, free: 1.363 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009881/0.008725, allocations: 0.8602 MB / 0.6778 GB, free: 496 kB / 0.545 GB Notification: Performance of Templates: time 0.003258/0.012, allocations: 0.7721 MB / 0.6786 GB, free: 15.71 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe 2>&1)