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.0007427/0.0007427, allocations: 76.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.000823/0.000823, 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.804/0.804, allocations: 177.1 MB / 203.7 MB, free: 5.727 MB / 186.7 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-535:34: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-535:42: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 0.649/0.649, allocations: 154.6 MB / 414.7 MB, free: 0.7852 MB / 378.7 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 2.193e-05/2.193e-05, allocations: 5.406 kB / 0.6195 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001267/0.001289, allocations: 0.6732 MB / 0.6202 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.002454, allocations: 1.291 MB / 0.6215 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.002497, allocations: 0 / 0.6215 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.002523, allocations: 3.938 kB / 0.6215 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.002593, allocations: 23.86 kB / 0.6215 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.003141, allocations: 295.3 kB / 0.6218 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.003355, allocations: 271.5 kB / 0.622 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.003448, allocations: 12.19 kB / 0.622 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.003574, allocations: 139.8 kB / 0.6222 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/0.003671, allocations: 75.81 kB / 0.6222 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.003699, allocations: 24 kB / 0.6223 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.11e-05/0.00376, allocations: 31.98 kB / 0.6223 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001294/0.00389, allocations: 234.8 kB / 0.6225 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.348e-05/0.003913, allocations: 67.09 kB / 0.6226 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.003948, allocations: 16 kB / 0.6226 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.175e-05/0.00396, allocations: 4 kB / 0.6226 GB, free: 9.945 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.0005562/0.004516, allocations: 0.7302 MB / 0.6233 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 6.253e-05/0.004578, allocations: 71.94 kB / 0.6234 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0002927/0.004871, allocations: 0.4922 MB / 0.6239 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.0001493/0.00502, allocations: 200.1 kB / 0.6241 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.000484/0.005504, allocations: 473 kB / 0.6245 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 0.0001261/0.00563, allocations: 196.2 kB / 0.6247 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 0.0001052/0.005736, allocations: 196.2 kB / 0.6249 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0002487/0.005984, allocations: 344.6 kB / 0.6252 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 7.214e-05/0.006057, allocations: 59.92 kB / 0.6253 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001136/0.00617, allocations: 124.5 kB / 0.6254 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0002967/0.006467, allocations: 143.9 kB / 0.6255 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002587/0.006726, allocations: 0.5073 MB / 0.626 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0002979/0.007024, allocations: 364.3 kB / 0.6264 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.000268/0.007292, allocations: 0.5269 MB / 0.6269 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.292e-05/0.007304, allocations: 20.06 kB / 0.6269 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 0.0001229/0.007427, allocations: 171.8 kB / 0.6271 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002751/0.007703, allocations: 288.9 kB / 0.6273 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.059e-05/0.007713, allocations: 8 kB / 0.6274 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.007714, allocations: 4 kB / 0.6274 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.41e-05/0.007728, allocations: 12.12 kB / 0.6274 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.607e-06/0.007731, allocations: 0 / 0.6274 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.244e-06/0.007734, allocations: 8 kB / 0.6274 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 6.632e-06/0.00774, allocations: 0 / 0.6274 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 6.919e-05/0.007809, allocations: 59.91 kB / 0.6274 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 6.632e-06/0.007816, allocations: 0 / 0.6274 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.71e-07/0.007816, allocations: 0 / 0.6274 GB, free: 4.5 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) {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 3.388e-05/0.00785, allocations: 26.88 kB / 0.6275 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004876/0.008338, allocations: 414.6 kB / 0.6279 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of Templates: time 0.003107/0.01144, allocations: 2.278 MB / 0.6301 GB, free: 1.836 MB / 0.5886 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: 3.2707816241309047] Failed to read output from testmodel.py, exit status != 0: 0.016000081785023212 0.024058308999999937 0.018527622 Calling exit ...