Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.000811/0.000811, allocations: 80.25 kB / 20.06 MB, free: 4.469 MB / 18.57 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.001011/0.001011, allocations: 173.9 kB / 23.36 MB, free: 1.164 MB / 18.57 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 0.8652/0.8652, allocations: 177.1 MB / 203.7 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6905/0.6905, allocations: 154.6 MB / 414.7 MB, free: 0.7695 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/9.888e-06, allocations: 5.547 kB / 0.6195 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001036/0.001046, allocations: 0.6536 MB / 0.6202 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.001942, allocations: 1.085 MB / 0.6212 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.001979, allocations: 3.938 kB / 0.6212 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.002004, allocations: 3.938 kB / 0.6212 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.002056, allocations: 3.938 kB / 0.6212 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.00229, allocations: 39.83 kB / 0.6213 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.002374, allocations: 59.84 kB / 0.6213 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.002459, allocations: 7.984 kB / 0.6213 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.00252, allocations: 27.91 kB / 0.6214 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.002562, allocations: 15.98 kB / 0.6214 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.002576, allocations: 4 kB / 0.6214 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.002629, allocations: 31.84 kB / 0.6214 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of combineBinaries: time 5.755e-05/0.002687, allocations: 71.28 kB / 0.6215 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.573e-05/0.002702, allocations: 39.53 kB / 0.6215 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.002718, allocations: 4 kB / 0.6215 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.988e-06/0.002728, allocations: 7.938 kB / 0.6215 GB, free: 11.03 MB / 0.5886 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 [SIM] Bindings: time 0.0003351/0.003063, allocations: 356.2 kB / 0.6219 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 9.798e-05/0.003161, allocations: 68 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.000131/0.003292, allocations: 184.2 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 4.368e-05/0.003336, allocations: 52.41 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003502/0.003686, allocations: 236.7 kB / 0.6224 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 2.979e-05/0.003715, allocations: 40.42 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 3.181e-05/0.003747, allocations: 52.8 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.000134/0.003881, allocations: 142.9 kB / 0.6226 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 5.178e-05/0.003933, allocations: 31.86 kB / 0.6226 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001041/0.004037, allocations: 124.4 kB / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.000126/0.004163, allocations: 116 kB / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 6.679e-05/0.00423, allocations: 131.9 kB / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001065/0.004336, allocations: 113.6 kB / 0.6231 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 9.45e-05/0.004431, allocations: 191.9 kB / 0.6233 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.064e-05/0.004442, allocations: 20.06 kB / 0.6233 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 2.471e-05/0.004466, allocations: 39.95 kB / 0.6233 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001762/0.004643, allocations: 191.2 kB / 0.6235 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 8.486e-06/0.004651, allocations: 4 kB / 0.6235 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.004651, allocations: 0 / 0.6235 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 3.747e-05/0.004689, allocations: 36.05 kB / 0.6236 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.206e-06/0.004692, allocations: 4 kB / 0.6236 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.034e-06/0.004694, allocations: 7.938 kB / 0.6236 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 5.421e-06/0.0047, allocations: 0 / 0.6236 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 9.467e-05/0.004794, allocations: 99.92 kB / 0.6237 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.132e-05/0.004886, allocations: 190.1 kB / 0.6238 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.21e-07/0.004886, allocations: 4.062 kB / 0.6238 GB, free: 8.117 MB / 0.5886 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) {unitDelay1.y, unitDelay1.u_internal} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {unitDelay1.sampleTrigger, $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: ........... 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 (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: ............ 0 (algorithm:0, 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 2.423e-05/0.00491, allocations: 18.95 kB / 0.6239 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0003781/0.005288, allocations: 299.9 kB / 0.6242 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of Templates: time 0.001839/0.007128, allocations: 0.7365 MB / 0.6249 GB, free: 7.074 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.160195355303586] Failed to read output from testmodel.py, exit status != 0: 0.010702728293836117 0.017823668 0.013653188 Calling exit ...