Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 100.4 kB / 16.38 MB, free: 6.438 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.001037/0.001037, allocations: 188.2 kB / 17.31 MB, free: 5.789 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.661e-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.ZeroOrderHold): time 0.002123/0.002166, allocations: 0.6816 MB / 0.6735 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.00362, allocations: 1.067 MB / 0.6746 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.003678, allocations: 4 kB / 0.6746 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.003708, allocations: 3.938 kB / 0.6746 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.003772, allocations: 7.938 kB / 0.6746 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.004084, allocations: 43.88 kB / 0.6746 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.00419, allocations: 55.78 kB / 0.6747 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.00429, allocations: 12 kB / 0.6747 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.004361, allocations: 19.92 kB / 0.6747 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.004416, allocations: 27.89 kB / 0.6747 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.004436, allocations: 4 kB / 0.6747 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.00451, allocations: 16 kB / 0.6748 GB, free: 3.965 MB / 0.545 GB Notification: Performance of combineBinaries: time 7.753e-05/0.004593, allocations: 67.31 kB / 0.6748 GB, free: 3.898 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.301e-05/0.004622, allocations: 43.31 kB / 0.6749 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.004645, allocations: 4 kB / 0.6749 GB, free: 3.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.687e-05/0.004666, allocations: 11.88 kB / 0.6749 GB, free: 3.84 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0003793/0.00505, allocations: 320.1 kB / 0.6752 GB, free: 3.426 MB / 0.545 GB Notification: Performance of FunctionAlias: time 5.179e-05/0.005108, allocations: 15.94 kB / 0.6752 GB, free: 3.41 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0002329/0.005346, allocations: 200.2 kB / 0.6754 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simplify1: time 2.291e-05/0.005378, allocations: 15.98 kB / 0.6754 GB, free: 3.172 MB / 0.545 GB Notification: Performance of Alias: time 0.0002927/0.005678, allocations: 185.1 kB / 0.6756 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simplify2: time 2.339e-05/0.00571, allocations: 23.97 kB / 0.6756 GB, free: 2.914 MB / 0.545 GB Notification: Performance of Events: time 0.0001327/0.005849, allocations: 63.83 kB / 0.6757 GB, free: 2.852 MB / 0.545 GB Notification: Performance of Detect States: time 0.000163/0.006019, allocations: 84.17 kB / 0.6757 GB, free: 2.754 MB / 0.545 GB Notification: Performance of Partitioning: time 8.678e-05/0.006115, allocations: 68.23 kB / 0.6758 GB, free: 2.672 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003235/0.006445, allocations: 307.8 kB / 0.6761 GB, free: 2.355 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001728/0.006627, allocations: 192.5 kB / 0.6763 GB, free: 2.141 MB / 0.545 GB Notification: Performance of Inline: time 0.0003437/0.006978, allocations: 308.2 kB / 0.6766 GB, free: 1.805 MB / 0.545 GB Notification: Performance of Partitioning: time 2.09e-05/0.007008, allocations: 20.12 kB / 0.6766 GB, free: 1.777 MB / 0.545 GB Notification: Performance of Cleanup: time 2.472e-05/0.007038, allocations: 19.95 kB / 0.6766 GB, free: 1.758 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003893/0.007432, allocations: 393.3 kB / 0.677 GB, free: 1.371 MB / 0.545 GB Notification: Performance of Tearing: time 6.232e-06/0.007447, allocations: 160 / 0.677 GB, free: 1.371 MB / 0.545 GB Notification: Performance of Initialization: time 2.505e-06/0.007455, allocations: 0 / 0.677 GB, free: 1.371 MB / 0.545 GB Notification: Performance of Tearing: time 1.593e-06/0.007461, allocations: 3.938 kB / 0.677 GB, free: 1.367 MB / 0.545 GB Notification: Performance of Categorize: time 1.188e-05/0.007477, allocations: 7.984 kB / 0.677 GB, free: 1.359 MB / 0.545 GB Notification: Performance of Solve: time 7.369e-05/0.007555, allocations: 35.97 kB / 0.677 GB, free: 1.324 MB / 0.545 GB Notification: Performance of Jacobian: time 2.635e-06/0.007564, allocations: 0 / 0.677 GB, free: 1.324 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) {zerOrdHol.ySample, zerOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {zerOrdHol.sampleTrigger, $SEV_0, $TEV_3, $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: ........... 9 (scalar:9, 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: ........... 13 (scalar:13, 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.291e-05/0.007611, allocations: 36.98 kB / 0.6771 GB, free: 1.297 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006307/0.008246, allocations: 0.8608 MB / 0.6779 GB, free: 424 kB / 0.545 GB Notification: Performance of Templates: time 0.003019/0.01128, allocations: 0.8088 MB / 0.6787 GB, free: 15.6 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe 2>&1)