Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.0007601/0.0007601, allocations: 80.25 kB / 20.05 MB, free: 4.469 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.0008406/0.0008406, allocations: 178.3 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.8383/0.8383, 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.6648/0.6648, allocations: 154.6 MB / 414.7 MB, free: 0.7578 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/1.984e-05, allocations: 2.312 kB / 0.6197 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001615/0.001635, allocations: 0.7618 MB / 0.6204 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002697, allocations: 1.178 MB / 0.6216 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.00274, allocations: 0 / 0.6216 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.002767, allocations: 7.922 kB / 0.6216 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.002827, allocations: 15.88 kB / 0.6216 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.003214, allocations: 127.6 kB / 0.6217 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.003365, allocations: 147.7 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.003447, allocations: 4 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.003545, allocations: 79.86 kB / 0.6219 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.003613, allocations: 35.94 kB / 0.622 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.003634, allocations: 12 kB / 0.622 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.003686, allocations: 23.98 kB / 0.622 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of combineBinaries: time 9.277e-05/0.003779, allocations: 146.9 kB / 0.6221 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.018e-05/0.003799, allocations: 59.25 kB / 0.6222 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.003825, allocations: 12 kB / 0.6222 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.224e-05/0.003837, allocations: 3.938 kB / 0.6222 GB, free: 10.31 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.0004543/0.004291, allocations: 0.5036 MB / 0.6227 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 6.172e-05/0.004353, allocations: 60 kB / 0.6227 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0001958/0.004549, allocations: 304.1 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 9.562e-05/0.004644, allocations: 108.3 kB / 0.6231 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0004034/0.005048, allocations: 332.7 kB / 0.6235 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 7.259e-05/0.00512, allocations: 100.3 kB / 0.6236 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 5.688e-05/0.005177, allocations: 96.34 kB / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.00017/0.005347, allocations: 209.3 kB / 0.6238 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 8.822e-05/0.005436, allocations: 71.83 kB / 0.6239 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001201/0.005556, allocations: 136.4 kB / 0.624 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001777/0.005733, allocations: 159.9 kB / 0.6242 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001685/0.005902, allocations: 303.7 kB / 0.6245 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0002026/0.006104, allocations: 212.4 kB / 0.6247 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001864/0.006291, allocations: 359.7 kB / 0.625 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.03e-05/0.006301, allocations: 12.12 kB / 0.625 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 5.957e-05/0.006361, allocations: 95.84 kB / 0.6251 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002202/0.006581, allocations: 215.7 kB / 0.6253 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 8.626e-06/0.006589, allocations: 8 kB / 0.6253 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 5.41e-07/0.00659, allocations: 0 / 0.6253 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.883e-05/0.006639, allocations: 36.11 kB / 0.6254 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.687e-06/0.006643, allocations: 0 / 0.6254 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 4.118e-06/0.006647, allocations: 12 kB / 0.6254 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 6.923e-06/0.006654, allocations: 0 / 0.6254 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001254/0.006779, allocations: 151.9 kB / 0.6255 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.763e-05/0.006877, allocations: 186 kB / 0.6257 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.01e-07/0.006877, allocations: 11.97 kB / 0.6257 GB, free: 6.16 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: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$TEV_5, $TEV_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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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 2.965e-05/0.006907, allocations: 15.52 kB / 0.6257 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004616/0.007368, allocations: 369.7 kB / 0.6261 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of Templates: time 0.002518/0.009886, allocations: 1.381 MB / 0.6274 GB, free: 4.426 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.878111089579761] Failed to read output from testmodel.py, exit status != 0: 0.014574103988707066 0.021849517000000002 0.016522512 Calling exit ...