Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001224/0.001224, allocations: 78.19 kB / 19.95 MB, free: 1.949 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.001286/0.001286, allocations: 162 kB / 23.22 MB, free: 4.957 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.356/1.356, allocations: 177.2 MB / 203.6 MB, free: 9.168 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.128/1.128, allocations: 155 MB / 415 MB, free: 4.934 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.047e-05, allocations: 2.281 kB / 0.6198 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001633/0.001654, allocations: 0.6535 MB / 0.6205 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.003118, allocations: 1.089 MB / 0.6215 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.003152, allocations: 0 / 0.6215 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.003178, allocations: 3.938 kB / 0.6215 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.003242, allocations: 11.92 kB / 0.6215 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.003496, allocations: 43.83 kB / 0.6216 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.003598, allocations: 51.84 kB / 0.6216 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.003676, allocations: 7.984 kB / 0.6216 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.003751, allocations: 27.92 kB / 0.6217 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.003794, allocations: 19.95 kB / 0.6217 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.003814, allocations: 4 kB / 0.6217 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.003874, allocations: 23.92 kB / 0.6217 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of combineBinaries: time 8.118e-05/0.003955, allocations: 71.31 kB / 0.6218 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 2.809e-05/0.003984, allocations: 47.44 kB / 0.6218 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.004, allocations: 4 kB / 0.6218 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.057e-06/0.004009, allocations: 4 kB / 0.6218 GB, free: 2.184 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.0006355/0.004645, allocations: 340.4 kB / 0.6222 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 8.294e-05/0.004727, allocations: 48.09 kB / 0.6222 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0002981/0.005026, allocations: 224.2 kB / 0.6224 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001134/0.005139, allocations: 88.66 kB / 0.6225 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0003839/0.005523, allocations: 220.7 kB / 0.6227 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 9.869e-05/0.005622, allocations: 89.06 kB / 0.6228 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 4.876e-05/0.00567, allocations: 52.36 kB / 0.6228 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0002012/0.005872, allocations: 148.8 kB / 0.623 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 7.313e-05/0.005945, allocations: 35.86 kB / 0.623 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001575/0.006102, allocations: 116.5 kB / 0.6231 GB, free: 416 kB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0001808/0.006283, allocations: 104 kB / 0.6232 GB, free: 304 kB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000138/0.006421, allocations: 151.9 kB / 0.6234 GB, free: 152 kB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0002634/0.006684, allocations: 156.9 kB / 0.6235 GB, free: 15.93 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0002047/0.006889, allocations: 215.9 kB / 0.6237 GB, free: 15.71 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 1.679e-05/0.006906, allocations: 16.12 kB / 0.6237 GB, free: 15.69 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 5.225e-05/0.006958, allocations: 47.88 kB / 0.6238 GB, free: 15.64 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0004169/0.007375, allocations: 269.6 kB / 0.624 GB, free: 15.37 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.433e-05/0.007389, allocations: 8 kB / 0.6241 GB, free: 15.36 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.00739, allocations: 0 / 0.6241 GB, free: 15.36 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 4.018e-06/0.007394, allocations: 0 / 0.6241 GB, free: 15.36 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 4.799e-06/0.007399, allocations: 8 kB / 0.6241 GB, free: 15.35 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 7.434e-06/0.007406, allocations: 8 kB / 0.6241 GB, free: 15.34 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001638/0.00757, allocations: 107.9 kB / 0.6242 GB, free: 15.24 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 6.412e-06/0.007576, allocations: 0 / 0.6242 GB, free: 15.24 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.71e-07/0.007577, allocations: 0 / 0.6242 GB, free: 15.24 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) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sampler1.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: ........... 10 (scalar:10, 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.381e-05/0.00762, allocations: 33.22 kB / 0.6242 GB, free: 15.21 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005338/0.008154, allocations: 274.2 kB / 0.6245 GB, free: 14.92 MB / 0.545 GB Notification: Performance of Templates: time 0.003197/0.01135, allocations: 0.7418 MB / 0.6252 GB, free: 14.2 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.233256043866277] Failed to read output from testmodel.py, exit status != 0: 0.019127167761325836 0.033013251 0.026121154 Calling exit ...