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.001197/0.001197, allocations: 80.92 kB / 19.95 MB, free: 1.945 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.002013/0.002013, allocations: 168.6 kB / 23.22 MB, free: 4.961 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.358/1.358, 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.127/1.127, 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 178] 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 1.774e-05/1.774e-05, allocations: 2.281 kB / 0.6198 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001706/0.001724, allocations: 0.743 MB / 0.6206 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.003593, allocations: 1.365 MB / 0.6219 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.003655, allocations: 4.594 kB / 0.6219 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.003695, allocations: 11.81 kB / 0.6219 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.003775, allocations: 19.86 kB / 0.6219 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.004541, allocations: 313.2 kB / 0.6222 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.004952, allocations: 387.4 kB / 0.6226 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.005096, allocations: 41.28 kB / 0.6226 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.005369, allocations: 219.7 kB / 0.6229 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.005548, allocations: 115.7 kB / 0.623 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.005615, allocations: 36 kB / 0.623 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.005713, allocations: 40 kB / 0.623 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0003281/0.006041, allocations: 385.9 kB / 0.6234 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 7.614e-05/0.006118, allocations: 126.3 kB / 0.6235 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.006168, allocations: 20 kB / 0.6235 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.222e-05/0.00619, allocations: 11.88 kB / 0.6236 GB, free: 404 kB / 0.5294 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.001272/0.007462, allocations: 1.089 MB / 0.6246 GB, free: 15.18 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002454/0.007707, allocations: 251.7 kB / 0.6249 GB, free: 14.93 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.001339/0.009046, allocations: 1.325 MB / 0.6262 GB, free: 13.57 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0003911/0.009438, allocations: 302.9 kB / 0.6264 GB, free: 13.23 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.00136/0.0108, allocations: 1.034 MB / 0.6275 GB, free: 12.12 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003632/0.01116, allocations: 291 kB / 0.6277 GB, free: 11.79 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002837/0.01144, allocations: 277.4 kB / 0.628 GB, free: 11.49 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0006927/0.01214, allocations: 0.6007 MB / 0.6286 GB, free: 10.82 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.0003665/0.0125, allocations: 302.9 kB / 0.6289 GB, free: 10.55 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0006431/0.01315, allocations: 0.5322 MB / 0.6294 GB, free: 9.984 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0008787/0.01403, allocations: 0.6476 MB / 0.63 GB, free: 9.332 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001197/0.01522, allocations: 1.358 MB / 0.6314 GB, free: 7.973 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0008153/0.01604, allocations: 0.6051 MB / 0.6319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.001537/0.01758, allocations: 1.721 MB / 0.6336 GB, free: 5.57 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 5.23e-05/0.01763, allocations: 35.92 kB / 0.6337 GB, free: 5.527 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0003728/0.018, allocations: 379.6 kB / 0.634 GB, free: 5.156 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.001516/0.01952, allocations: 1.114 MB / 0.6351 GB, free: 4.027 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 3.088e-05/0.01955, allocations: 32 kB / 0.6351 GB, free: 3.996 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.01955, allocations: 0 / 0.6351 GB, free: 3.996 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 7.574e-06/0.01956, allocations: 4 kB / 0.6351 GB, free: 3.992 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.702e-05/0.01957, allocations: 24 kB / 0.6352 GB, free: 3.969 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 1.025e-05/0.01958, allocations: 0 / 0.6352 GB, free: 3.969 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0004638/0.02005, allocations: 346.4 kB / 0.6355 GB, free: 3.633 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 1.002e-05/0.02006, allocations: 0 / 0.6355 GB, free: 3.633 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.91e-07/0.02006, allocations: 0 / 0.6355 GB, free: 3.633 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: .................... 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.0001271/0.02018, allocations: 51.05 kB / 0.6355 GB, free: 3.598 MB / 0.545 GB Notification: Performance of SimCode: time 0.001231/0.02141, allocations: 0.8239 MB / 0.6363 GB, free: 2.75 MB / 0.545 GB Notification: Performance of Templates: time 0.008174/0.02959, allocations: 4.527 MB / 0.6408 GB, free: 14.29 MB / 0.5606 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: 5.403549928218126] Failed to read output from testmodel.py, exit status != 0: 0.03718028776347637 0.051227504 0.042152724 Calling exit ...