Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001435/0.001435, allocations: 82.58 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.002354/0.002354, allocations: 164.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.415/1.415, allocations: 177.2 MB / 203.6 MB, free: 9.172 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.234/1.234, allocations: 154.7 MB / 414.7 MB, free: 5.164 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.817e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001857/0.001875, allocations: 0.7982 MB / 0.6203 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.00371, allocations: 1.309 MB / 0.6216 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.003768, allocations: 4 kB / 0.6216 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.003802, allocations: 7.875 kB / 0.6216 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.664e-05/0.003899, allocations: 31.78 kB / 0.6216 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.00477, allocations: 319.8 kB / 0.6219 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.00516, allocations: 315.4 kB / 0.6222 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.00527, allocations: 33.56 kB / 0.6223 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.005498, allocations: 163.7 kB / 0.6224 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.005664, allocations: 83.8 kB / 0.6225 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.005722, allocations: 24 kB / 0.6225 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.005819, allocations: 39.98 kB / 0.6226 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0003052/0.006124, allocations: 302 kB / 0.6228 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 9.043e-05/0.006215, allocations: 126.3 kB / 0.623 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.006269, allocations: 16 kB / 0.623 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.826e-05/0.006287, allocations: 8 kB / 0.623 GB, free: 1.008 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.001126/0.007412, allocations: 0.8907 MB / 0.6239 GB, free: 15.99 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.000106/0.007518, allocations: 79.94 kB / 0.6239 GB, free: 15.91 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.000701/0.008219, allocations: 0.5975 MB / 0.6245 GB, free: 15.28 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0003817/0.008601, allocations: 261.7 kB / 0.6248 GB, free: 14.98 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.001103/0.009704, allocations: 0.7056 MB / 0.6255 GB, free: 14.16 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003044/0.01001, allocations: 236.5 kB / 0.6257 GB, free: 13.88 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002375/0.01025, allocations: 204.2 kB / 0.6259 GB, free: 13.65 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0004932/0.01074, allocations: 361.9 kB / 0.6262 GB, free: 13.23 MB / 0.545 GB Notification: Performance of [SIM] Events: time 9.259e-05/0.01083, allocations: 47.91 kB / 0.6263 GB, free: 13.18 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0002166/0.01105, allocations: 161.6 kB / 0.6264 GB, free: 12.99 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0002943/0.01134, allocations: 190.6 kB / 0.6266 GB, free: 12.8 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005555/0.0119, allocations: 0.5347 MB / 0.6271 GB, free: 12.27 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0006453/0.01254, allocations: 461.7 kB / 0.6276 GB, free: 11.75 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0006428/0.01319, allocations: 0.605 MB / 0.6282 GB, free: 11.14 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 2.271e-05/0.01321, allocations: 12.12 kB / 0.6282 GB, free: 11.12 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0002307/0.01344, allocations: 191.8 kB / 0.6284 GB, free: 10.93 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0005754/0.01402, allocations: 366.9 kB / 0.6287 GB, free: 10.57 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.85e-05/0.01403, allocations: 16 kB / 0.6287 GB, free: 10.55 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.01403, allocations: 0 / 0.6287 GB, free: 10.55 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 7.774e-06/0.01404, allocations: 8 kB / 0.6287 GB, free: 10.54 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.883e-06/0.01404, allocations: 0 / 0.6287 GB, free: 10.54 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 7.774e-06/0.01405, allocations: 4 kB / 0.6287 GB, free: 10.54 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001603/0.01421, allocations: 88.12 kB / 0.6288 GB, free: 10.45 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 6.993e-06/0.01422, allocations: 0 / 0.6288 GB, free: 10.45 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.01e-07/0.01422, allocations: 0 / 0.6288 GB, free: 10.45 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 8.055e-05/0.0143, allocations: 34.47 kB / 0.6288 GB, free: 10.43 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007589/0.01506, allocations: 0.5304 MB / 0.6294 GB, free: 9.883 MB / 0.545 GB Notification: Performance of Templates: time 0.005725/0.02078, allocations: 2.542 MB / 0.6318 GB, free: 7.391 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.650773838162422] Failed to read output from testmodel.py, exit status != 0: 0.0285697802901268 0.04330409299999994 0.033923368 Calling exit ...