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.001216/0.001216, allocations: 81.78 kB / 19.95 MB, free: 1.945 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.00129/0.00129, allocations: 163.8 kB / 23.23 MB, free: 4.961 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.324/1.324, allocations: 177.2 MB / 203.6 MB, free: 9.203 MB / 190.1 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-531:190: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-531:198: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 1.099/1.099, allocations: 155 MB / 415 MB, free: 4.926 MB / 382.1 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 1.967e-05/1.967e-05, allocations: 2.281 kB / 0.6198 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001643/0.001663, allocations: 0.6591 MB / 0.6205 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.003082, allocations: 1.089 MB / 0.6215 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.003127, allocations: 4 kB / 0.6215 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.003157, allocations: 3.938 kB / 0.6215 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.003222, allocations: 3.938 kB / 0.6215 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.003496, allocations: 47.77 kB / 0.6216 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003601, allocations: 51.84 kB / 0.6216 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.003691, allocations: 11.98 kB / 0.6216 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.003768, allocations: 35.91 kB / 0.6217 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.003815, allocations: 15.98 kB / 0.6217 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003832, allocations: 4 kB / 0.6217 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.366e-05/0.003895, allocations: 23.91 kB / 0.6217 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of combineBinaries: time 8.455e-05/0.00398, allocations: 71.3 kB / 0.6218 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 3.006e-05/0.00401, allocations: 39.47 kB / 0.6218 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.004039, allocations: 4 kB / 0.6218 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-05/0.004053, allocations: 3.984 kB / 0.6218 GB, free: 2.18 MB / 0.5294 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.0005308/0.004584, allocations: 352.2 kB / 0.6222 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 8.309e-05/0.004667, allocations: 52.06 kB / 0.6222 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0003314/0.004998, allocations: 220.1 kB / 0.6224 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001224/0.005121, allocations: 96.64 kB / 0.6225 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0004074/0.005528, allocations: 216.7 kB / 0.6227 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 9.434e-05/0.005622, allocations: 84.7 kB / 0.6228 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 5.539e-05/0.005678, allocations: 52.41 kB / 0.6229 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0002143/0.005892, allocations: 148.8 kB / 0.623 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 7.26e-05/0.005965, allocations: 32.23 kB / 0.623 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.000158/0.006123, allocations: 116.4 kB / 0.6231 GB, free: 404 kB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0001835/0.006306, allocations: 108 kB / 0.6232 GB, free: 288 kB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001266/0.006433, allocations: 139.9 kB / 0.6234 GB, free: 148 kB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0002391/0.006672, allocations: 168.8 kB / 0.6235 GB, free: 15.91 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0001821/0.006854, allocations: 207.8 kB / 0.6237 GB, free: 15.7 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 2.03e-05/0.006874, allocations: 12.12 kB / 0.6237 GB, free: 15.68 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 4.861e-05/0.006923, allocations: 43.94 kB / 0.6238 GB, free: 15.64 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.00026/0.007183, allocations: 169.6 kB / 0.6239 GB, free: 15.46 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.721e-05/0.0072, allocations: 3.938 kB / 0.624 GB, free: 15.46 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 4.7e-07/0.007201, allocations: 8 kB / 0.624 GB, free: 15.45 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 6.493e-06/0.007207, allocations: 4 kB / 0.624 GB, free: 15.45 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.633e-06/0.007209, allocations: 0 / 0.624 GB, free: 15.45 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 6.242e-06/0.007215, allocations: 0 / 0.624 GB, free: 15.45 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001616/0.007377, allocations: 111.9 kB / 0.6241 GB, free: 15.34 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 6.782e-06/0.007383, allocations: 0 / 0.6241 GB, free: 15.34 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.4e-07/0.007384, allocations: 0 / 0.6241 GB, free: 15.34 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: ......... 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: ........... 11 (scalar:11, 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 4.571e-05/0.007429, allocations: 35.56 kB / 0.6241 GB, free: 15.31 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005128/0.007942, allocations: 275.7 kB / 0.6244 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Templates: time 0.00331/0.01125, allocations: 0.7158 MB / 0.6251 GB, free: 14.32 MB / 0.545 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 sys.exit(0), Time elapsed: 5.137363631278276] Failed to read output from testmodel.py, exit status != 0: 0.01878885179758072 0.032119004 0.025311515000000003 Calling exit ...