Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 96.41 kB / 20.52 MB, free: 1.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 216.1 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.378/1.378, allocations: 230.6 MB / 257.6 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.909/0.909, allocations: 149.9 MB / 463.9 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.273e-05, allocations: 5.781 kB / 0.6424 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001713/0.001736, allocations: 0.6631 MB / 0.643 GB, free: 8.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.003488, allocations: 1.09 MB / 0.6441 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.003533, allocations: 0.5938 kB / 0.6441 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.003563, allocations: 3.938 kB / 0.6441 GB, free: 7.875 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.003631, allocations: 4.531 kB / 0.6441 GB, free: 7.871 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.003953, allocations: 48.55 kB / 0.6441 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.004072, allocations: 60.66 kB / 0.6442 GB, free: 7.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004178, allocations: 12.92 kB / 0.6442 GB, free: 7.754 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.004245, allocations: 19.92 kB / 0.6442 GB, free: 7.734 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.0043, allocations: 19.91 kB / 0.6442 GB, free: 7.715 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.004318, allocations: 8.906 kB / 0.6443 GB, free: 7.707 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.004388, allocations: 23.98 kB / 0.6443 GB, free: 7.684 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0001076/0.004496, allocations: 88.17 kB / 0.6444 GB, free: 7.598 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 3.816e-05/0.004534, allocations: 51.25 kB / 0.6444 GB, free: 7.547 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.004558, allocations: 4 kB / 0.6444 GB, free: 7.543 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-05/0.004573, allocations: 1.875 kB / 0.6444 GB, free: 7.543 MB / 478.1 MB 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 [SIM] Bindings: time 0.000601/0.005174, allocations: 348.4 kB / 0.6447 GB, free: 7.082 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.776e-05/0.005262, allocations: 53.77 kB / 0.6448 GB, free: 7.02 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003468/0.005609, allocations: 216.1 kB / 0.645 GB, free: 6.781 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001431/0.005752, allocations: 101.9 kB / 0.6451 GB, free: 6.637 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.0005083/0.00626, allocations: 218.5 kB / 0.6453 GB, free: 6.359 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001083/0.006369, allocations: 88.7 kB / 0.6454 GB, free: 6.227 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 6.012e-05/0.006429, allocations: 57.05 kB / 0.6455 GB, free: 6.145 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002211/0.00665, allocations: 117.7 kB / 0.6456 GB, free: 5.977 MB / 478.1 MB Notification: Performance of [SIM] Events: time 8.293e-05/0.006733, allocations: 31.36 kB / 0.6456 GB, free: 5.949 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001281/0.006861, allocations: 77.06 kB / 0.6457 GB, free: 5.867 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.0002178/0.007079, allocations: 135.9 kB / 0.6458 GB, free: 5.727 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001405/0.007219, allocations: 152.3 kB / 0.6459 GB, free: 5.578 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0002807/0.0075, allocations: 166.5 kB / 0.6461 GB, free: 5.348 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.0002124/0.007712, allocations: 228.8 kB / 0.6463 GB, free: 5.121 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 1.668e-05/0.007729, allocations: 12.06 kB / 0.6463 GB, free: 5.102 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 4.372e-05/0.007773, allocations: 41.64 kB / 0.6464 GB, free: 5.062 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.0004599/0.008233, allocations: 300.4 kB / 0.6467 GB, free: 4.762 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 1.323e-05/0.008246, allocations: 5.188 kB / 0.6467 GB, free: 4.758 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.008246, allocations: 4 kB / 0.6467 GB, free: 4.754 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 6.273e-05/0.008309, allocations: 44.47 kB / 0.6467 GB, free: 4.711 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.941e-06/0.008315, allocations: 4 kB / 0.6467 GB, free: 4.707 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 6.102e-06/0.008321, allocations: 4 kB / 0.6467 GB, free: 4.703 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.007e-05/0.008331, allocations: 4 kB / 0.6467 GB, free: 4.699 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.0002171/0.008548, allocations: 160.7 kB / 0.6469 GB, free: 4.547 MB / 478.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002284/0.008777, allocations: 178 kB / 0.647 GB, free: 4.34 MB / 478.1 MB 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) {} * Number of discrete variables: ................. 5 (5) {zerOrdHol.sampleTrigger, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (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 (resizable: 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.391e-05/0.008821, allocations: 26.16 kB / 0.6471 GB, free: 4.324 MB / 478.1 MB Notification: Performance of SimCode: time 0.0005657/0.009386, allocations: 293.4 kB / 0.6473 GB, free: 4.027 MB / 478.1 MB Notification: Performance of Templates: time 0.003492/0.01288, allocations: 0.8188 MB / 0.6481 GB, free: 3.254 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.264116544043645] Failed to read output from testmodel.py, exit status != 0: 0.02101292903535068 0.034965439 0.027526359 Calling exit ...