Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.00078/0.00078, 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.000826/0.000826, allocations: 178.3 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.7679/0.7679, 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 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.6296/0.6296, allocations: 154.6 MB / 414.7 MB, free: 0.7969 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.18e-05, allocations: 5.266 kB / 0.6195 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001655/0.001677, allocations: 0.7951 MB / 0.6203 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002792, allocations: 1.314 MB / 0.6216 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.002837, allocations: 0 / 0.6216 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.002867, allocations: 11.81 kB / 0.6216 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.002937, allocations: 27.78 kB / 0.6216 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.003423, allocations: 315.2 kB / 0.6219 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.003633, allocations: 311.4 kB / 0.6222 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.003731, allocations: 33.55 kB / 0.6223 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.003852, allocations: 155.8 kB / 0.6224 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.003949, allocations: 87.73 kB / 0.6225 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.004097, allocations: 27.98 kB / 0.6225 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.004154, allocations: 39.98 kB / 0.6226 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001439/0.004298, allocations: 306 kB / 0.6229 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 3.686e-05/0.004335, allocations: 118.4 kB / 0.623 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.004368, allocations: 20 kB / 0.623 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.668e-05/0.004385, allocations: 7.875 kB / 0.623 GB, free: 9.508 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: 19 (19) * Number of variables: 19 (19) Notification: Performance of [SIM] Bindings: time 0.0006445/0.005029, allocations: 0.8907 MB / 0.6239 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 6.609e-05/0.005095, allocations: 76.06 kB / 0.6239 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0003217/0.005417, allocations: 0.6092 MB / 0.6245 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.0001563/0.005573, allocations: 216.2 kB / 0.6247 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0006415/0.006215, allocations: 0.7094 MB / 0.6254 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 0.0001278/0.006342, allocations: 208.1 kB / 0.6256 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 0.0003434/0.006686, allocations: 200.2 kB / 0.6258 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0002642/0.00695, allocations: 366.2 kB / 0.6262 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 7.12e-05/0.007021, allocations: 59.72 kB / 0.6262 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001279/0.007149, allocations: 157.2 kB / 0.6264 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001916/0.007341, allocations: 196 kB / 0.6266 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002612/0.007602, allocations: 0.5502 MB / 0.6271 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0003201/0.007922, allocations: 412.2 kB / 0.6275 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0003007/0.008223, allocations: 0.6166 MB / 0.6281 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.387e-05/0.008237, allocations: 20.05 kB / 0.6281 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 0.0001081/0.008345, allocations: 187.8 kB / 0.6283 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0003501/0.008695, allocations: 402.7 kB / 0.6287 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.089e-05/0.008706, allocations: 8 kB / 0.6287 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 5.51e-07/0.008706, allocations: 8 kB / 0.6287 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.518e-05/0.008721, allocations: 16.12 kB / 0.6287 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.416e-06/0.008725, allocations: 0 / 0.6287 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.525e-06/0.008727, allocations: 4 kB / 0.6287 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 6.752e-06/0.008734, allocations: 4 kB / 0.6287 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 9.539e-05/0.00883, allocations: 76.14 kB / 0.6288 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 5.841e-06/0.008835, allocations: 4 kB / 0.6288 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.41e-07/0.008836, allocations: 0 / 0.6288 GB, free: 3.031 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: ................. 11 (11) {integerSwitch.y, booToInt.y, proInt.y, booToInt1.y, proInt1.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: ........... 11 (scalar:11, 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: ........... 18 (scalar:18, 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.77e-05/0.008873, allocations: 28.22 kB / 0.6288 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0005188/0.009392, allocations: 0.4974 MB / 0.6293 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of Templates: time 0.003088/0.01248, allocations: 2.443 MB / 0.6317 GB, free: 100 kB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.147040732204914] Failed to read output from testmodel.py, exit status != 0: 0.018410620279610157 0.024413697 0.018561856 Calling exit ...