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.0007562/0.0007562, allocations: 80.25 kB / 20.06 MB, free: 4.465 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.000866/0.000866, allocations: 173.9 kB / 23.36 MB, free: 1.16 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.8124/0.8124, allocations: 177.2 MB / 203.7 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.6546/0.6546, allocations: 154.6 MB / 414.7 MB, free: 0.7578 MB / 378.7 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 179] 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 1.867e-05/1.867e-05, allocations: 5.266 kB / 0.6196 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001385/0.001403, allocations: 0.6799 MB / 0.6203 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002487, allocations: 1.291 MB / 0.6215 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.002539, allocations: 0 / 0.6215 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.002564, allocations: 3.938 kB / 0.6215 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.002628, allocations: 23.84 kB / 0.6216 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.003183, allocations: 303.2 kB / 0.6218 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.003395, allocations: 259.6 kB / 0.6221 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.003487, allocations: 16.17 kB / 0.6221 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.003608, allocations: 135.8 kB / 0.6222 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.003706, allocations: 79.8 kB / 0.6223 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.003735, allocations: 24 kB / 0.6223 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.003794, allocations: 39.92 kB / 0.6224 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001304/0.003925, allocations: 230.7 kB / 0.6226 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.386e-05/0.003949, allocations: 67.16 kB / 0.6227 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.003983, allocations: 16 kB / 0.6227 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.226e-05/0.003995, allocations: 7.938 kB / 0.6227 GB, free: 9.844 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0005907/0.004586, allocations: 0.7341 MB / 0.6234 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 6.194e-05/0.004648, allocations: 60.02 kB / 0.6235 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0003128/0.004961, allocations: 0.496 MB / 0.6239 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.0001556/0.005116, allocations: 204.2 kB / 0.6241 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0005065/0.005623, allocations: 464.6 kB / 0.6246 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 0.0001325/0.005755, allocations: 196.2 kB / 0.6248 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 0.0001072/0.005862, allocations: 196.2 kB / 0.625 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0002695/0.006132, allocations: 349.2 kB / 0.6253 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 8.991e-05/0.006222, allocations: 59.72 kB / 0.6253 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001254/0.006347, allocations: 128.4 kB / 0.6255 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001622/0.00651, allocations: 144.3 kB / 0.6256 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002718/0.006781, allocations: 0.4995 MB / 0.6261 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0003122/0.007094, allocations: 376.2 kB / 0.6264 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0005206/0.007614, allocations: 0.5191 MB / 0.627 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.425e-05/0.007628, allocations: 16.11 kB / 0.627 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 0.0001076/0.007736, allocations: 175.8 kB / 0.6271 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002805/0.008017, allocations: 284.9 kB / 0.6274 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 9.237e-06/0.008026, allocations: 8 kB / 0.6274 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 1.774e-06/0.008028, allocations: 4 kB / 0.6274 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.395e-05/0.008041, allocations: 8.125 kB / 0.6274 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.416e-06/0.008045, allocations: 3.938 kB / 0.6274 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 3.717e-06/0.008049, allocations: 12 kB / 0.6274 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 7.274e-06/0.008056, allocations: 3.938 kB / 0.6274 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 6.817e-05/0.008124, allocations: 55.95 kB / 0.6275 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 6.502e-06/0.008131, allocations: 0 / 0.6275 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.91e-07/0.008131, allocations: 4 kB / 0.6275 GB, free: 4.398 MB / 0.5886 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 3.974e-05/0.008171, allocations: 25.19 kB / 0.6275 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of SimCode: time 0.000494/0.008665, allocations: 392.4 kB / 0.6279 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of Templates: time 0.003242/0.01191, allocations: 2.282 MB / 0.6301 GB, free: 1.75 MB / 0.5886 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: 3.2944807149469852] Failed to read output from testmodel.py, exit status != 0: 0.015606680884957314 0.02380626599999994 0.018371007 Calling exit ...