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.001291/0.001291, allocations: 81.39 kB / 19.95 MB, free: 1.941 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.00146/0.00146, allocations: 165.3 kB / 23.22 MB, free: 4.965 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.343/1.343, allocations: 177.2 MB / 203.6 MB, free: 9.191 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.118/1.118, allocations: 155 MB / 415 MB, free: 4.93 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.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 1.963e-05/1.963e-05, allocations: 2.281 kB / 0.6198 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001739/0.001759, allocations: 0.799 MB / 0.6206 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.003615, allocations: 1.312 MB / 0.6219 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.003679, allocations: 4 kB / 0.6219 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.003715, allocations: 8.469 kB / 0.6219 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.003816, allocations: 32.69 kB / 0.6219 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.004654, allocations: 326.1 kB / 0.6223 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.005018, allocations: 307.4 kB / 0.6225 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.005136, allocations: 33.56 kB / 0.6226 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.005336, allocations: 163.8 kB / 0.6227 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.005487, allocations: 83.8 kB / 0.6228 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.005545, allocations: 24 kB / 0.6228 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.005634, allocations: 39.98 kB / 0.6229 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0002701/0.005904, allocations: 309.9 kB / 0.6232 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 7.894e-05/0.005983, allocations: 118.4 kB / 0.6233 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.006027, allocations: 16 kB / 0.6233 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.47e-05/0.006051, allocations: 11.88 kB / 0.6233 GB, free: 0.6719 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: 19 (19) * Number of variables: 19 (19) Notification: Performance of [SIM] Bindings: time 0.001074/0.007126, allocations: 0.8932 MB / 0.6242 GB, free: 15.66 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001009/0.007226, allocations: 79.98 kB / 0.6243 GB, free: 15.57 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.001011/0.008237, allocations: 0.9234 MB / 0.6252 GB, free: 14.62 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0003955/0.008633, allocations: 317.7 kB / 0.6255 GB, free: 14.27 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.001097/0.00973, allocations: 0.7677 MB / 0.6262 GB, free: 13.38 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003654/0.0101, allocations: 312.3 kB / 0.6265 GB, free: 13.03 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002848/0.01038, allocations: 264.1 kB / 0.6268 GB, free: 12.74 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0004995/0.01088, allocations: 411.9 kB / 0.6272 GB, free: 12.27 MB / 0.545 GB Notification: Performance of [SIM] Events: time 9.444e-05/0.01097, allocations: 60.14 kB / 0.6272 GB, free: 12.21 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0002108/0.01118, allocations: 161.7 kB / 0.6274 GB, free: 12.02 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0002794/0.01146, allocations: 174.9 kB / 0.6275 GB, free: 11.85 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005923/0.01206, allocations: 0.6283 MB / 0.6281 GB, free: 11.22 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0007867/0.01284, allocations: 0.5482 MB / 0.6287 GB, free: 10.61 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0007989/0.01364, allocations: 0.8039 MB / 0.6295 GB, free: 9.797 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 2.254e-05/0.01366, allocations: 12.12 kB / 0.6295 GB, free: 9.777 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.000293/0.01396, allocations: 227.8 kB / 0.6297 GB, free: 9.555 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0006209/0.01458, allocations: 399.7 kB / 0.6301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.747e-05/0.0146, allocations: 8 kB / 0.6301 GB, free: 9.148 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 4.5e-07/0.0146, allocations: 4 kB / 0.6301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 4.779e-06/0.0146, allocations: 0 / 0.6301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 5.591e-06/0.01461, allocations: 8 kB / 0.6301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 9.719e-06/0.01462, allocations: 4 kB / 0.6301 GB, free: 9.133 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001452/0.01476, allocations: 84.12 kB / 0.6302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 8.095e-06/0.01477, allocations: 0 / 0.6302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.81e-07/0.01477, allocations: 0 / 0.6302 GB, free: 9.051 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: ................. 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 9.856e-05/0.01487, allocations: 26.84 kB / 0.6302 GB, free: 9.031 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008495/0.01572, allocations: 0.5576 MB / 0.6308 GB, free: 8.449 MB / 0.545 GB Notification: Performance of Templates: time 0.00613/0.02185, allocations: 2.902 MB / 0.6336 GB, free: 5.598 MB / 0.545 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: 5.252982411533594] Failed to read output from testmodel.py, exit status != 0: 0.02921767719089985 0.042558775 0.033749452 Calling exit ...