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.0007678/0.0007678, allocations: 84.23 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.0007522/0.0007522, allocations: 173.9 kB / 23.36 MB, free: 1.164 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.8404/0.8404, allocations: 177.2 MB / 203.7 MB, free: 5.723 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.6782/0.6782, allocations: 154.6 MB / 414.7 MB, free: 0.7695 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.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 2.002e-05/2.002e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00133/0.00135, allocations: 0.6974 MB / 0.6203 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002456, allocations: 1.229 MB / 0.6215 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.002502, allocations: 4 kB / 0.6215 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.00253, allocations: 3.938 kB / 0.6215 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.002595, allocations: 23.84 kB / 0.6215 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.002998, allocations: 131.6 kB / 0.6216 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.00315, allocations: 127.7 kB / 0.6217 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.003247, allocations: 7.984 kB / 0.6217 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.003343, allocations: 63.94 kB / 0.6218 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.003417, allocations: 39.89 kB / 0.6218 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.003438, allocations: 12 kB / 0.6218 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.003499, allocations: 31.91 kB / 0.6219 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of combineBinaries: time 8.568e-05/0.003584, allocations: 119.2 kB / 0.622 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.03e-05/0.003605, allocations: 51.34 kB / 0.622 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.003633, allocations: 8 kB / 0.622 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-05/0.003647, allocations: 7.875 kB / 0.6221 GB, free: 10.55 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004728/0.00412, allocations: 484.1 kB / 0.6225 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 9.783e-05/0.004217, allocations: 52.08 kB / 0.6226 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0002335/0.004451, allocations: 328.1 kB / 0.6229 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 9.306e-05/0.004544, allocations: 104.3 kB / 0.623 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0004101/0.004954, allocations: 329.2 kB / 0.6233 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 6.95e-05/0.005024, allocations: 108.3 kB / 0.6234 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 5.811e-05/0.005082, allocations: 104.3 kB / 0.6235 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001894/0.005271, allocations: 211.7 kB / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 6.994e-05/0.005341, allocations: 39.83 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001146/0.005456, allocations: 120.5 kB / 0.6238 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001517/0.005607, allocations: 108.1 kB / 0.624 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001421/0.005749, allocations: 263.8 kB / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001948/0.005944, allocations: 196.4 kB / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001884/0.006133, allocations: 339.8 kB / 0.6247 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 9.998e-06/0.006143, allocations: 12.12 kB / 0.6247 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 5.863e-05/0.006201, allocations: 87.84 kB / 0.6248 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0004833/0.006685, allocations: 196.2 kB / 0.625 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.094e-05/0.006696, allocations: 4 kB / 0.625 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 6.01e-07/0.006696, allocations: 0 / 0.625 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.485e-05/0.006741, allocations: 36.05 kB / 0.625 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 4.128e-06/0.006745, allocations: 0 / 0.625 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.194e-06/0.006747, allocations: 4 kB / 0.625 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 7.504e-06/0.006755, allocations: 8 kB / 0.625 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 9.474e-05/0.00685, allocations: 83.92 kB / 0.6251 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.964e-05/0.006949, allocations: 186 kB / 0.6253 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.91e-07/0.00695, allocations: 4.125 kB / 0.6253 GB, free: 6.68 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: .................... 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.193e-05/0.006982, allocations: 10.44 kB / 0.6253 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004909/0.007473, allocations: 333.9 kB / 0.6256 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of Templates: time 0.002636/0.01011, allocations: 1.254 MB / 0.6269 GB, free: 5.105 MB / 0.5886 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 os._exit(0), Time elapsed: 6.202836950309575] Failed to read output from testmodel.py, exit status != 0: 0.014912253245711327 0.023361199000000003 0.017778463 Calling exit ...