Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.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.0007205/0.0007205, 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.0007103/0.0007103, allocations: 177.9 kB / 23.36 MB, free: 1.156 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.8143/0.8143, allocations: 177.1 MB / 203.7 MB, free: 5.676 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.6758/0.6758, allocations: 154.6 MB / 414.7 MB, free: 0.7812 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.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.233e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001311/0.001334, allocations: 0.7345 MB / 0.6203 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.002649, allocations: 1.365 MB / 0.6216 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.002714, allocations: 0 / 0.6216 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.002754, allocations: 11.86 kB / 0.6216 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.002822, allocations: 23.8 kB / 0.6216 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.00344, allocations: 307.2 kB / 0.6219 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.003722, allocations: 379.5 kB / 0.6223 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.003855, allocations: 37.28 kB / 0.6223 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.004045, allocations: 227.7 kB / 0.6225 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.004172, allocations: 107.7 kB / 0.6227 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.004212, allocations: 36 kB / 0.6227 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.004284, allocations: 55.97 kB / 0.6227 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001941/0.004478, allocations: 377.9 kB / 0.6231 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 4.086e-05/0.004519, allocations: 118.5 kB / 0.6232 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.004559, allocations: 24 kB / 0.6232 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.833e-05/0.004577, allocations: 7.875 kB / 0.6232 GB, free: 9.297 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.0007841/0.005361, allocations: 1.087 MB / 0.6243 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001537/0.005515, allocations: 267.6 kB / 0.6246 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0007727/0.006287, allocations: 1.012 MB / 0.6255 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.000186/0.006473, allocations: 217.3 kB / 0.6258 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0008927/0.007366, allocations: 1.022 MB / 0.6268 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 0.0001414/0.007508, allocations: 201.5 kB / 0.6269 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 0.0001233/0.007631, allocations: 221.4 kB / 0.6272 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0004203/0.008051, allocations: 0.5834 MB / 0.6277 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 0.0002608/0.008312, allocations: 310.8 kB / 0.628 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0003783/0.00869, allocations: 0.5166 MB / 0.6285 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0005896/0.00928, allocations: 0.7063 MB / 0.6292 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006687/0.009948, allocations: 1.315 MB / 0.6305 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0004681/0.01042, allocations: 0.5039 MB / 0.631 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.000879/0.0113, allocations: 1.424 MB / 0.6324 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of [INI] Partitioning: time 3.434e-05/0.01133, allocations: 32 kB / 0.6324 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of [INI] Cleanup: time 0.0002018/0.01153, allocations: 363.6 kB / 0.6328 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of [INI] Causalize: time 0.0009711/0.0125, allocations: 1.185 MB / 0.6339 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of [INI] Tearing: time 2.085e-05/0.01252, allocations: 36 kB / 0.634 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of [SIM] Initialization: time 7.42e-07/0.01252, allocations: 4 kB / 0.634 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of [SIM] DAE-Mode: time 2.896e-05/0.01255, allocations: 32.06 kB / 0.634 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of [SIM] Remove Dummies: time 5.831e-06/0.01256, allocations: 0 / 0.634 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of [SIM] Tearing: time 8.726e-06/0.01257, allocations: 24 kB / 0.634 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of [SIM] Categorize: time 9.608e-06/0.01258, allocations: 0 / 0.634 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of [SIM] Solve: time 0.0002918/0.01287, allocations: 342.4 kB / 0.6343 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of [SIM] Jacobian: time 7.664e-06/0.01288, allocations: 0 / 0.6343 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.31e-07/0.01288, allocations: 4 kB / 0.6343 GB, free: 13.45 MB / 0.6042 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: .................... 8 (8) {togInp.y, cleInp.y, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 36 (36) {falCleTruIni.u, falCleTruIni.clr, falCleFalIni.u, falCleFalIni.clr, truCleTruIni.u, truCleTruIni.clr, truCleFalIni.u, truCleFalIni.clr, swiCleInp.u, swiCleInp.clr, swiCleInp1.u, swiCleInp1.clr, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 36 (scalar:36, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, 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 0.0001049/0.01298, allocations: 55.98 kB / 0.6344 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008723/0.01385, allocations: 0.7231 MB / 0.6351 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.004531/0.01839, allocations: 3.784 MB / 0.6388 GB, free: 8.938 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.3518263371661305] Failed to read output from testmodel.py, exit status != 0: 0.023715096525847912 0.030717729000000003 0.024589829 Calling exit ...