Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.001288/0.001288, allocations: 84.36 kB / 19.95 MB, free: 1.766 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.001505/0.001505, allocations: 173 kB / 23.23 MB, free: 4.871 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.331/1.331, allocations: 177.2 MB / 203.6 MB, free: 9.18 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.112/1.112, allocations: 155 MB / 415 MB, free: 4.906 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.494e-05, allocations: 4.391 kB / 0.6198 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001742/0.001777, allocations: 0.6744 MB / 0.6205 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.003573, allocations: 1.291 MB / 0.6218 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.003625, allocations: 0 / 0.6218 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.003662, allocations: 3.938 kB / 0.6218 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.00375, allocations: 23.8 kB / 0.6218 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.004581, allocations: 306.4 kB / 0.6221 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.004904, allocations: 275.5 kB / 0.6223 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005008, allocations: 16.12 kB / 0.6224 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.0052, allocations: 143.8 kB / 0.6225 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.005343, allocations: 71.88 kB / 0.6226 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.005401, allocations: 24 kB / 0.6226 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.005492, allocations: 39.92 kB / 0.6226 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0002267/0.005719, allocations: 230.8 kB / 0.6228 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 5.539e-05/0.005775, allocations: 71.09 kB / 0.6229 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.005818, allocations: 16 kB / 0.6229 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.618e-05/0.005834, allocations: 3.938 kB / 0.6229 GB, free: 1.043 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.000911/0.006745, allocations: 0.734 MB / 0.6236 GB, free: 192 kB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 8.89e-05/0.006834, allocations: 56.06 kB / 0.6237 GB, free: 124 kB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0009335/0.007768, allocations: 0.7914 MB / 0.6245 GB, free: 15.31 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.000393/0.008161, allocations: 308.4 kB / 0.6248 GB, free: 14.96 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.000789/0.00895, allocations: 0.5047 MB / 0.6253 GB, free: 14.38 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003596/0.009309, allocations: 304.4 kB / 0.6255 GB, free: 14.04 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002867/0.009596, allocations: 264.1 kB / 0.6258 GB, free: 13.75 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0004844/0.01008, allocations: 396.5 kB / 0.6262 GB, free: 13.3 MB / 0.545 GB Notification: Performance of [SIM] Events: time 9.763e-05/0.01018, allocations: 63.95 kB / 0.6262 GB, free: 13.24 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0001796/0.01036, allocations: 120.5 kB / 0.6264 GB, free: 13.09 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0002457/0.0106, allocations: 143.9 kB / 0.6265 GB, free: 12.94 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005513/0.01115, allocations: 0.5698 MB / 0.627 GB, free: 12.37 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0006493/0.0118, allocations: 0.4926 MB / 0.6275 GB, free: 11.8 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0007161/0.01252, allocations: 0.7103 MB / 0.6282 GB, free: 11.09 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 2.35e-05/0.01254, allocations: 16.12 kB / 0.6282 GB, free: 11.07 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0002298/0.01277, allocations: 207.8 kB / 0.6284 GB, free: 10.86 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0004407/0.01321, allocations: 282.8 kB / 0.6287 GB, free: 10.58 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.474e-05/0.01323, allocations: 8 kB / 0.6287 GB, free: 10.57 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.01323, allocations: 4 kB / 0.6287 GB, free: 10.57 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 4.869e-06/0.01323, allocations: 0 / 0.6287 GB, free: 10.57 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 6.082e-06/0.01324, allocations: 8 kB / 0.6287 GB, free: 10.56 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 9.337e-06/0.01325, allocations: 4 kB / 0.6287 GB, free: 10.55 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001041/0.01335, allocations: 47.91 kB / 0.6288 GB, free: 10.51 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 1.011e-05/0.01336, allocations: 3.938 kB / 0.6288 GB, free: 10.5 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.01e-07/0.01336, allocations: 4 kB / 0.6288 GB, free: 10.5 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: .................... 3 (3) {booPul3.y, booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {logicalSwitch.y, $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: ........... 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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.691e-05/0.01341, allocations: 24.8 kB / 0.6288 GB, free: 10.48 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007687/0.01418, allocations: 473.9 kB / 0.6293 GB, free: 10 MB / 0.545 GB Notification: Performance of Templates: time 0.005954/0.02013, allocations: 2.74 MB / 0.6319 GB, free: 7.32 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.264640044420958] Failed to read output from testmodel.py, exit status != 0: 0.028135715052485466 0.042281666 0.033531934 Calling exit ...