Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007586/0.0007586, allocations: 84.23 kB / 20.05 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.0007602/0.0007602, allocations: 173.9 kB / 23.36 MB, free: 1.16 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.8478/0.8478, allocations: 177.1 MB / 203.7 MB, free: 5.695 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6749/0.6749, allocations: 154.6 MB / 414.7 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.085e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001297/0.001318, allocations: 0.6519 MB / 0.6202 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.002349, allocations: 1.092 MB / 0.6213 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.002394, allocations: 0 / 0.6213 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.00242, allocations: 3.938 kB / 0.6213 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.998e-05/0.00248, allocations: 7.922 kB / 0.6213 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.002749, allocations: 51.77 kB / 0.6213 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.002842, allocations: 51.84 kB / 0.6214 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.002937, allocations: 8 kB / 0.6214 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.003, allocations: 23.97 kB / 0.6214 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.003042, allocations: 23.91 kB / 0.6214 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.003057, allocations: 4 kB / 0.6214 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.814e-05/0.003115, allocations: 23.91 kB / 0.6215 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of combineBinaries: time 5.98e-05/0.003175, allocations: 71.3 kB / 0.6215 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.475e-05/0.00319, allocations: 39.47 kB / 0.6216 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.003209, allocations: 8 kB / 0.6216 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-05/0.00322, allocations: 0 / 0.6216 GB, free: 10.99 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.0003639/0.003584, allocations: 360.2 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001141/0.003698, allocations: 67.98 kB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0001552/0.003853, allocations: 188.2 kB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 4.658e-05/0.0039, allocations: 48.41 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003518/0.004251, allocations: 232.7 kB / 0.6224 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 3.584e-05/0.004287, allocations: 52.78 kB / 0.6225 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.539e-05/0.004313, allocations: 44.42 kB / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001468/0.004459, allocations: 151.7 kB / 0.6227 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 5.878e-05/0.004518, allocations: 31.92 kB / 0.6227 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0002185/0.004737, allocations: 116.5 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001499/0.004887, allocations: 112 kB / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.006e-05/0.004957, allocations: 139.8 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001202/0.005077, allocations: 109.6 kB / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 9.7e-05/0.005174, allocations: 199.8 kB / 0.6233 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.387e-05/0.005188, allocations: 16.06 kB / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 2.642e-05/0.005214, allocations: 43.95 kB / 0.6234 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001819/0.005396, allocations: 192.2 kB / 0.6236 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.218e-05/0.005408, allocations: 4 kB / 0.6236 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 6.61e-07/0.005409, allocations: 0 / 0.6236 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.143e-05/0.00545, allocations: 24.12 kB / 0.6236 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 4.428e-06/0.005455, allocations: 7.938 kB / 0.6236 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.414e-06/0.005457, allocations: 4 kB / 0.6236 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 6.563e-06/0.005464, allocations: 0 / 0.6236 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001042/0.005568, allocations: 103.9 kB / 0.6237 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.387e-05/0.005662, allocations: 190.1 kB / 0.6239 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.51e-07/0.005662, allocations: 4 kB / 0.6239 GB, free: 8.074 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 3.092e-05/0.005693, allocations: 16.78 kB / 0.6239 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004474/0.006141, allocations: 288 kB / 0.6242 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of Templates: time 0.002038/0.008179, allocations: 0.7364 MB / 0.6249 GB, free: 7.043 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.8153715413063765] Failed to read output from testmodel.py, exit status != 0: 0.012546767480671406 0.020733438 0.015962308 Calling exit ...