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.00136/0.00136, allocations: 84.06 kB / 19.96 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.001456/0.001456, allocations: 164.6 kB / 23.23 MB, free: 4.969 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.427/1.427, allocations: 177.2 MB / 203.6 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.199/1.199, allocations: 154.7 MB / 414.7 MB, free: 5.148 MB / 382.1 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 178] 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.045e-05/2.045e-05, allocations: 4.812 kB / 0.6195 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001795/0.001816, allocations: 0.6498 MB / 0.6201 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003421, allocations: 1.089 MB / 0.6212 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.003477, allocations: 4 kB / 0.6212 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.003507, allocations: 5.031 kB / 0.6212 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.003573, allocations: 7.875 kB / 0.6212 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.003859, allocations: 51.77 kB / 0.6213 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.003974, allocations: 47.91 kB / 0.6213 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.004068, allocations: 12 kB / 0.6213 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.004147, allocations: 27.95 kB / 0.6213 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.004199, allocations: 15.92 kB / 0.6214 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004219, allocations: 8 kB / 0.6214 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.004291, allocations: 19.92 kB / 0.6214 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of combineBinaries: time 9.78e-05/0.004389, allocations: 75.28 kB / 0.6215 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 3.548e-05/0.004424, allocations: 47.36 kB / 0.6215 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.004443, allocations: 4 kB / 0.6215 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.167e-05/0.004455, allocations: 4 kB / 0.6215 GB, free: 2.523 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.000718/0.005173, allocations: 348.3 kB / 0.6218 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001503/0.005323, allocations: 62.83 kB / 0.6219 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0002366/0.00556, allocations: 184.2 kB / 0.6221 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001228/0.005683, allocations: 84.7 kB / 0.6222 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0004865/0.006169, allocations: 228.7 kB / 0.6224 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 9.578e-05/0.006265, allocations: 77.09 kB / 0.6225 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 5.764e-05/0.006323, allocations: 48.42 kB / 0.6225 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0002291/0.006552, allocations: 148.7 kB / 0.6226 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 8.134e-05/0.006633, allocations: 39.84 kB / 0.6227 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001731/0.006806, allocations: 112.5 kB / 0.6228 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0001933/0.006999, allocations: 104.3 kB / 0.6229 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001438/0.007143, allocations: 123.9 kB / 0.623 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0002368/0.00738, allocations: 153 kB / 0.6232 GB, free: 336 kB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0002033/0.007583, allocations: 203.9 kB / 0.6233 GB, free: 128 kB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 2.354e-05/0.007607, allocations: 12.12 kB / 0.6234 GB, free: 108 kB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 4.724e-05/0.007654, allocations: 35.97 kB / 0.6234 GB, free: 72 kB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0003122/0.007966, allocations: 183.5 kB / 0.6236 GB, free: 15.88 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.452e-05/0.007981, allocations: 4 kB / 0.6236 GB, free: 15.88 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.007981, allocations: 7.938 kB / 0.6236 GB, free: 15.87 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 5.911e-06/0.007987, allocations: 4 kB / 0.6236 GB, free: 15.87 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.283e-06/0.007989, allocations: 0 / 0.6236 GB, free: 15.87 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 6.883e-06/0.007995, allocations: 0 / 0.6236 GB, free: 15.87 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001343/0.00813, allocations: 75.95 kB / 0.6237 GB, free: 15.79 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 7.093e-06/0.008137, allocations: 0 / 0.6237 GB, free: 15.79 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.7e-07/0.008137, allocations: 0 / 0.6237 GB, free: 15.79 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: ........... 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 4.165e-05/0.008179, allocations: 29.33 kB / 0.6237 GB, free: 15.78 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005457/0.008725, allocations: 282 kB / 0.624 GB, free: 15.48 MB / 0.545 GB Notification: Performance of Templates: time 0.003323/0.01205, allocations: 0.6615 MB / 0.6246 GB, free: 14.83 MB / 0.545 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 sys.exit(0), Time elapsed: 5.454882323741913] Failed to read output from testmodel.py, exit status != 0: 0.020373016595840454 0.035820085 0.028214019000000003 Calling exit ...