Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001672/0.001672, allocations: 82.42 kB / 19.96 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.002017/0.002017, allocations: 163.2 kB / 23.23 MB, free: 4.969 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.42/1.42, allocations: 177.2 MB / 203.6 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.214/1.214, allocations: 154.7 MB / 414.7 MB, free: 5.152 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.494e-05, allocations: 7.328 kB / 0.6195 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002098/0.002123, allocations: 0.6786 MB / 0.6202 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.004238, allocations: 1.283 MB / 0.6214 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.004308, allocations: 0 / 0.6214 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.004347, allocations: 7.922 kB / 0.6214 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/0.004437, allocations: 15.86 kB / 0.6215 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.005469, allocations: 316 kB / 0.6218 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.005873, allocations: 271.5 kB / 0.622 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005975, allocations: 16.19 kB / 0.622 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.006227, allocations: 139.8 kB / 0.6222 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.006397, allocations: 75.86 kB / 0.6222 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/0.006459, allocations: 24 kB / 0.6223 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.00656, allocations: 31.98 kB / 0.6223 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0002798/0.006839, allocations: 234.7 kB / 0.6225 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 6.484e-05/0.006904, allocations: 67.16 kB / 0.6226 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.007021, allocations: 16 kB / 0.6226 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.294e-05/0.007044, allocations: 11.88 kB / 0.6226 GB, free: 1.371 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.001128/0.008172, allocations: 0.7301 MB / 0.6233 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001054/0.008278, allocations: 56.02 kB / 0.6234 GB, free: 464 kB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0006537/0.008931, allocations: 0.4961 MB / 0.6239 GB, free: 15.93 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0003785/0.00931, allocations: 236.4 kB / 0.6241 GB, free: 15.65 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.0008736/0.01018, allocations: 456.7 kB / 0.6245 GB, free: 15.13 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003776/0.01056, allocations: 224.4 kB / 0.6247 GB, free: 14.87 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002725/0.01083, allocations: 200.2 kB / 0.6249 GB, free: 14.64 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0005348/0.01137, allocations: 347.7 kB / 0.6253 GB, free: 14.24 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.0001175/0.01149, allocations: 63.77 kB / 0.6253 GB, free: 14.18 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0001907/0.01168, allocations: 120.5 kB / 0.6254 GB, free: 14.03 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0002582/0.01193, allocations: 135.9 kB / 0.6256 GB, free: 13.89 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005812/0.01252, allocations: 0.4957 MB / 0.626 GB, free: 13.39 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0006768/0.01319, allocations: 408.6 kB / 0.6264 GB, free: 12.92 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.000665/0.01386, allocations: 0.5152 MB / 0.6269 GB, free: 12.4 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 3.567e-05/0.01389, allocations: 24.05 kB / 0.627 GB, free: 12.37 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0002649/0.01416, allocations: 163.8 kB / 0.6271 GB, free: 12.21 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0005142/0.01467, allocations: 276.6 kB / 0.6274 GB, free: 11.93 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.523e-05/0.01469, allocations: 8 kB / 0.6274 GB, free: 11.93 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 5.41e-07/0.01469, allocations: 0 / 0.6274 GB, free: 11.93 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 8.205e-06/0.0147, allocations: 4 kB / 0.6274 GB, free: 11.92 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 3.807e-06/0.0147, allocations: 4 kB / 0.6274 GB, free: 11.92 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 7.765e-06/0.01471, allocations: 0 / 0.6274 GB, free: 11.92 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001204/0.01483, allocations: 63.94 kB / 0.6275 GB, free: 11.86 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 1.041e-05/0.01484, allocations: 0.5625 kB / 0.6275 GB, free: 11.86 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.11e-07/0.01484, allocations: 0 / 0.6275 GB, free: 11.86 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: ................. 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 5.28e-05/0.01489, allocations: 37.94 kB / 0.6275 GB, free: 11.84 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008535/0.01575, allocations: 420.3 kB / 0.6279 GB, free: 11.41 MB / 0.545 GB Notification: Performance of Templates: time 0.006621/0.02237, allocations: 2.387 MB / 0.6302 GB, free: 9.07 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5818473771214485] Failed to read output from testmodel.py, exit status != 0: 0.03115483745932579 0.048126178000000006 0.037711332 Calling exit ...