Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001489/0.001489, allocations: 76.05 kB / 19.95 MB, free: 1.637 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.001603/0.001603, allocations: 178.9 kB / 23.23 MB, free: 4.777 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.176 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.127/1.127, allocations: 155 MB / 415 MB, free: 4.941 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/2.807e-05, allocations: 2.281 kB / 0.6198 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002026/0.002054, allocations: 0.6653 MB / 0.6205 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.00353, allocations: 1.093 MB / 0.6215 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.003566, allocations: 0 / 0.6215 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.003596, allocations: 7.938 kB / 0.6215 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.003657, allocations: 7.938 kB / 0.6215 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.003963, allocations: 47.7 kB / 0.6216 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.004085, allocations: 55.78 kB / 0.6216 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.004203, allocations: 15.98 kB / 0.6217 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.004286, allocations: 27.97 kB / 0.6217 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.00434, allocations: 23.91 kB / 0.6217 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.00436, allocations: 4 kB / 0.6217 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.98e-05/0.00443, allocations: 23.97 kB / 0.6217 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of combineBinaries: time 8.966e-05/0.00452, allocations: 71.3 kB / 0.6218 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 3.53e-05/0.004555, allocations: 47.45 kB / 0.6218 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.004575, allocations: 4 kB / 0.6218 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.226e-05/0.004587, allocations: 4 kB / 0.6218 GB, free: 2.117 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0005605/0.005147, allocations: 350.7 kB / 0.6222 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001023/0.00525, allocations: 56.02 kB / 0.6222 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0003563/0.005606, allocations: 232.2 kB / 0.6225 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001146/0.005721, allocations: 88.7 kB / 0.6225 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0004688/0.006189, allocations: 220.8 kB / 0.6228 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0001083/0.006298, allocations: 92.95 kB / 0.6228 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 6.102e-05/0.006359, allocations: 48.42 kB / 0.6229 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.000229/0.006588, allocations: 168.7 kB / 0.623 GB, free: 492 kB / 0.5294 GB Notification: Performance of [SIM] Events: time 7.766e-05/0.006665, allocations: 35.86 kB / 0.6231 GB, free: 456 kB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001742/0.00684, allocations: 124.5 kB / 0.6232 GB, free: 296 kB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0002182/0.007058, allocations: 123.9 kB / 0.6233 GB, free: 164 kB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001503/0.007208, allocations: 163.8 kB / 0.6235 GB, free: 0 / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0002909/0.007499, allocations: 172.8 kB / 0.6236 GB, free: 15.76 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0002322/0.007731, allocations: 243.8 kB / 0.6239 GB, free: 15.52 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 1.754e-05/0.007749, allocations: 8.125 kB / 0.6239 GB, free: 15.5 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 5.478e-05/0.007804, allocations: 55.89 kB / 0.6239 GB, free: 15.45 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0004659/0.00827, allocations: 303.8 kB / 0.6242 GB, free: 15.15 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.294e-05/0.008282, allocations: 8 kB / 0.6242 GB, free: 15.14 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 3.31e-07/0.008283, allocations: 0 / 0.6242 GB, free: 15.14 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 3.967e-06/0.008287, allocations: 4 kB / 0.6242 GB, free: 15.14 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 8.215e-06/0.008295, allocations: 8 kB / 0.6242 GB, free: 15.13 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 7.054e-06/0.008302, allocations: 4 kB / 0.6242 GB, free: 15.12 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.000167/0.008469, allocations: 115.8 kB / 0.6244 GB, free: 15.01 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 7.304e-06/0.008476, allocations: 0 / 0.6244 GB, free: 15.01 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.1e-07/0.008477, allocations: 0 / 0.6244 GB, free: 15.01 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) {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.226e-05/0.008519, allocations: 24.36 kB / 0.6244 GB, free: 15 MB / 0.545 GB Notification: Performance of SimCode: time 0.000531/0.00905, allocations: 291.7 kB / 0.6247 GB, free: 14.69 MB / 0.545 GB Notification: Performance of Templates: time 0.003235/0.01228, allocations: 0.7869 MB / 0.6254 GB, free: 13.92 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.222639938816428] Failed to read output from testmodel.py, exit status != 0: 0.01971784047782421 0.032593284 0.025298811 Calling exit ...