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.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 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001116/0.001116, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.00118/0.001181, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.54/1.54, 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.411/1.411, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.409e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.003305/0.003352, allocations: 1.384 MB / 0.7277 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.004093, allocations: 237.4 kB / 0.7279 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.004182, allocations: 0 / 0.7279 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.004237, allocations: 7.922 kB / 0.7279 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.141e-05/0.004334, allocations: 7.922 kB / 0.728 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.0047, allocations: 23.92 kB / 0.728 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.004874, allocations: 59.78 kB / 0.728 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.005045, allocations: 11.98 kB / 0.728 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.005168, allocations: 19.92 kB / 0.7281 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.005242, allocations: 23.91 kB / 0.7281 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.005279, allocations: 7.938 kB / 0.7281 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.005296, allocations: 4 kB / 0.7281 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of combineBinaries: time 9.404e-05/0.005395, allocations: 59.33 kB / 0.7282 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.942e-05/0.005436, allocations: 43.31 kB / 0.7282 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.005476, allocations: 12 kB / 0.7282 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.139e-05/0.005503, 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0005376/0.006045, allocations: 320.2 kB / 0.7285 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 8.113e-05/0.006134, allocations: 19.89 kB / 0.7285 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001924/0.006333, allocations: 148.3 kB / 0.7287 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simplify1: time 3.124e-05/0.00637, allocations: 11.98 kB / 0.7287 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of Alias: time 0.0004142/0.00679, allocations: 169.2 kB / 0.7289 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simplify2: time 1.496e-05/0.006815, allocations: 8 kB / 0.7289 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of Events: time 0.0001146/0.006935, allocations: 47.84 kB / 0.7289 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0004721/0.007416, allocations: 76.19 kB / 0.729 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.000115/0.007541, allocations: 56.06 kB / 0.729 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0004173/0.007964, allocations: 261 kB / 0.7293 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001727/0.008146, allocations: 168.7 kB / 0.7294 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of Inline: time 0.0003764/0.008529, allocations: 260.2 kB / 0.7297 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of Partitioning: time 3.015e-05/0.008569, allocations: 20.11 kB / 0.7297 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of Cleanup: time 3.146e-05/0.008606, allocations: 15.92 kB / 0.7297 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0003847/0.008998, allocations: 322.8 kB / 0.73 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Tearing: time 7.634e-06/0.009014, allocations: 0 / 0.73 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Initialization: time 6.21e-07/0.00902, allocations: 0 / 0.73 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Tearing: time 4.168e-06/0.009028, allocations: 4 kB / 0.73 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of Categorize: time 8.987e-06/0.009042, allocations: 4 kB / 0.73 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of Solve: time 7.821e-05/0.009125, allocations: 35.91 kB / 0.7301 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.827e-06/0.009135, allocations: 0 / 0.7301 GB, free: 0.6406 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) {zerOrdHol.ySample, zerOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {zerOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, 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: ........... 12 (scalar:12, 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 6.267e-05/0.009203, allocations: 22.5 kB / 0.7301 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0007934/0.01, allocations: 0.8487 MB / 0.7309 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.002976/0.01299, allocations: 0.5438 MB / 0.7315 GB, free: 15.21 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe 2>&1)