Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.00132/0.00132, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.001473/0.001473, allocations: 168.1 kB / 23.23 MB, free: 4.207 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.361/1.361, allocations: 177.2 MB / 203.6 MB, free: 8.234 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.215/1.215, allocations: 154.7 MB / 414.7 MB, free: 6.496 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 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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.508e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001704/0.001719, allocations: 0.6946 MB / 0.6202 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.003429, allocations: 1.219 MB / 0.6214 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.003483, allocations: 4 kB / 0.6214 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.003518, allocations: 7.922 kB / 0.6214 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.003576, allocations: 7.875 kB / 0.6214 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.00409, allocations: 147.6 kB / 0.6215 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.004277, allocations: 120.2 kB / 0.6217 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.004366, allocations: 19.91 kB / 0.6217 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.004483, allocations: 64.11 kB / 0.6217 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.004578, allocations: 43.88 kB / 0.6218 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.004606, allocations: 8 kB / 0.6218 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.004682, allocations: 27.92 kB / 0.6218 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0001423/0.004825, allocations: 127.1 kB / 0.6219 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 4.39e-05/0.004869, allocations: 53.05 kB / 0.622 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.004899, allocations: 8 kB / 0.622 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.19e-05/0.004911, allocations: 4 kB / 0.622 GB, free: 1.895 MB / 0.5137 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.0006873/0.005598, allocations: 477.1 kB / 0.6224 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001052/0.005703, allocations: 52.58 kB / 0.6225 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.0004044/0.006108, allocations: 336.7 kB / 0.6228 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.0001884/0.006296, allocations: 126.5 kB / 0.6229 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.0005788/0.006875, allocations: 327 kB / 0.6233 GB, free: 340 kB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.0001686/0.007044, allocations: 128.6 kB / 0.6234 GB, free: 164 kB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.0001214/0.007165, allocations: 96.34 kB / 0.6235 GB, free: 40 kB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.0003129/0.007478, allocations: 209.8 kB / 0.6237 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 8.217e-05/0.00756, allocations: 36.3 kB / 0.6237 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001821/0.007742, allocations: 124.5 kB / 0.6238 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0001957/0.007938, allocations: 113 kB / 0.6239 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002609/0.008199, allocations: 251.8 kB / 0.6242 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0003471/0.008546, allocations: 228.7 kB / 0.6244 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0003546/0.0089, allocations: 339.7 kB / 0.6247 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 2.212e-05/0.008923, allocations: 20.11 kB / 0.6247 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.0001196/0.009042, allocations: 83.91 kB / 0.6248 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0003103/0.009353, allocations: 168.8 kB / 0.625 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.256e-05/0.009365, allocations: 8.875 kB / 0.625 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.009365, allocations: 7.875 kB / 0.625 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 4.288e-06/0.00937, allocations: 1.125 kB / 0.625 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 7.474e-06/0.009377, allocations: 12 kB / 0.625 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 6.722e-06/0.009384, allocations: 0 / 0.625 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0001176/0.009502, allocations: 58.47 kB / 0.6251 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 7.995e-06/0.00951, allocations: 0 / 0.6251 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.11e-07/0.00951, allocations: 0 / 0.6251 GB, free: 14.23 MB / 0.5294 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) {booPul.y, triggeredMax.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$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: ........... 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: ........... 9 (scalar:9, 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.867e-05/0.009549, allocations: 16.06 kB / 0.6251 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0005702/0.01012, allocations: 326.9 kB / 0.6254 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.004078/0.0142, allocations: 1.226 MB / 0.6266 GB, free: 12.72 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5569953545928] Failed to read output from testmodel.py, exit status != 0: 0.021909642964601517 0.036825411 0.028889296000000002 Calling exit ...