Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0008263/0.0008263, allocations: 80.25 kB / 20.06 MB, free: 4.465 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.000979/0.000979, 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.8706/0.8706, allocations: 177.2 MB / 203.7 MB, free: 5.707 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.6684/0.6684, allocations: 154.6 MB / 414.7 MB, free: 0.7461 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.834e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001233/0.001251, allocations: 0.7285 MB / 0.6203 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.0023, allocations: 1.194 MB / 0.6215 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.002343, allocations: 4 kB / 0.6215 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.002371, allocations: 11.88 kB / 0.6215 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.00243, allocations: 3.938 kB / 0.6215 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.002824, allocations: 147.4 kB / 0.6216 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.00297, allocations: 127.7 kB / 0.6217 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003072, allocations: 24.16 kB / 0.6218 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.003164, allocations: 67.89 kB / 0.6218 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.003232, allocations: 39.92 kB / 0.6219 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.003253, allocations: 12 kB / 0.6219 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.569e-05/0.003309, allocations: 27.98 kB / 0.6219 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of combineBinaries: time 9.386e-05/0.003403, allocations: 143 kB / 0.622 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.43e-05/0.003427, allocations: 63.09 kB / 0.6221 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.003458, allocations: 8 kB / 0.6221 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.682e-05/0.003474, allocations: 7.938 kB / 0.6221 GB, free: 10.42 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0004777/0.003952, allocations: 0.5308 MB / 0.6226 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 9.501e-05/0.004047, allocations: 60.02 kB / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0002314/0.004279, allocations: 356.1 kB / 0.623 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 9.402e-05/0.004373, allocations: 104.3 kB / 0.6231 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0004697/0.004842, allocations: 392.7 kB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 6.87e-05/0.004911, allocations: 104.3 kB / 0.6236 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 5.284e-05/0.004964, allocations: 92.36 kB / 0.6237 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001757/0.005139, allocations: 215.1 kB / 0.6239 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 6.465e-05/0.005204, allocations: 44.36 kB / 0.6239 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001127/0.005317, allocations: 120.5 kB / 0.6241 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.000162/0.005479, allocations: 163.9 kB / 0.6242 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001434/0.005622, allocations: 267.8 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001879/0.00581, allocations: 208.5 kB / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001923/0.006002, allocations: 371.6 kB / 0.625 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.224e-05/0.006015, allocations: 16.12 kB / 0.625 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 5.466e-05/0.006069, allocations: 83.91 kB / 0.6251 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002269/0.006296, allocations: 235.2 kB / 0.6253 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.071e-05/0.006307, allocations: 4 kB / 0.6253 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 5.41e-07/0.006307, allocations: 0 / 0.6253 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.738e-05/0.006355, allocations: 32.11 kB / 0.6254 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 4.208e-06/0.006359, allocations: 0 / 0.6254 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.124e-06/0.006361, allocations: 4 kB / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 6.653e-06/0.006368, allocations: 4 kB / 0.6254 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001029/0.006471, allocations: 99.92 kB / 0.6255 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001144/0.006585, allocations: 186 kB / 0.6257 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.01e-07/0.006586, allocations: 4.062 kB / 0.6257 GB, free: 6.258 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: .................... 3 (3) {triSam1.y, triSam.y, booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {triSam.trigger, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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 3.361e-05/0.006619, allocations: 21 kB / 0.6257 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004864/0.007106, allocations: 364.1 kB / 0.626 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of Templates: time 0.002443/0.009549, allocations: 1.301 MB / 0.6273 GB, free: 4.602 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.877929275855422] Failed to read output from testmodel.py, exit status != 0: 0.01424916461110115 0.025219582 0.020134773 Calling exit ...